├── .gitignore ├── .ansible-lint ├── templates └── commands.j2 ├── requirements.txt ├── samples_hash ├── csr2_20230811T074823 │ ├── show_license_all.txt │ ├── md5_hashes.txt │ ├── show_inventory.txt │ ├── show_version.txt │ └── show_running-config.txt ├── README.md ├── csr1_20230811T074823 │ ├── md5_hashes.txt │ ├── show_inventory.txt │ ├── show_license_all.txt │ ├── show_version.txt │ └── show_running-config.txt ├── xrv1_20230811T074823 │ ├── md5_hashes.txt │ ├── show_version.txt │ ├── show_inventory.txt │ ├── show_license_all.txt │ └── show_running-config.txt ├── n9k1_20230811T074823 │ ├── md5_hashes.txt │ ├── show_inventory.txt │ ├── show_version.txt │ ├── show_license_usage.txt │ ├── show_install_active.txt │ └── show_running-config.txt └── runlog.txt ├── samples_nohash ├── chr1_20210629T142431 │ ├── system_license_print.txt │ ├── export.txt │ └── system_resource_print.txt ├── vmx1_20210629T142431 │ ├── show_system_license.txt │ ├── show_system_errors_count.txt │ ├── show_configuration.txt │ └── show_interfaces_brief.txt ├── asav1_20210629T142431 │ ├── show_inventory.txt │ ├── show_version.txt │ └── show_running-config.txt ├── f5lb1_20210629T142431 │ ├── show_auth_user.txt │ ├── show_sys_version.txt │ ├── show_net_self.txt │ └── show_running-config_sys.txt ├── xrv1_20210629T142431 │ ├── show_license_all.txt │ ├── show_version.txt │ ├── show_inventory.txt │ └── show_running-config.txt ├── veos1_20210629T142431 │ ├── show_license_all.txt │ ├── show_version.txt │ ├── show_inventory.txt │ └── show_running-config.txt ├── README.md ├── csr1_20210629T142431 │ ├── show_inventory.txt │ ├── show_license_all.txt │ ├── show_version.txt │ └── show_running-config.txt ├── csr2_20210629T142431 │ ├── show_inventory.txt │ ├── show_license_all.txt │ ├── show_version.txt │ └── show_running-config.txt └── n9kv1_20210629T142431 │ ├── show_inventory.txt │ ├── show_version.txt │ ├── show_license_usage.txt │ └── show_install_active.txt ├── group_vars ├── cisco_asa.yml ├── cisco_nxos.yml ├── arista_eos.yml ├── cisco_ios.yml ├── cisco_iosxr.yml ├── mikrotik_routeros.yml ├── juniper_junos.yml ├── cisco_aireos.yml ├── f5_bigip.yml └── all.yml ├── tasks ├── asa.yml ├── eos.yml ├── ios.yml ├── nxos.yml ├── iosxr.yml ├── junos.yml ├── routeros.yml ├── bigip.yml ├── aireos.yml ├── ci_test.yml ├── outputs.yml └── pre_check.yml ├── CONTRIBUTING.md ├── requirements.yml ├── ansible.cfg ├── tests └── test_playbook.yml ├── hosts.yml ├── .travis.yml ├── LICENSE ├── racc_playbook.yml └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | files/* 2 | archives/* 3 | -------------------------------------------------------------------------------- /.ansible-lint: -------------------------------------------------------------------------------- 1 | var_naming_pattern: "^[A-Za-z_]*$" 2 | -------------------------------------------------------------------------------- /templates/commands.j2: -------------------------------------------------------------------------------- 1 | {% for line in item.1 -%} 2 | {{ line }} 3 | {% endfor %} 4 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | ansible-core==2.11.12 2 | ansible-pylibssh 3 | ansible-lint 4 | yamllint 5 | -------------------------------------------------------------------------------- /samples_hash/csr2_20230811T074823/show_license_all.txt: -------------------------------------------------------------------------------- 1 | License Store: Primary License Storage 2 | -------------------------------------------------------------------------------- /samples_nohash/chr1_20210629T142431/system_license_print.txt: -------------------------------------------------------------------------------- 1 | system-id: I7mRhez4oLK 2 | level: free 3 | -------------------------------------------------------------------------------- /samples_nohash/vmx1_20210629T142431/show_system_license.txt: -------------------------------------------------------------------------------- 1 | License usage: none 2 | 3 | Licenses installed: none 4 | -------------------------------------------------------------------------------- /samples_nohash/asav1_20210629T142431/show_inventory.txt: -------------------------------------------------------------------------------- 1 | Name: "Chassis", DESCR: "ASAv Adaptive Security Virtual Appliance" 2 | PID: ASAv , VID: V01 , SN: 9ADFVKDKV8Q 3 | -------------------------------------------------------------------------------- /group_vars/cisco_asa.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Tip: default ASAv username is 'admin' on AWS 3 | ansible_network_os: "asa" 4 | command_list: 5 | - "show running-config" 6 | - "show inventory" 7 | - "show version" 8 | ... 9 | -------------------------------------------------------------------------------- /samples_nohash/f5lb1_20210629T142431/show_auth_user.txt: -------------------------------------------------------------------------------- 1 | ------------------------------------ 2 | Roles Available for Auth::User admin 3 | Role Partition 4 | ------------------------------------ 5 | admin [All] 6 | -------------------------------------------------------------------------------- /group_vars/cisco_nxos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | ansible_network_os: "nxos" 3 | command_list: 4 | - "show running-config" 5 | - "show inventory" 6 | - "show license usage" 7 | - "show version" 8 | - "show install active" 9 | ... 10 | -------------------------------------------------------------------------------- /samples_nohash/xrv1_20210629T142431/show_license_all.txt: -------------------------------------------------------------------------------- 1 | Smart Licensing Status 2 | ====================== 3 | 4 | Smart Licensing is DISABLED 5 | 6 | Agent Version 7 | ============= 8 | Smart Agent for Licensing: 2.2.0_rel/30 9 | -------------------------------------------------------------------------------- /tasks/asa.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Log in and run the commands specified in the group_vars/ files. 3 | - name: "ASA >> Gather Cisco ASA information" 4 | cisco.asa.asa_command: 5 | commands: "{{ command_list }}" 6 | register: "CLI_OUTPUT" 7 | ... 8 | -------------------------------------------------------------------------------- /tasks/eos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Log in and run the commands specified in the group_vars/ files. 3 | - name: "EOS >> Gather Arista EOS information" 4 | arista.eos.eos_command: 5 | commands: "{{ command_list }}" 6 | register: "CLI_OUTPUT" 7 | ... 8 | -------------------------------------------------------------------------------- /tasks/ios.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Log in and run the commands specified in the group_vars/ files. 3 | - name: "IOS >> Gather Cisco IOS/IOS-XE information" 4 | cisco.ios.ios_command: 5 | commands: "{{ command_list }}" 6 | register: "CLI_OUTPUT" 7 | ... 8 | -------------------------------------------------------------------------------- /tasks/nxos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Log in and run the commands specified in the group_vars/ files. 3 | - name: "NXOS >> Gather Cisco NXOS information" 4 | cisco.nxos.nxos_command: 5 | commands: "{{ command_list }}" 6 | register: "CLI_OUTPUT" 7 | ... 8 | -------------------------------------------------------------------------------- /group_vars/arista_eos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Tip: default vEOS username is 'ec2-user' on AWS 3 | ansible_network_os: "eos" 4 | command_list: 5 | - "show running-config" 6 | - "show inventory" 7 | - "show license all" 8 | - "show version" 9 | ... 10 | -------------------------------------------------------------------------------- /samples_nohash/f5lb1_20210629T142431/show_sys_version.txt: -------------------------------------------------------------------------------- 1 | Sys::Version 2 | Main Package 3 | Product BIG-IP 4 | Version 16.0.1.1 5 | Build 0.0.6 6 | Edition Point Release 1 7 | Date Fri Jan 29 01:37:28 PST 2021 8 | -------------------------------------------------------------------------------- /tasks/iosxr.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Log in and run the commands specified in the group_vars/ files. 3 | - name: "IOSXR >> Gather Cisco IOS-XR information" 4 | cisco.iosxr.iosxr_command: 5 | commands: "{{ command_list }}" 6 | register: "CLI_OUTPUT" 7 | ... 8 | -------------------------------------------------------------------------------- /group_vars/cisco_ios.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Tip: default CSR1000v username is 'ec2-user' on AWS 3 | ansible_network_os: "ios" 4 | command_list: 5 | - "show running-config" 6 | - "show inventory" 7 | - "show license all" 8 | - "show version" 9 | ... 10 | -------------------------------------------------------------------------------- /group_vars/cisco_iosxr.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Tip: default XRv9000 username is 'root' on AWS 3 | ansible_network_os: "iosxr" 4 | command_list: 5 | - "show running-config" 6 | - "show inventory" 7 | - "show license all" 8 | - "show version" 9 | ... 10 | -------------------------------------------------------------------------------- /group_vars/mikrotik_routeros.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Tip: default CHR username is 'admin' on AWS 3 | ansible_network_os: "routeros" 4 | command_list: 5 | - "/system resource print" 6 | - "/system license print" 7 | - "export" # displays configuration 8 | ... 9 | -------------------------------------------------------------------------------- /samples_nohash/veos1_20210629T142431/show_license_all.txt: -------------------------------------------------------------------------------- 1 | Customer name: 2 | System Serial number: C00DD531095F9C2B46268776D213D37B 3 | System MAC address: 129c.a790.fa10 4 | Domain name: Unknown 5 | Platform: vEOS-AWS 6 | -------------------------------------------------------------------------------- /tasks/junos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Log in and run the commands specified in the group_vars/ files. 3 | - name: "JUNOS >> Gather Juniper JUNOS information" 4 | junipernetworks.junos.junos_command: 5 | commands: "{{ command_list }}" 6 | register: "CLI_OUTPUT" 7 | ... 8 | -------------------------------------------------------------------------------- /tasks/routeros.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Log in and run the commands specified in the group_vars/ files. 3 | - name: "ROUTEROS >> Gather Mikrotik RouterOS information" 4 | community.routeros.command: 5 | commands: "{{ command_list }}" 6 | register: "CLI_OUTPUT" 7 | ... 8 | -------------------------------------------------------------------------------- /group_vars/juniper_junos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Tip: default vMX username is 'jnpr' on AWS 3 | ansible_network_os: "junos" 4 | command_list: 5 | - "show configuration" 6 | - "show system license" 7 | - "show interfaces brief" 8 | - "show system errors count" 9 | ... 10 | -------------------------------------------------------------------------------- /tasks/bigip.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Log in and run the commands specified in the group_vars/ files. 3 | - name: "BIGIP >> Gather F5 BIGIP information" 4 | f5networks.f5_modules.bigip_command: 5 | provider: "{{ provider }}" 6 | commands: "{{ command_list }}" 7 | register: "CLI_OUTPUT" 8 | ... 9 | -------------------------------------------------------------------------------- /tasks/aireos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Log in and run the commands specified in the group_vars/ files. 3 | - name: "AIREOS >> Gather Cisco AireOS information" 4 | community.network.aireos_command: 5 | provider: "{{ provider }}" 6 | commands: "{{ command_list }}" 7 | register: "CLI_OUTPUT" 8 | ... 9 | -------------------------------------------------------------------------------- /samples_nohash/vmx1_20210629T142431/show_system_errors_count.txt: -------------------------------------------------------------------------------- 1 | Level Occurred Cleared Action-Taken 2 | ------------------------------------------- 3 | Minor 0 0 0 4 | Major 0 0 0 5 | Fatal 0 0 0 6 | -------------------------------------------------------------------------------- /tasks/ci_test.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "SYS >> Mock the CLI_OUTPUT to reflect command_list" 3 | ansible.builtin.set_fact: 4 | CLI_OUTPUT: 5 | stdout_lines: "{{ command_list }}" 6 | 7 | - name: "DEBUG >> Print CLI_OUTPUT for verification" 8 | ansible.builtin.debug: 9 | var: "CLI_OUTPUT" 10 | ... 11 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- 1 | # Contributing 2 | 3 | Direct contributions from external parties are generally not accepted unless 4 | discussed beforehand with the author. Instead, we request that you open a new 5 | issue and describe the bug or feature enhancement. Feel free to include any 6 | recommendations when creating the issue. 7 | -------------------------------------------------------------------------------- /samples_nohash/README.md: -------------------------------------------------------------------------------- 1 | # Sample CLI outputs without hashes 2 | This folder contains a sample output folders which would typically be 3 | contained with an archive after running the `racc` playbook. Each host 4 | has a corresponding folder with date/time stamp containing output files 5 | relevant to a specific playbook run. 6 | -------------------------------------------------------------------------------- /requirements.yml: -------------------------------------------------------------------------------- 1 | --- 2 | collections: 3 | - "cisco.ios" 4 | - "cisco.iosxr" 5 | - "cisco.asa" 6 | - "cisco.nxos" 7 | - "arista.eos" 8 | - "junipernetworks.junos" 9 | - "f5networks.f5_modules" 10 | - "community.routeros" # Mikrotik RouterOS 11 | - "community.network" # Cisco AireOS 12 | - "community.general" # archive module 13 | ... 14 | -------------------------------------------------------------------------------- /samples_hash/README.md: -------------------------------------------------------------------------------- 1 | # Sample CLI outputs with hashes 2 | This folder contains a sample output folders which would typically be 3 | contained with an archive after running the `racc` playbook. Each host 4 | has a corresponding folder with date/time stamp containing output files 5 | relevant to a specific playbook run. It also contains the optional 6 | hash file on a per-device basis. 7 | -------------------------------------------------------------------------------- /samples_hash/csr1_20230811T074823/md5_hashes.txt: -------------------------------------------------------------------------------- 1 | 764c8f490b9038afe5a618854bb21852,files/csr1_20230811T074823/show_running-config.txt 2 | fcd7bfac12290c1d7bd94bc195504d37,files/csr1_20230811T074823/show_inventory.txt 3 | d3eaa829011e49cf04603ee926208a17,files/csr1_20230811T074823/show_license_all.txt 4 | 705640cd7519ce509b373f3243c45688,files/csr1_20230811T074823/show_version.txt 5 | -------------------------------------------------------------------------------- /samples_hash/csr2_20230811T074823/md5_hashes.txt: -------------------------------------------------------------------------------- 1 | 6456a518459fa76e4f31b238476f688c,files/csr2_20230811T074823/show_running-config.txt 2 | 01f527e7c5d20ebfe1b0b84e4b2d2198,files/csr2_20230811T074823/show_inventory.txt 3 | 6b3a5e40ba7ba49fe23722b4cc81fa95,files/csr2_20230811T074823/show_license_all.txt 4 | 0657f9404508bc4a83ae0870c0754e8b,files/csr2_20230811T074823/show_version.txt 5 | -------------------------------------------------------------------------------- /samples_hash/xrv1_20230811T074823/md5_hashes.txt: -------------------------------------------------------------------------------- 1 | 8f6c43b07ff133e102ddbe75964f5302,files/xrv1_20230811T074823/show_running-config.txt 2 | b6fd7a1b001524998643584181a3d8a4,files/xrv1_20230811T074823/show_inventory.txt 3 | 21d5b618c9af642992d7975d7b835f60,files/xrv1_20230811T074823/show_license_all.txt 4 | 34295a53235633c729a33f0e444a07c1,files/xrv1_20230811T074823/show_version.txt 5 | -------------------------------------------------------------------------------- /ansible.cfg: -------------------------------------------------------------------------------- 1 | [defaults] 2 | gathering = explicit 3 | inventory = hosts.yml 4 | 5 | # Update if using ansible-vault and don't want to type password each time 6 | # Contents of this file is "brkrst3310" which is the vault password. 7 | # You can recreate the vault_pass_file.txt in your home directory 8 | # and add the string above to edit the existing vault. 9 | vault_password_file = ~/vault_pass_file.txt 10 | -------------------------------------------------------------------------------- /samples_hash/csr2_20230811T074823/show_inventory.txt: -------------------------------------------------------------------------------- 1 | NAME: "Chassis", DESCR: "Cisco CSR1000V Chassis" 2 | PID: CSR1000V , VID: V00 , SN: 926V75BDNRJ 3 | 4 | NAME: "module R0", DESCR: "Cisco CSR1000V Route Processor" 5 | PID: CSR1000V , VID: V00 , SN: JAB1303001C 6 | 7 | NAME: "module F0", DESCR: "Cisco CSR1000V Embedded Services Processor" 8 | PID: CSR1000V , VID: , SN: 9 | -------------------------------------------------------------------------------- /samples_nohash/csr1_20210629T142431/show_inventory.txt: -------------------------------------------------------------------------------- 1 | NAME: "Chassis", DESCR: "Cisco CSR1000V Chassis" 2 | PID: CSR1000V , VID: V00 , SN: 92ASWZPKBOY 3 | 4 | NAME: "module R0", DESCR: "Cisco CSR1000V Route Processor" 5 | PID: CSR1000V , VID: V00 , SN: JAB1303001C 6 | 7 | NAME: "module F0", DESCR: "Cisco CSR1000V Embedded Services Processor" 8 | PID: CSR1000V , VID: , SN: 9 | -------------------------------------------------------------------------------- /samples_nohash/csr2_20210629T142431/show_inventory.txt: -------------------------------------------------------------------------------- 1 | NAME: "Chassis", DESCR: "Cisco CSR1000V Chassis" 2 | PID: CSR1000V , VID: V00 , SN: 9Z572SUEARL 3 | 4 | NAME: "module R0", DESCR: "Cisco CSR1000V Route Processor" 5 | PID: CSR1000V , VID: V00 , SN: JAB1303001C 6 | 7 | NAME: "module F0", DESCR: "Cisco CSR1000V Embedded Services Processor" 8 | PID: CSR1000V , VID: , SN: 9 | -------------------------------------------------------------------------------- /group_vars/cisco_aireos.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # aireos_command does not support network_cli 3 | ansible_network_os: "aireos" 4 | ansible_connection: "local" 5 | provider: 6 | host: "{{ inventory_hostname }}" 7 | username: "{{ ansible_user }}" 8 | password: "{{ ansible_password }}" 9 | 10 | command_list: 11 | - "show wlan summary" 12 | - "show inventory" 13 | - "show license all" 14 | - "show boot" 15 | ... 16 | -------------------------------------------------------------------------------- /samples_hash/csr1_20230811T074823/show_inventory.txt: -------------------------------------------------------------------------------- 1 | NAME: "Chassis", DESCR: "Cisco Catalyst 8000V Edge Chassis" 2 | PID: C8000V , VID: V00 , SN: 9UWS2FADP45 3 | 4 | NAME: "module R0", DESCR: "Cisco Catalyst 8000V Edge Route Processor" 5 | PID: C8000V , VID: V00 , SN: JAB1303001C 6 | 7 | NAME: "module F0", DESCR: "Cisco Catalyst 8000V Edge Embedded Services Processor" 8 | PID: C8000V , VID: , SN: 9 | -------------------------------------------------------------------------------- /samples_hash/n9k1_20230811T074823/md5_hashes.txt: -------------------------------------------------------------------------------- 1 | bc1a4ab8adf643b84e4ae282be2d9670,files/n9k1_20230811T074823/show_running-config.txt 2 | 26e6fe86a695183c13849c40c9ddaae8,files/n9k1_20230811T074823/show_inventory.txt 3 | 7e9c32fd679c607c228cea2d52887fb6,files/n9k1_20230811T074823/show_license_usage.txt 4 | 08bc676fa0261a2e255dda3dc46cb8c8,files/n9k1_20230811T074823/show_version.txt 5 | 358c423e26688b2e5e8149c5addda3ea,files/n9k1_20230811T074823/show_install_active.txt 6 | -------------------------------------------------------------------------------- /samples_hash/n9k1_20230811T074823/show_inventory.txt: -------------------------------------------------------------------------------- 1 | NAME: "Chassis", DESCR: "Nexus9000 C9300v Chassis" 2 | PID: N9K-C9300v , VID: , SN: 9QXOX90PJ62 3 | 4 | NAME: "Slot 1", DESCR: "Nexus 9000v 64 port Ethernet Module" 5 | PID: N9K-X9364v , VID: , SN: 9ZOFUQ9AWGP 6 | 7 | NAME: "Slot 27", DESCR: "Supervisor Module" 8 | PID: N9K-vSUP , VID: , SN: 9N3KD63KWT0 9 | -------------------------------------------------------------------------------- /samples_nohash/n9kv1_20210629T142431/show_inventory.txt: -------------------------------------------------------------------------------- 1 | NAME: "Chassis", DESCR: "Nexus9000 C9300v Chassis" 2 | PID: N9K-C9300v , VID: , SN: 9QXOX90PJ62 3 | 4 | NAME: "Slot 1", DESCR: "Nexus 9000v 64 port Ethernet Module" 5 | PID: N9K-X9364v , VID: , SN: 9ZOFUQ9AWGP 6 | 7 | NAME: "Slot 27", DESCR: "Supervisor Module" 8 | PID: N9K-vSUP , VID: , SN: 9N3KD63KWT0 9 | -------------------------------------------------------------------------------- /samples_nohash/chr1_20210629T142431/export.txt: -------------------------------------------------------------------------------- 1 | # jun/29/2021 15:11:22 by RouterOS 6.44.3 2 | # software id = 3 | # 4 | # 5 | # 6 | /interface ethernet 7 | set [ find default-name=ether1 ] disable-running-check=no 8 | /interface wireless security-profiles 9 | set [ find default=yes ] supplicant-identity=MikroTik 10 | /ip dhcp-client 11 | add dhcp-options=hostname,clientid disabled=no interface=ether1 12 | /system identity 13 | set name=ip-172-31-90-6.ec2.internal 14 | -------------------------------------------------------------------------------- /tests/test_playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Simple wrapper to call the main playbook with 'ci_test' set to true. 3 | # Because this particular playbook does not require dedicated test 4 | # playbook due to its simplicity, its easier just to invoke the main 5 | # one. This is also consistent and allows for future growth rather 6 | # than using '-e' from the CI build specifications. 7 | - import_playbook: "../racc_playbook.yml" 8 | vars: 9 | ci_test: true 10 | ansible_connection: "local" 11 | ... 12 | -------------------------------------------------------------------------------- /group_vars/f5_bigip.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # Tip: default BIGIP VE username is 'admin' on AWS 3 | # bigip_command does not support network_cli 4 | ansible_network_os: "bigip" 5 | ansible_connection: "local" 6 | provider: 7 | server: "{{ inventory_hostname }}" 8 | user: "{{ ansible_user }}" 9 | ssh_keyfile: "/path/to/privatekey.pem" 10 | transport: "cli" 11 | 12 | command_list: 13 | - "show sys version" 14 | - "show auth user" 15 | - "show net self" 16 | - "show running-config sys" 17 | ... 18 | -------------------------------------------------------------------------------- /samples_nohash/xrv1_20210629T142431/show_version.txt: -------------------------------------------------------------------------------- 1 | Cisco IOS XR Software, Version 6.3.1 2 | Copyright (c) 2013-2017 by Cisco Systems, Inc. 3 | 4 | Build Information: 5 | Built By : ahoang 6 | Built On : Wed Sep 13 18:30:01 PDT 2017 7 | Build Host : iox-ucs-028 8 | Workspace : /auto/srcarchive11/production/6.3.1/xrv9k/workspace 9 | Version : 6.3.1 10 | Location : /opt/cisco/XR/packages/ 11 | 12 | cisco IOS-XRv 9000 () processor 13 | System uptime is 19 minutes 14 | -------------------------------------------------------------------------------- /samples_nohash/xrv1_20210629T142431/show_inventory.txt: -------------------------------------------------------------------------------- 1 | NAME: "0/0", DESCR: "Cisco XRv9K Centralized Line Card" 2 | PID: R-IOSXRV9000-LC-C , VID: V01, SN: 5E1AA3761EC 3 | 4 | NAME: "0/0/0", DESCR: "N/A" 5 | PID: SFP-10G-NIC-X , VID: N/A, SN: N/A 6 | 7 | NAME: "0/RP0", DESCR: "Cisco XRv9K Centralized Route Processor" 8 | PID: R-IOSXRV9000-RP-C , VID: V01, SN: 92767DD3A07 9 | 10 | NAME: "Rack 0", DESCR: "Cisco XRv9K Centralized Virtual Router" 11 | PID: R-IOSXRV9000-CC , VID: V01, SN: A8389029DC9 12 | -------------------------------------------------------------------------------- /samples_hash/xrv1_20230811T074823/show_version.txt: -------------------------------------------------------------------------------- 1 | Cisco IOS XR Software, Version 7.3.2 2 | Copyright (c) 2013-2021 by Cisco Systems, Inc. 3 | 4 | Build Information: 5 | Built By : ingunawa 6 | Built On : Wed Oct 13 20:00:36 PDT 2021 7 | Built Host : iox-ucs-017 8 | Workspace : /auto/srcarchive17/prod/7.3.2/xrv9k/ws 9 | Version : 7.3.2 10 | Location : /opt/cisco/XR/packages/ 11 | Label : 7.3.2-0 12 | 13 | cisco IOS-XRv 9000 () processor 14 | System uptime is 1 day 54 minutes 15 | -------------------------------------------------------------------------------- /hosts.yml: -------------------------------------------------------------------------------- 1 | --- 2 | all: 3 | children: 4 | cisco_ios: 5 | hosts: 6 | csr1: 7 | csr2: 8 | cisco_asa: 9 | hosts: 10 | asav1: 11 | cisco_nxos: 12 | hosts: 13 | n9kv1: 14 | cisco_iosxr: 15 | hosts: 16 | xrv1: 17 | juniper_junos: 18 | hosts: 19 | vmx1: 20 | arista_eos: 21 | hosts: 22 | veos1: 23 | mikrotik_routeros: 24 | hosts: 25 | chr1: 26 | f5_bigip: 27 | hosts: 28 | f5lb1: 29 | ... 30 | -------------------------------------------------------------------------------- /samples_nohash/veos1_20210629T142431/show_version.txt: -------------------------------------------------------------------------------- 1 | Arista vEOS 2 | Hardware version: 3 | Serial number: C00DD531095F9C2B46268776D213D37B 4 | System MAC address: 129c.a790.fa10 5 | 6 | Software image version: 4.22.1FX-VEOSRouter-cloud 7 | Architecture: x86_64 8 | Internal build version: 4.22.1FX-VEOSRouter-cloud-13386208.4221FXVEOSRouter 9 | Internal build ID: ae3e70d0-b023-43cb-a551-2d7bed0dd4c1 10 | 11 | Uptime: 0 weeks, 0 days, 0 hours and 9 minutes 12 | Total memory: 7604320 kB 13 | Free memory: 6298664 kB 14 | -------------------------------------------------------------------------------- /samples_nohash/veos1_20210629T142431/show_inventory.txt: -------------------------------------------------------------------------------- 1 | System information 2 | Model Description 3 | ------------------------ ---------------------------------------------------- 4 | vEOS EOS in a virtual machine 5 | 6 | HW Version Serial Number Mfg Date Epoch 7 | ----------- -------------------------------- ---------- ----- 8 | C00DD531095F9C2B46268776D213D37B 9 | 10 | System has 1 port 11 | Type Count 12 | ------------------ ---- 13 | SwitchedBootstrap 1 14 | -------------------------------------------------------------------------------- /samples_nohash/chr1_20210629T142431/system_resource_print.txt: -------------------------------------------------------------------------------- 1 | uptime: 26m28s 2 | version: 6.44.3 (stable) 3 | build-time: Apr/23/2019 12:37:03 4 | free-memory: 946.7MiB 5 | total-memory: 992.0MiB 6 | cpu: Intel(R) 7 | cpu-count: 1 8 | cpu-frequency: 2394MHz 9 | cpu-load: 0% 10 | free-hdd-space: 988.0MiB 11 | total-hdd-space: 1020.1MiB 12 | write-sect-since-reboot: 12648 13 | write-sect-total: 12649 14 | architecture-name: x86_64 15 | board-name: CHR 16 | platform: MikroTik 17 | -------------------------------------------------------------------------------- /samples_nohash/xrv1_20210629T142431/show_running-config.txt: -------------------------------------------------------------------------------- 1 | Building configuration... 2 | !! IOS XR Configuration version = 6.3.1 3 | !! Last configuration change at Sun Jun 3 11:00:23 2018 by root 4 | ! 5 | hostname XRV1 6 | username root 7 | group root-lr 8 | group cisco-support 9 | ! 10 | username ******** 11 | group root-lr 12 | group cisco-support 13 | password 7 12180B041B090001 14 | ! 15 | interface Loopback0 16 | ipv4 address 10.0.0.3 255.255.255.255 17 | ! 18 | interface TenGigE0/0/0/0 19 | ipv4 address 10.125.0.63 255.255.255.0 20 | ! 21 | router static 22 | address-family ipv4 unicast 23 | 0.0.0.0/0 10.125.0.1 24 | ! 25 | ! 26 | ssh server v2 27 | ssh server vrf default 28 | end 29 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | --- 2 | language: "python" 3 | python: 4 | - "3.7" 5 | 6 | # Install python packages for Ansible and associated collections. 7 | install: 8 | - "pip install -r requirements.txt" 9 | - "ansible-galaxy collection install -r requirements.yml" 10 | 11 | # Execute linting tests before running the main playbook. 12 | # If any of these tasks fail, the entire build fails immediately. 13 | before_script: 14 | - "echo 'brkrst3310' >> ~/vault_pass_file.txt" 15 | - "find . -name '*.yml' | xargs yamllint -s" 16 | - "find . -name '*playbook.yml' | xargs ansible-lint -v" 17 | 18 | # Run the role playbook with mock inputs to validate the role functionality. 19 | script: 20 | - "ansible-playbook tests/test_playbook.yml" 21 | ... 22 | -------------------------------------------------------------------------------- /samples_nohash/f5lb1_20210629T142431/show_net_self.txt: -------------------------------------------------------------------------------- 1 | ----------------------- 2 | Net::Self IP: self_1nic 3 | ----------------------- 4 | 5 | --------------------------------------- 6 | | Net::Vlan: internal 7 | --------------------------------------- 8 | | Interface Name internal 9 | | Mac Address (True) 0e:81:84:bb:76:79 10 | | MTU 9001 11 | | Tag 4094 12 | | Customer-Tag 13 | 14 | ----------------------- 15 | | Net::Vlan-Member: 1.0 16 | ----------------------- 17 | | Tagged no 18 | | Tag-Mode none 19 | 20 | ---------------------------------------------------------------- 21 | | Net::Interface 22 | | Name Status Bits Bits Pkts Pkts Drops Errs Media 23 | | In Out In Out 24 | ---------------------------------------------------------------- 25 | | 1.0 up 1.7M 193.0K 1.5K 405 0 0 10000T-FD 26 | -------------------------------------------------------------------------------- /samples_hash/xrv1_20230811T074823/show_inventory.txt: -------------------------------------------------------------------------------- 1 | NAME: "0/0", DESCR: "Cisco IOS-XRv 9000 Centralized Line Card" 2 | PID: R-IOSXRV9000-LC-C , VID: V01, SN: 86E4A261046 3 | 4 | NAME: "0/0/0", DESCR: "N/A" 5 | PID: PORT-1G-NIC , VID: N/A, SN: N/A 6 | 7 | NAME: "0/0/1", DESCR: "N/A" 8 | PID: PORT-1G-NIC , VID: N/A, SN: N/A 9 | 10 | NAME: "0/0/2", DESCR: "N/A" 11 | PID: PORT-1G-NIC , VID: N/A, SN: N/A 12 | 13 | NAME: "0/0/3", DESCR: "N/A" 14 | PID: PORT-1G-NIC , VID: N/A, SN: N/A 15 | 16 | NAME: "0/0/4", DESCR: "N/A" 17 | PID: PORT-1G-NIC , VID: N/A, SN: N/A 18 | 19 | NAME: "0/0/5", DESCR: "N/A" 20 | PID: PORT-1G-NIC , VID: N/A, SN: N/A 21 | 22 | NAME: "0/0/6", DESCR: "N/A" 23 | PID: PORT-1G-NIC , VID: N/A, SN: N/A 24 | 25 | NAME: "0/RP0", DESCR: "Cisco IOS-XRv 9000 Centralized Route Processor" 26 | PID: R-IOSXRV9000-RP-C , VID: V01, SN: F2E02123A63 27 | 28 | NAME: "Rack 0", DESCR: "Cisco IOS-XRv 9000 Centralized Virtual Router" 29 | PID: R-IOSXRV9000-CC , VID: V01, SN: B550ED1D0D9 30 | -------------------------------------------------------------------------------- /samples_nohash/csr1_20210629T142431/show_license_all.txt: -------------------------------------------------------------------------------- 1 | Smart Licensing Status 2 | ====================== 3 | 4 | Smart Licensing is ENABLED 5 | 6 | Registration: 7 | Status: UNREGISTERED 8 | Export-Controlled Functionality: NOT ALLOWED 9 | 10 | License Authorization: 11 | Status: No Licenses in Use 12 | 13 | Export Authorization Key: 14 | Features Authorized: 15 | 16 | 17 | Utility: 18 | Status: DISABLED 19 | 20 | Data Privacy: 21 | Sending Hostname: yes 22 | Callhome hostname privacy: DISABLED 23 | Smart Licensing hostname privacy: DISABLED 24 | Version privacy: DISABLED 25 | 26 | Transport: 27 | Type: Callhome 28 | 29 | Miscellaneous: 30 | Custom Id: 31 | 32 | License Usage 33 | ============= 34 | 35 | No licenses in use 36 | 37 | Product Information 38 | =================== 39 | UDI: PID:CSR1000V,SN:92ASWZPKBOY 40 | 41 | Agent Version 42 | ============= 43 | Smart Agent for Licensing: 5.0.6_rel/47 44 | 45 | Reservation Info 46 | ================ 47 | License reservation: DISABLED 48 | -------------------------------------------------------------------------------- /samples_nohash/csr2_20210629T142431/show_license_all.txt: -------------------------------------------------------------------------------- 1 | Smart Licensing Status 2 | ====================== 3 | 4 | Smart Licensing is ENABLED 5 | 6 | Registration: 7 | Status: UNREGISTERED 8 | Export-Controlled Functionality: NOT ALLOWED 9 | 10 | License Authorization: 11 | Status: No Licenses in Use 12 | 13 | Export Authorization Key: 14 | Features Authorized: 15 | 16 | 17 | Utility: 18 | Status: DISABLED 19 | 20 | Data Privacy: 21 | Sending Hostname: yes 22 | Callhome hostname privacy: DISABLED 23 | Smart Licensing hostname privacy: DISABLED 24 | Version privacy: DISABLED 25 | 26 | Transport: 27 | Type: Callhome 28 | 29 | Miscellaneous: 30 | Custom Id: 31 | 32 | License Usage 33 | ============= 34 | 35 | No licenses in use 36 | 37 | Product Information 38 | =================== 39 | UDI: PID:CSR1000V,SN:9Z572SUEARL 40 | 41 | Agent Version 42 | ============= 43 | Smart Agent for Licensing: 5.0.6_rel/47 44 | 45 | Reservation Info 46 | ================ 47 | License reservation: DISABLED 48 | -------------------------------------------------------------------------------- /group_vars/all.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # The default connectivity variables are below. This playbook assumes that all 3 | # network modules support the 'network_cli' connection method; those that do 4 | # not can use the legacy provider credentials below with 'local' connection. 5 | ansible_python_interpreter: "/usr/bin/env python" 6 | ansible_connection: "network_cli" 7 | ansible_user: "ansible" 8 | ansible_password: !vault | 9 | $ANSIBLE_VAULT;1.1;AES256 10 | 61643030323961626532333431333639303538313233656264343066383764396664626135633636 11 | 6464333366383938333063336636363234356535643839300a386430363562646232333732356436 12 | 31626464656530626335626332316362643337356533393139643261653563646462363935333639 13 | 3363663235623335370a383565653466623263623334373161623734303533383534373865643966 14 | 6566 15 | 16 | # These additional options seldom change once initially configured. 17 | ci_test: false 18 | hash_type: "md5" 19 | remove_files: true 20 | archive_format: "zip" 21 | newline_sequence: "\r\n" 22 | scp: 23 | user: "nick" 24 | host: "192.0.2.1" 25 | ... 26 | -------------------------------------------------------------------------------- /samples_hash/xrv1_20230811T074823/show_license_all.txt: -------------------------------------------------------------------------------- 1 | Smart Licensing Status 2 | ====================== 3 | 4 | Smart Licensing is ENABLED 5 | 6 | Registration: 7 | Status: UNREGISTERED 8 | Export-Controlled Functionality: NOT ALLOWED 9 | 10 | License Authorization: 11 | Status: EVAL MODE 12 | Evaluation Period Remaining: 85 days, 9 hours, 20 minutes, 34 seconds 13 | 14 | Export Authorization Key: 15 | Features Authorized: 16 | 17 | 18 | Utility: 19 | Status: DISABLED 20 | 21 | Data Privacy: 22 | Sending Hostname: yes 23 | Callhome hostname privacy: DISABLED 24 | Smart Licensing hostname privacy: DISABLED 25 | Version privacy: DISABLED 26 | 27 | Transport: 28 | Type: Callhome 29 | 30 | Miscellaneus: 31 | Custom Id: 32 | 33 | License Usage 34 | ============== 35 | 36 | (IOS-XRv-9000-vRouter-VM): 37 | Description: 38 | Count: 1 39 | Version: 1.0 40 | Status: EVAL MODE 41 | Export status: NOT RESTRICTED 42 | 43 | Product Information 44 | =================== 45 | UDI: PID:R-IOSXRV9000-IMG,SN:F2E02123A63,SUVI:R-IOSXRV9000-IMGF2E02123A63,UUID:423F7D80-E85A-5366-CADC-2DA216D618CA 46 | 47 | Agent Version 48 | ============= 49 | Smart Agent for Licensing: 4.13.32_rel/85 50 | 51 | Reservation Info 52 | ================ 53 | License reservation: DISABLED 54 | -------------------------------------------------------------------------------- /samples_nohash/veos1_20210629T142431/show_running-config.txt: -------------------------------------------------------------------------------- 1 | ! Command: show running-config 2 | ! device: VEOS1 (vEOS, EOS-4.22.1FX-VEOSRouter-cloud) 3 | ! 4 | ! boot system flash:vEOS-Router.swi 5 | ! 6 | agent KernelFib environment KERNELFIB_PROGRAM_ALL_ECMP='true' 7 | ! 8 | switchport default mode routed 9 | ! 10 | transceiver qsfp default-mode 4x10G 11 | ! 12 | hostname VEOS1 13 | ! 14 | spanning-tree mode mstp 15 | ! 16 | aaa authentication policy on-success log 17 | aaa authentication policy on-failure log 18 | aaa authorization exec default local 19 | ! 20 | no aaa root 21 | no username admin 22 | ! 23 | username ansible privilege 15 secret sha512 $6$9kuFiSbdckQaghvz$nZKXXI4WPqNE0TkDpZ14sAtITvRslAivxwlrjo89wXKJdJTUTfel7CZ3ZgYRHX/gWYcGCGNGWblLJPCMkjkr5. 24 | username ec2-user nopassword 25 | username ec2-user ssh-key ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCZA3vgz6brzr19URQXNAetG7OL6CHFurEnlzgbS768XNPdw2FhCUaCY85pnwfhdvCRulzeoXTUEQ4uuOJy8pyvE7QC5TIghCT08N7BQynTcahHZJJdOJHWZsxBl+yhSSPAw+FYaEL8cXbz8puC39yMiHgt8x74uQvdlcoo9i5PdDynU6QEn6Noc19WmrT+zu2B9McWVKEwpRa8ar0O/mRUZ4/VbCerF9QkQbR4fFTYcpOFZLP1iFRgMAFIbBd3tsOtMVtk6SOTp3/it/39Em7dN+/mMLyb8TzLZsAUQYxg3L3UvQUfJn9HpHKy5F2ZI2PP6y+c0EvofEdBQnaJYRQb nickrus-kp 26 | ! 27 | interface Ethernet1 28 | no switchport 29 | ip address dhcp 30 | dhcp client accept default-route 31 | ! 32 | ip routing 33 | ! 34 | end 35 | -------------------------------------------------------------------------------- /samples_hash/n9k1_20230811T074823/show_version.txt: -------------------------------------------------------------------------------- 1 | Cisco Nexus Operating System (NX-OS) Software 2 | TAC support: http://www.cisco.com/tac 3 | Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html 4 | Copyright (c) 2002-2019, Cisco Systems, Inc. All rights reserved. 5 | The copyrights to certain works contained herein are owned by 6 | other third parties and are used and distributed under license. 7 | Some parts of this software are covered under the GNU Public 8 | License. A copy of the license is available at 9 | http://www.gnu.org/licenses/gpl.html. 10 | 11 | Nexus 9000v is a demo version of the Nexus Operating System 12 | 13 | Software 14 | BIOS: version 15 | NXOS: version 9.3(3) 16 | BIOS compile time: 17 | NXOS image file is: bootflash:///nxos.9.3.3.bin 18 | NXOS compile time: 12/22/2019 2:00:00 [12/22/2019 14:00:37] 19 | 20 | 21 | Hardware 22 | cisco Nexus9000 C9300v Chassis 23 | Intel(R) Xeon(R) Gold 6148 CPU @ 2.40GHz with 16409028 kB of memory. 24 | Processor Board ID 9N3KD63KWT0 25 | 26 | Device name: sbx-ao 27 | bootflash: 4287040 kB 28 | Kernel uptime is 0 day(s), 0 hour(s), 47 minute(s), 57 second(s) 29 | 30 | Last reset 31 | Reason: Unknown 32 | System version: 33 | Service: 34 | 35 | plugin 36 | Core Plugin, Ethernet Plugin 37 | 38 | Active Package(s): 39 | mtx-openconfig-all-1.0.0.0-9.3.3.lib32_n9000 40 | -------------------------------------------------------------------------------- /samples_nohash/n9kv1_20210629T142431/show_version.txt: -------------------------------------------------------------------------------- 1 | Cisco Nexus Operating System (NX-OS) Software 2 | TAC support: http://www.cisco.com/tac 3 | Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html 4 | Copyright (c) 2002-2019, Cisco Systems, Inc. All rights reserved. 5 | The copyrights to certain works contained herein are owned by 6 | other third parties and are used and distributed under license. 7 | Some parts of this software are covered under the GNU Public 8 | License. A copy of the license is available at 9 | http://www.gnu.org/licenses/gpl.html. 10 | 11 | Nexus 9000v is a demo version of the Nexus Operating System 12 | 13 | Software 14 | BIOS: version 15 | NXOS: version 9.3(3) 16 | BIOS compile time: 17 | NXOS image file is: bootflash:///nxos.9.3.3.bin 18 | NXOS compile time: 12/22/2019 2:00:00 [12/22/2019 14:00:37] 19 | 20 | 21 | Hardware 22 | cisco Nexus9000 C9300v Chassis 23 | Intel(R) Xeon(R) CPU E5-4669 v4 @ 2.20GHz with 16409068 kB of memory. 24 | Processor Board ID 9N3KD63KWT0 25 | 26 | Device name: sbx-n9kv-ao 27 | bootflash: 4287040 kB 28 | Kernel uptime is 0 day(s), 23 hour(s), 22 minute(s), 7 second(s) 29 | 30 | Last reset 31 | Reason: Unknown 32 | System version: 33 | Service: 34 | 35 | plugin 36 | Core Plugin, Ethernet Plugin 37 | 38 | Active Package(s): 39 | mtx-openconfig-all-1.0.0.0-9.3.3.lib32_n9000 40 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | BSD 3-Clause License 2 | 3 | Copyright (c) 2018 Cisco Systems, Inc. and/or its affiliates 4 | All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without 7 | modification, are permitted provided that the following conditions are met: 8 | 9 | * Redistributions of source code must retain the above copyright notice, this 10 | list of conditions and the following disclaimer. 11 | 12 | * Redistributions in binary form must reproduce the above copyright notice, 13 | this list of conditions and the following disclaimer in the documentation 14 | and/or other materials provided with the distribution. 15 | 16 | * Neither the name of the copyright holder nor the names of its 17 | contributors may be used to endorse or promote products derived from 18 | this software without specific prior written permission. 19 | 20 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" 21 | AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22 | IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 23 | DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE 24 | FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25 | DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 26 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 27 | CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, 28 | OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 29 | OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30 | -------------------------------------------------------------------------------- /samples_hash/n9k1_20230811T074823/show_license_usage.txt: -------------------------------------------------------------------------------- 1 | Feature Ins Lic Status Expiry Date Comments 2 | Count 3 | -------------------------------------------------------------------------------- 4 | N9K_LIC_1G No - Unused - 5 | VPN_FABRIC No - Unused - 6 | NXOS_OE_PKG No - Unused - 7 | FCOE_NPV_PKG No - Unused - 8 | SECURITY_PKG No 0 Unused - 9 | ACI-PREMIER-GF No - Unused - 10 | N9K_UPG_EX_10G No - Unused - 11 | TP_SERVICES_PKG No - Unused - 12 | NXOS_ADVANTAGE_GF No - Unused - 13 | NXOS_ADVANTAGE_M4 No - Unused - 14 | NXOS_ADVANTAGE_XF No - Unused - 15 | NXOS_ESSENTIALS_GF No - Unused - 16 | NXOS_ESSENTIALS_M4 No - Unused - 17 | NXOS_ESSENTIALS_XF No - Unused - 18 | NXOS_ESSENTIALS_XM No - Unused - 19 | SAN_ENTERPRISE_PKG No - Unused - 20 | PORT_ACTIVATION_PKG No 0 Unused - 21 | NETWORK_SERVICES_PKG No - Unused - 22 | NXOS_ADVANTAGE_M8-16 No - Unused - 23 | NXOS_ESSENTIALS_M8-16 No - Unused - 24 | FC_PORT_ACTIVATION_PKG No 0 Unused - 25 | LAN_ENTERPRISE_SERVICES_PKG No - In use Honor Start 46M 8S 26 | -------------------------------------------------------------------------------- 27 | -------------------------------------------------------------------------------- /samples_nohash/n9kv1_20210629T142431/show_license_usage.txt: -------------------------------------------------------------------------------- 1 | Feature Ins Lic Status Expiry Date Comments 2 | Count 3 | -------------------------------------------------------------------------------- 4 | N9K_LIC_1G No - Unused - 5 | VPN_FABRIC No - Unused - 6 | NXOS_OE_PKG No - Unused - 7 | FCOE_NPV_PKG No - Unused - 8 | SECURITY_PKG No 0 Unused - 9 | ACI-PREMIER-GF No - Unused - 10 | N9K_UPG_EX_10G No - Unused - 11 | TP_SERVICES_PKG No - Unused - 12 | NXOS_ADVANTAGE_GF No - Unused - 13 | NXOS_ADVANTAGE_M4 No - Unused - 14 | NXOS_ADVANTAGE_XF No - Unused - 15 | NXOS_ESSENTIALS_GF No - Unused - 16 | NXOS_ESSENTIALS_M4 No - Unused - 17 | NXOS_ESSENTIALS_XF No - Unused - 18 | NXOS_ESSENTIALS_XM No - Unused - 19 | SAN_ENTERPRISE_PKG No - Unused - 20 | PORT_ACTIVATION_PKG No 0 Unused - 21 | NETWORK_SERVICES_PKG No - Unused - 22 | NXOS_ADVANTAGE_M8-16 No - Unused - 23 | NXOS_ESSENTIALS_M8-16 No - Unused - 24 | FC_PORT_ACTIVATION_PKG No 0 Unused - 25 | LAN_ENTERPRISE_SERVICES_PKG No - In use Honor Start 23H 23M 26 | -------------------------------------------------------------------------------- 27 | -------------------------------------------------------------------------------- /tasks/outputs.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # With the directory created, use the 'commands' template to write the 3 | # command output to disk within the specified folder with read-only access. 4 | # This block is delegated to localhost as it is locally processed. 5 | - name: "BLOCK >> Perform local output functions" 6 | block: 7 | - name: "SYS >> Write CLI output to disk: {{ OUTPUT_DIR }}/{{ FILENAME }}" 8 | ansible.builtin.template: 9 | src: "templates/commands.j2" 10 | dest: "{{ OUTPUT_DIR }}/{{ FILENAME }}" 11 | newline_sequence: "{{ newline_sequence }}" 12 | mode: "0444" 13 | register: "FILE_RESULT" 14 | 15 | # Only run this sub-block when the hash_type is truthy (not false/null) 16 | - name: "BLOCK >> Perform optional file content hashing" 17 | block: 18 | 19 | # Read the just-created file from disk, which serves as a sanity check 20 | # and ensures that any template customizations are captured in the 21 | # final hash computation. Retain leading and trailing whitespace from 22 | # CLI output or else the hash computations will be incorrect. 23 | - name: "SYS >> Read contents of just-created {{ FILE_RESULT.dest }}" 24 | ansible.builtin.set_fact: 25 | FILEDATA: >- 26 | {{ lookup('ansible.builtin.file', FILE_RESULT.dest, 27 | lstrip=false, rstrip=false) }} 28 | 29 | # Compute the hash for a given file. 30 | - name: "SYS >> Compute {{ hash_type }} hash for {{ FILE_RESULT.dest }}" 31 | ansible.builtin.set_fact: 32 | FILEHASH: "{{ FILEDATA | ansible.builtin.hash(hash_type) }}" 33 | 34 | # Add the hash to the hashlist on a per-host basis. 35 | - name: "SYS >> Add {{ FILEHASH }},{{ FILE_RESULT.dest }} to hashlist" 36 | ansible.builtin.set_fact: 37 | HASHLIST: "{{ HASHLIST + [ FILEHASH ~ ',' ~ FILE_RESULT.dest ] }}" 38 | 39 | when: "hash_type" 40 | 41 | delegate_to: "localhost" 42 | ... 43 | -------------------------------------------------------------------------------- /samples_hash/n9k1_20230811T074823/show_install_active.txt: -------------------------------------------------------------------------------- 1 | Boot Image: 2 | NXOS Image: bootflash:///nxos.9.3.3.bin 3 | 4 | Active Packages: 5 | mtx-openconfig-all-1.0.0.0-9.3.3.lib32_n9000 6 | 7 | Active Base Packages: 8 | bfd-2.0.0.0-9.3.3.lib32_n9000 9 | bgp-2.0.0.0-9.3.3.lib32_n9000 10 | container-tracker-2.0.0.0-9.3.3.lib32_n9000 11 | dme-2.0.0.0-9.3.3.lib32_n9000 12 | eigrp-2.0.0.0-9.3.3.lib32_n9000 13 | ext-eth-2.0.0.0-9.3.3.lib32_n9000 14 | fcoe-2.0.0.0-9.3.3.lib32_n9000 15 | fhrp-2.0.0.0-9.3.3.lib32_n9000 16 | guestshell-2.0.0.0-9.3.3.lib32_n9000 17 | hw_telemetry-2.0.0.0-9.3.3.lib32_n9000 18 | icam-2.0.0.0-9.3.3.lib32_n9000 19 | isis-2.0.0.0-9.3.3.lib32_n9000 20 | lacp-2.0.0.0-9.3.3.lib32_n9000 21 | libnxsdk-2.0.0.0-9.3.3.lib32_n9000 22 | lldp-2.0.0.0-9.3.3.lib32_n9000 23 | mcast-2.0.0.0-9.3.3.lib32_n9000 24 | mpls-2.0.0.0-9.3.3.lib32_n9000 25 | mtx-device-2.0.0.0-9.3.3.lib32_n9000 26 | mtx-grpc-agent-2.1.0.0-9.3.3.lib32_n9000 27 | mtx-infra-2.0.0.0-9.3.3.lib32_n9000 28 | mtx-netconf-agent-2.0.0.0-9.3.3.lib32_n9000 29 | mtx-restconf-agent-2.0.0.0-9.3.3.lib32_n9000 30 | mtx-telemetry-2.0.0.0-9.3.3.lib32_n9000 31 | nbproxy-2.0.0.0-9.3.3.lib32_n9000 32 | nia-1.2.1.1-9.3.3.lib32_n9000 33 | ntp-2.0.0.0-9.3.3.lib32_n9000 34 | nxos-ssh-2.0.0.0-9.3.3.lib32_n9000 35 | nxsdk-2.0.0.0-9.3.3.lib32_n9000 36 | nxsdk_rpc_server-1.0-2.5.0.x86_64 37 | ospf-2.0.0.0-9.3.3.lib32_n9000 38 | rip-2.0.0.0-9.3.3.lib32_n9000 39 | services-2.0.0.0-9.3.3.lib32_n9000 40 | snmp-2.0.0.0-9.3.3.lib32_n9000 41 | sr-2.0.0.0-9.3.3.lib32_n9000 42 | svi-2.0.0.0-9.3.3.lib32_n9000 43 | tacacs-2.0.0.0-9.3.3.lib32_n9000 44 | telemetry-2.3.4.0-9.3.3.lib32_n9000 45 | virtualization-2.0.0.0-9.3.3.lib32_n9000 46 | vtp-2.0.0.0-9.3.3.lib32_n9000 47 | vxlan-2.0.0.0-9.3.3.lib32_n9000 48 | -------------------------------------------------------------------------------- /samples_nohash/n9kv1_20210629T142431/show_install_active.txt: -------------------------------------------------------------------------------- 1 | Boot Image: 2 | NXOS Image: bootflash:///nxos.9.3.3.bin 3 | 4 | Active Packages: 5 | mtx-openconfig-all-1.0.0.0-9.3.3.lib32_n9000 6 | 7 | Active Base Packages: 8 | bfd-2.0.0.0-9.3.3.lib32_n9000 9 | bgp-2.0.0.0-9.3.3.lib32_n9000 10 | container-tracker-2.0.0.0-9.3.3.lib32_n9000 11 | dme-2.0.0.0-9.3.3.lib32_n9000 12 | eigrp-2.0.0.0-9.3.3.lib32_n9000 13 | ext-eth-2.0.0.0-9.3.3.lib32_n9000 14 | fcoe-2.0.0.0-9.3.3.lib32_n9000 15 | fhrp-2.0.0.0-9.3.3.lib32_n9000 16 | guestshell-2.0.0.0-9.3.3.lib32_n9000 17 | hw_telemetry-2.0.0.0-9.3.3.lib32_n9000 18 | icam-2.0.0.0-9.3.3.lib32_n9000 19 | isis-2.0.0.0-9.3.3.lib32_n9000 20 | lacp-2.0.0.0-9.3.3.lib32_n9000 21 | libnxsdk-2.0.0.0-9.3.3.lib32_n9000 22 | lldp-2.0.0.0-9.3.3.lib32_n9000 23 | mcast-2.0.0.0-9.3.3.lib32_n9000 24 | mpls-2.0.0.0-9.3.3.lib32_n9000 25 | mtx-device-2.0.0.0-9.3.3.lib32_n9000 26 | mtx-grpc-agent-2.1.0.0-9.3.3.lib32_n9000 27 | mtx-infra-2.0.0.0-9.3.3.lib32_n9000 28 | mtx-netconf-agent-2.0.0.0-9.3.3.lib32_n9000 29 | mtx-restconf-agent-2.0.0.0-9.3.3.lib32_n9000 30 | mtx-telemetry-2.0.0.0-9.3.3.lib32_n9000 31 | nbproxy-2.0.0.0-9.3.3.lib32_n9000 32 | nia-1.2.1.1-9.3.3.lib32_n9000 33 | ntp-2.0.0.0-9.3.3.lib32_n9000 34 | nxos-ssh-2.0.0.0-9.3.3.lib32_n9000 35 | nxsdk-2.0.0.0-9.3.3.lib32_n9000 36 | nxsdk_rpc_server-1.0-2.5.0.x86_64 37 | ospf-2.0.0.0-9.3.3.lib32_n9000 38 | rip-2.0.0.0-9.3.3.lib32_n9000 39 | services-2.0.0.0-9.3.3.lib32_n9000 40 | snmp-2.0.0.0-9.3.3.lib32_n9000 41 | sr-2.0.0.0-9.3.3.lib32_n9000 42 | svi-2.0.0.0-9.3.3.lib32_n9000 43 | tacacs-2.0.0.0-9.3.3.lib32_n9000 44 | telemetry-2.3.4.0-9.3.3.lib32_n9000 45 | virtualization-2.0.0.0-9.3.3.lib32_n9000 46 | vtp-2.0.0.0-9.3.3.lib32_n9000 47 | vxlan-2.0.0.0-9.3.3.lib32_n9000 48 | -------------------------------------------------------------------------------- /samples_nohash/asav1_20210629T142431/show_version.txt: -------------------------------------------------------------------------------- 1 | Cisco Adaptive Security Appliance Software Version 9.16(1) 2 | SSP Operating System Version 2.10(1.159) 3 | Device Manager Version 7.16(1) 4 | 5 | Compiled on Thu 20-May-21 17:10 GMT by builders 6 | System image file is "boot:/asa9161-smp-k8.bin" 7 | Config file at boot was "startup-config" 8 | 9 | ASAV1 up 24 mins 15 secs 10 | 11 | Hardware: ASAv, 4096 MB RAM, CPU Xeon E5 series 2900 MHz, 1 CPU (2 cores) 12 | Internal ATA Compact Flash, 10240MB 13 | Slot 1: ATA Compact Flash, 10240MB 14 | BIOS Flash Firmware Hub @ 0x0, 0KB 15 | 16 | 17 | 0: Ext: Management0/0 : address is 12af.2e52.3da9, irq 0 18 | 1: Int: Internal-Data0/0 : address is 0000.0100.0001, irq 0 19 | 20 | License mode: Smart Licensing 21 | ASAv Platform License State: Unlicensed 22 | No active entitlement: no feature tier and no throughput level configured 23 | Firewall throughput limited to 100 Kbps 24 | 25 | Licensed features for this platform: 26 | Maximum VLANs : 50 27 | Inside Hosts : Unlimited 28 | Failover : Active/Active 29 | Encryption-DES : Enabled 30 | Encryption-3DES-AES : Enabled 31 | Security Contexts : 2 32 | Carrier : Disabled 33 | AnyConnect Premium Peers : 2 34 | AnyConnect Essentials : Disabled 35 | Other VPN Peers : 250 36 | Total VPN Peers : 250 37 | AnyConnect for Mobile : Disabled 38 | AnyConnect for Cisco VPN Phone : Disabled 39 | Advanced Endpoint Assessment : Disabled 40 | Shared License : Disabled 41 | Total TLS Proxy Sessions : 2 42 | Botnet Traffic Filter : Enabled 43 | Cluster : Disabled 44 | 45 | Serial Number: 9ADFVKDKV8Q 46 | 47 | Image type : Release 48 | Key version : A 49 | 50 | Configuration last modified by enable_15 at 14:10:10.409 UTC Tue Jun 29 2021 51 | -------------------------------------------------------------------------------- /tasks/pre_check.yml: -------------------------------------------------------------------------------- 1 | --- 2 | - name: "BLOCK >> Setup tasks on localhost" 3 | block: 4 | # Begin by checking to ensure every device has defined necessary vars 5 | - name: "SYS >> Perform basic error checking on core variables" 6 | ansible.builtin.assert: 7 | that: 8 | - "ansible_network_os is defined and ansible_network_os" 9 | - "ansible_connection in ['network_cli', 'local']" 10 | - "command_list is defined and command_list" 11 | - "scp is defined and scp" 12 | - "scp.user is defined and scp.user" 13 | - "scp.host is defined and scp.host" 14 | - "archive_format is defined and archive_format" 15 | - "newline_sequence is defined and newline_sequence" 16 | msg: "Basic variables defined incorrectly, please see README" 17 | 18 | # Capture the date/time group for timestamping the data written 19 | # to files later in the playbook. Also, create the files/ and 20 | # archives/ directories which is especially important for first-time 21 | # runs in CI systems. Example: "20210629T083125" 22 | - name: "BLOCK >> Capture date/time and create core directories only once" 23 | block: 24 | - name: "LOG >> Get ansible date/time facts" 25 | ansible.builtin.setup: 26 | filter: "ansible_date_time" 27 | gather_subset: "!all" 28 | 29 | - name: "LOG >> Store DTG as fact" 30 | ansible.builtin.set_fact: 31 | DTG: "{{ ansible_date_time.iso8601_basic_short }}" 32 | 33 | - name: "SYS >> Create files/ and archives/ directories" 34 | ansible.builtin.file: 35 | path: "{{ item }}" 36 | state: "directory" 37 | loop: 38 | - "archives" 39 | - "files" 40 | run_once: true 41 | 42 | # Identify the output directory string for file names to simplify 43 | # references later in the process. Example: "files/csr1_20210629T083125" 44 | - name: "SYS >> Store output directory and initialize hash list" 45 | ansible.builtin.set_fact: 46 | OUTPUT_DIR: "files/{{ inventory_hostname }}_{{ DTG }}" 47 | HASHLIST: [] 48 | 49 | # Each host gets a directory to house the files relevant to that 50 | # host. For example, if we collect the config, version, and 51 | # inventory from a router, there would be 3 files in a folder 52 | # representing that host. 53 | - name: "SYS >> Create directory per network device" 54 | ansible.builtin.file: 55 | path: "{{ OUTPUT_DIR }}" 56 | state: "directory" 57 | 58 | delegate_to: "localhost" 59 | -------------------------------------------------------------------------------- /samples_nohash/vmx1_20210629T142431/show_configuration.txt: -------------------------------------------------------------------------------- 1 | ## Last commit: 2021-06-29 14:21:18 UTC by jnpr 2 | version 20191212.201431_builder.r1074901; 3 | groups { 4 | global { 5 | system { 6 | host-name ip-172-31-39-171; 7 | login { 8 | user jnpr { 9 | uid 2000; 10 | class super-user; 11 | authentication { 12 | ssh-rsa "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCZA3vgz6brzr19URQXNAetG7OL6CHFurEnlzgbS768XNPdw2FhCUaCY85pnwfhdvCRulzeoXTUEQ4uuOJy8pyvE7QC5TIghCT08N7BQynTcahHZJJdOJHWZsxBl+yhSSPAw+FYaEL8cXbz8puC39yMiHgt8x74uQvdlcoo9i5PdDynU6QEn6Noc19WmrT+zu2B9McWVKEwpRa8ar0O/mRUZ4/VbCerF9QkQbR4fFTYcpOFZLP1iFRgMAFIbBd3tsOtMVtk6SOTp3/it/39Em7dN+/mMLyb8TzLZsAUQYxg3L3UvQUfJn9HpHKy5F2ZI2PP6y+c0EvofEdBQnaJYRQb nickrus-kp"; ## SECRET-DATA 13 | } 14 | } 15 | } 16 | services { 17 | ssh { 18 | root-login deny-password; 19 | } 20 | } 21 | syslog { 22 | user * { 23 | any emergency; 24 | } 25 | file messages { 26 | any notice; 27 | authorization info; 28 | } 29 | file interactive-commands { 30 | interactive-commands any; 31 | } 32 | } 33 | } 34 | interfaces { 35 | fxp0 { 36 | unit 0 { 37 | family inet { 38 | address 172.31.39.171/20; 39 | } 40 | } 41 | } 42 | } 43 | routing-options { 44 | static { 45 | route 0.0.0.0/0 { 46 | next-hop 172.31.32.1; 47 | retain; 48 | no-readvertise; 49 | } 50 | } 51 | } 52 | } 53 | } 54 | apply-groups global; 55 | system { 56 | host-name VMX1; 57 | root-authentication { 58 | encrypted-password "$6$rb4s/WBz$mv4/yVA4hyPM/Xbpofe8vWa10x3hPuH7XpKgL5cpdEFgk.SjZ26T8YxqtYICGvAM05yBfZubkEJsNZvCP16lO/"; ## SECRET-DATA 59 | } 60 | login { 61 | user ansible { 62 | uid 2001; 63 | class super-user; 64 | authentication { 65 | encrypted-password "$6$qG9/Weu1$8xQGrKgQfdLFdH41SwaU8KL4O3/wfw.eLie5vQ.EzKbo3IaBy4decLBUx.TkMs4GzpN2WPLvsjHI/a7p6ZOH30"; ## SECRET-DATA 66 | } 67 | } 68 | } 69 | } 70 | -------------------------------------------------------------------------------- /samples_hash/csr2_20230811T074823/show_version.txt: -------------------------------------------------------------------------------- 1 | Cisco IOS XE Software, Version 16.09.03 2 | Cisco IOS Software [Fuji], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 16.9.3, RELEASE SOFTWARE (fc2) 3 | Technical Support: http://www.cisco.com/techsupport 4 | Copyright (c) 1986-2019 by Cisco Systems, Inc. 5 | Compiled Wed 20-Mar-19 07:56 by mcpre 6 | 7 | 8 | Cisco IOS-XE software, Copyright (c) 2005-2019 by cisco Systems, Inc. 9 | All rights reserved. Certain components of Cisco IOS-XE software are 10 | licensed under the GNU General Public License ("GPL") Version 2.0. The 11 | software code licensed under GPL Version 2.0 is free software that comes 12 | with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such 13 | GPL code under the terms of GPL Version 2.0. For more details, see the 14 | documentation or "License Notice" file accompanying the IOS-XE software, 15 | or the applicable URL provided on the flyer accompanying the IOS-XE 16 | software. 17 | 18 | 19 | ROM: IOS-XE ROMMON 20 | 21 | csr1000v-1 uptime is 1 day, 42 minutes 22 | Uptime for this control processor is 1 day, 43 minutes 23 | System returned to ROM by reload 24 | System image file is "bootflash:packages.conf" 25 | Last reload reason: Reload Command 26 | 27 | 28 | 29 | This product contains cryptographic features and is subject to United 30 | States and local country laws governing import, export, transfer and 31 | use. Delivery of Cisco cryptographic products does not imply 32 | third-party authority to import, export, distribute or use encryption. 33 | Importers, exporters, distributors and users are responsible for 34 | compliance with U.S. and local country laws. By using this product you 35 | agree to comply with applicable laws and regulations. If you are unable 36 | to comply with U.S. and local laws, return this product immediately. 37 | 38 | A summary of U.S. laws governing Cisco cryptographic products may be found at: 39 | http://www.cisco.com/wwl/export/crypto/tool/stqrg.html 40 | 41 | If you require further assistance please contact us by sending email to 42 | export@cisco.com. 43 | 44 | License Level: ax 45 | License Type: Default. No valid license found. 46 | Next reload license Level: ax 47 | 48 | 49 | Smart Licensing Status: Smart Licensing is DISABLED 50 | 51 | cisco CSR1000V (VXE) processor (revision VXE) with 2392579K/3075K bytes of memory. 52 | Processor board ID 926V75BDNRJ 53 | 3 Gigabit Ethernet interfaces 54 | 32768K bytes of non-volatile configuration memory. 55 | 8113280K bytes of physical memory. 56 | 7774207K bytes of virtual hard disk at bootflash:. 57 | 0K bytes of WebUI ODM Files at webui:. 58 | 59 | Configuration register is 0x2102 60 | -------------------------------------------------------------------------------- /samples_nohash/csr2_20210629T142431/show_version.txt: -------------------------------------------------------------------------------- 1 | Cisco IOS XE Software, Version 17.03.02 2 | Cisco IOS Software [Amsterdam], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 17.3.2, RELEASE SOFTWARE (fc3) 3 | Technical Support: http://www.cisco.com/techsupport 4 | Copyright (c) 1986-2020 by Cisco Systems, Inc. 5 | Compiled Sat 31-Oct-20 13:16 by mcpre 6 | 7 | 8 | Cisco IOS-XE software, Copyright (c) 2005-2020 by cisco Systems, Inc. 9 | All rights reserved. Certain components of Cisco IOS-XE software are 10 | licensed under the GNU General Public License ("GPL") Version 2.0. The 11 | software code licensed under GPL Version 2.0 is free software that comes 12 | with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such 13 | GPL code under the terms of GPL Version 2.0. For more details, see the 14 | documentation or "License Notice" file accompanying the IOS-XE software, 15 | or the applicable URL provided on the flyer accompanying the IOS-XE 16 | software. 17 | 18 | 19 | ROM: IOS-XE ROMMON 20 | 21 | CSR2 uptime is 32 minutes 22 | Uptime for this control processor is 33 minutes 23 | System returned to ROM by reload 24 | System image file is "bootflash:packages.conf" 25 | Last reload reason: reload 26 | 27 | 28 | 29 | This product contains cryptographic features and is subject to United 30 | States and local country laws governing import, export, transfer and 31 | use. Delivery of Cisco cryptographic products does not imply 32 | third-party authority to import, export, distribute or use encryption. 33 | Importers, exporters, distributors and users are responsible for 34 | compliance with U.S. and local country laws. By using this product you 35 | agree to comply with applicable laws and regulations. If you are unable 36 | to comply with U.S. and local laws, return this product immediately. 37 | 38 | A summary of U.S. laws governing Cisco cryptographic products may be found at: 39 | http://www.cisco.com/wwl/export/crypto/tool/stqrg.html 40 | 41 | If you require further assistance please contact us by sending email to 42 | export@cisco.com. 43 | 44 | License Level: ax 45 | License Type: N/A(Smart License Enabled) 46 | Next reload license Level: ax 47 | 48 | The current throughput level is 1000 kbps 49 | 50 | 51 | Smart Licensing Status: UNREGISTERED/No Licenses in Use 52 | 53 | cisco CSR1000V (VXE) processor (revision VXE) with 2068935K/3075K bytes of memory. 54 | Processor board ID 9Z572SUEARL 55 | Router operating mode: Autonomous 56 | 1 Gigabit Ethernet interface 57 | 32768K bytes of non-volatile configuration memory. 58 | 3976140K bytes of physical memory. 59 | 6188032K bytes of virtual hard disk at bootflash:. 60 | 61 | Configuration register is 0x2102 62 | -------------------------------------------------------------------------------- /samples_nohash/csr1_20210629T142431/show_version.txt: -------------------------------------------------------------------------------- 1 | Cisco IOS XE Software, Version 17.03.02 2 | Cisco IOS Software [Amsterdam], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 17.3.2, RELEASE SOFTWARE (fc3) 3 | Technical Support: http://www.cisco.com/techsupport 4 | Copyright (c) 1986-2020 by Cisco Systems, Inc. 5 | Compiled Sat 31-Oct-20 13:16 by mcpre 6 | 7 | 8 | Cisco IOS-XE software, Copyright (c) 2005-2020 by cisco Systems, Inc. 9 | All rights reserved. Certain components of Cisco IOS-XE software are 10 | licensed under the GNU General Public License ("GPL") Version 2.0. The 11 | software code licensed under GPL Version 2.0 is free software that comes 12 | with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such 13 | GPL code under the terms of GPL Version 2.0. For more details, see the 14 | documentation or "License Notice" file accompanying the IOS-XE software, 15 | or the applicable URL provided on the flyer accompanying the IOS-XE 16 | software. 17 | 18 | 19 | ROM: IOS-XE ROMMON 20 | 21 | CSR1 uptime is 1 day, 2 hours, 41 minutes 22 | Uptime for this control processor is 1 day, 2 hours, 43 minutes 23 | System returned to ROM by reload 24 | System image file is "bootflash:packages.conf" 25 | Last reload reason: reload 26 | 27 | 28 | 29 | This product contains cryptographic features and is subject to United 30 | States and local country laws governing import, export, transfer and 31 | use. Delivery of Cisco cryptographic products does not imply 32 | third-party authority to import, export, distribute or use encryption. 33 | Importers, exporters, distributors and users are responsible for 34 | compliance with U.S. and local country laws. By using this product you 35 | agree to comply with applicable laws and regulations. If you are unable 36 | to comply with U.S. and local laws, return this product immediately. 37 | 38 | A summary of U.S. laws governing Cisco cryptographic products may be found at: 39 | http://www.cisco.com/wwl/export/crypto/tool/stqrg.html 40 | 41 | If you require further assistance please contact us by sending email to 42 | export@cisco.com. 43 | 44 | License Level: ax 45 | License Type: N/A(Smart License Enabled) 46 | Next reload license Level: ax 47 | 48 | The current throughput level is 1000 kbps 49 | 50 | 51 | Smart Licensing Status: UNREGISTERED/No Licenses in Use 52 | 53 | cisco CSR1000V (VXE) processor (revision VXE) with 2068935K/3075K bytes of memory. 54 | Processor board ID 92ASWZPKBOY 55 | Router operating mode: Autonomous 56 | 1 Gigabit Ethernet interface 57 | 32768K bytes of non-volatile configuration memory. 58 | 3976140K bytes of physical memory. 59 | 6188032K bytes of virtual hard disk at bootflash:. 60 | 61 | Configuration register is 0x2102 62 | -------------------------------------------------------------------------------- /samples_hash/csr1_20230811T074823/show_license_all.txt: -------------------------------------------------------------------------------- 1 | Smart Licensing Status 2 | ====================== 3 | 4 | Smart Licensing is ENABLED 5 | 6 | Export Authorization Key: 7 | Features Authorized: 8 | 9 | 10 | Utility: 11 | Status: DISABLED 12 | 13 | Smart Licensing Using Policy: 14 | Status: ENABLED 15 | 16 | Account Information: 17 | Smart Account: 18 | Virtual Account: 19 | 20 | Data Privacy: 21 | Sending Hostname: yes 22 | Callhome hostname privacy: DISABLED 23 | Smart Licensing hostname privacy: DISABLED 24 | Version privacy: DISABLED 25 | 26 | Transport: 27 | Type: cslu 28 | Cslu address: 29 | Proxy: 30 | Not Configured 31 | VRF: 32 | 33 | Miscellaneous: 34 | Custom Id: 35 | 36 | Policy: 37 | Policy in use: Merged from multiple sources. 38 | Reporting ACK required: yes (CISCO default) 39 | Unenforced/Non-Export Perpetual Attributes: 40 | First report requirement (days): 365 (CISCO default) 41 | Reporting frequency (days): 0 (CISCO default) 42 | Report on change (days): 90 (CISCO default) 43 | Unenforced/Non-Export Subscription Attributes: 44 | First report requirement (days): 90 (CISCO default) 45 | Reporting frequency (days): 90 (CISCO default) 46 | Report on change (days): 90 (CISCO default) 47 | Enforced (Perpetual/Subscription) License Attributes: 48 | First report requirement (days): 0 (CISCO default) 49 | Reporting frequency (days): 0 (CISCO default) 50 | Report on change (days): 0 (CISCO default) 51 | Export (Perpetual/Subscription) License Attributes: 52 | First report requirement (days): 0 (CISCO default) 53 | Reporting frequency (days): 0 (CISCO default) 54 | Report on change (days): 0 (CISCO default) 55 | 56 | Usage Reporting: 57 | Last ACK received: 58 | Next ACK deadline: 59 | Reporting push interval: 0 (no reporting) 60 | Next ACK push check: 61 | Next report push: 62 | Last report push: 63 | Last report file write: 64 | 65 | Trust Code Installed: 66 | 67 | License Usage 68 | ============= 69 | 70 | No licenses in use 71 | 72 | Product Information 73 | =================== 74 | UDI: PID:C8000V,SN:9UWS2FADP45 75 | 76 | Agent Version 77 | ============= 78 | Smart Agent for Licensing: 5.5.18_rel/73 79 | 80 | License Authorizations 81 | ====================== 82 | Overall status: 83 | Active: PID:C8000V,SN:9UWS2FADP45 84 | Status: NOT INSTALLED 85 | 86 | Purchased Licenses: 87 | No Purchase Information Available 88 | 89 | Usage Report Summary: 90 | ===================== 91 | Total: 0, Purged: 0 92 | Total Acknowledged Received: 0, Waiting for Ack: 0 93 | Available to Report: 0 Collecting Data: 0 94 | -------------------------------------------------------------------------------- /samples_hash/csr1_20230811T074823/show_version.txt: -------------------------------------------------------------------------------- 1 | Cisco IOS XE Software, Version 17.09.02a 2 | Cisco IOS Software [Cupertino], Virtual XE Software (X86_64_LINUX_IOSD-UNIVERSALK9-M), Version 17.9.2a, RELEASE SOFTWARE (fc4) 3 | Technical Support: http://www.cisco.com/techsupport 4 | Copyright (c) 1986-2022 by Cisco Systems, Inc. 5 | Compiled Wed 30-Nov-22 02:47 by mcpre 6 | 7 | 8 | Cisco IOS-XE software, Copyright (c) 2005-2022 by cisco Systems, Inc. 9 | All rights reserved. Certain components of Cisco IOS-XE software are 10 | licensed under the GNU General Public License ("GPL") Version 2.0. The 11 | software code licensed under GPL Version 2.0 is free software that comes 12 | with ABSOLUTELY NO WARRANTY. You can redistribute and/or modify such 13 | GPL code under the terms of GPL Version 2.0. For more details, see the 14 | documentation or "License Notice" file accompanying the IOS-XE software, 15 | or the applicable URL provided on the flyer accompanying the IOS-XE 16 | software. 17 | 18 | 19 | ROM: IOS-XE ROMMON 20 | Cat8000V uptime is 2 hours, 47 minutes 21 | Uptime for this control processor is 2 hours, 48 minutes 22 | System returned to ROM by reload 23 | System image file is "bootflash:packages.conf" 24 | Last reload reason: reload 25 | 26 | 27 | 28 | This product contains cryptographic features and is subject to United 29 | States and local country laws governing import, export, transfer and 30 | use. Delivery of Cisco cryptographic products does not imply 31 | third-party authority to import, export, distribute or use encryption. 32 | Importers, exporters, distributors and users are responsible for 33 | compliance with U.S. and local country laws. By using this product you 34 | agree to comply with applicable laws and regulations. If you are unable 35 | to comply with U.S. and local laws, return this product immediately. 36 | 37 | A summary of U.S. laws governing Cisco cryptographic products may be found at: 38 | http://www.cisco.com/wwl/export/crypto/tool/stqrg.html 39 | 40 | If you require further assistance please contact us by sending email to 41 | export@cisco.com. 42 | 43 | License Level: 44 | License Type: Perpetual 45 | Next reload license Level: 46 | 47 | Addon License Level: 48 | Addon License Type: Subscription 49 | Next reload addon license Level: 50 | 51 | The current throughput level is 20000 kbps 52 | 53 | 54 | Smart Licensing Status: Smart Licensing Using Policy 55 | 56 | cisco C8000V (VXE) processor (revision VXE) with 1980715K/3075K bytes of memory. 57 | Processor board ID 9UWS2FADP45 58 | Router operating mode: Autonomous 59 | 3 Gigabit Ethernet interfaces 60 | 32768K bytes of non-volatile configuration memory. 61 | 3965352K bytes of physical memory. 62 | 5234688K bytes of virtual hard disk at bootflash:. 63 | 64 | Configuration register is 0x2102 65 | -------------------------------------------------------------------------------- /racc_playbook.yml: -------------------------------------------------------------------------------- 1 | --- 2 | # This play performs the work to collect data from network devices in the 3 | # network and store it in individual files. 4 | - name: "Get information from network devices" 5 | hosts: "all" 6 | tasks: 7 | # Perform data validation and timestamp/directory setup 8 | - name: "INCLUDE >> Error checking and log setup" 9 | ansible.builtin.include_tasks: "tasks/pre_check.yml" 10 | 11 | # Include the proper task list based on the device type. 12 | # All tasks will register outputs to 'CLI_OUTPUT' which 13 | # must have a 'stdout_lines' 2D array of strings. 14 | - name: "SYS >> Include tasks for various network device types" 15 | ansible.builtin.include_tasks: "tasks/{{ ansible_network_os }}.yml" 16 | when: "not ci_test" 17 | 18 | # Include the CI testing task which builds mock data in the 19 | # correct format that the jinja2 template expects. This ensures 20 | # that the CLI_OUTPUT.results and command_list sequences 21 | # are always the same length and remain in sync. 22 | - name: "SYS >> Include tasks to generate mock output for CI" 23 | ansible.builtin.include_tasks: "tasks/ci_test.yml" 24 | when: "ci_test" 25 | 26 | # All task files should have defined the CLI_OUTPUT variable which 27 | # contains the CLI output lines from each command. The play cannot 28 | # continue unless this variable has been validated, which includes 29 | # ensuring it exists, is a list, and has the proper length for 30 | # future iteration. 31 | - name: "SYS >> Sanity check; ensure CLI_OUTPUT is valid" 32 | ansible.builtin.assert: 33 | that: 34 | - "CLI_OUTPUT is defined and CLI_OUTPUT" 35 | - "CLI_OUTPUT.stdout_lines | length == command_list | length" 36 | msg: "CLI_OUTPUT or its sub data structures are invalid, see debugs" 37 | 38 | # Iteratively include file to process CLI output and optional hashes 39 | - name: "SYS >> Include tasks to perform output file functions" 40 | ansible.builtin.include_tasks: "tasks/outputs.yml" 41 | vars: 42 | FILENAME: "{{ item.0 | replace(' ', '_') | replace('/', '') }}.txt" 43 | loop: "{{ command_list | zip(CLI_OUTPUT.stdout_lines) | list }}" 44 | loop_control: 45 | label: "{{ item.0 }}" 46 | 47 | # The hashes are already in hash,file CSV format, so join them with a 48 | # newline and store them on disk. 49 | - name: "SYS >> Write {{ hash_type }} hashes to disk" 50 | ansible.builtin.copy: 51 | content: "{{ HASHLIST | join(newline_sequence) }}{{ newline_sequence }}" 52 | dest: "{{ OUTPUT_DIR }}/{{ hash_type }}_hashes.txt" 53 | mode: "0444" 54 | when: "hash_type" 55 | 56 | - name: "BLOCK >> Post-processing on control machine" 57 | block: 58 | # Store the string file path of the future archive to simplify 59 | # variable references later in the process. 60 | - name: "SYS >> Store archive path/filename" 61 | ansible.builtin.set_fact: 62 | ARCH_FQDN: "archives/commands_{{ DTG }}.{{ archive_format }}" 63 | 64 | # Zip up all of the individual text files into an archive and 65 | # optionally remove the source files if 'remove_files' is true. 66 | - name: "SYS >> Archive files into a {{ archive_format }}" 67 | community.general.archive: 68 | dest: "{{ ARCH_FQDN }}" 69 | path: "files/*{{ DTG }}" 70 | format: "{{ archive_format }}" 71 | remove: "{{ remove_files }}" 72 | mode: "0444" 73 | 74 | # Users can optionally copy the ZIP bundle to an SCP server by copying 75 | # the SCP command written to stdout for simplicity. 76 | - name: "SYS >> Copy the command below to SCP the archive off-box" 77 | ansible.builtin.debug: 78 | msg: "scp {{ ARCH_FQDN }} {{ scp.user }}@{{ scp.host }}:/racc/" 79 | run_once: true 80 | delegate_to: "localhost" 81 | 82 | # Final cleanup; delete empty directories from files/ when Boolean 83 | # remove_files is true. The archive module does not do this automatically. 84 | - name: "SYS >> Remove network device directory? {{ remove_files }}" 85 | ansible.builtin.file: 86 | path: "{{ OUTPUT_DIR }}" 87 | state: "absent" 88 | when: "remove_files" 89 | ... 90 | -------------------------------------------------------------------------------- /samples_nohash/f5lb1_20210629T142431/show_running-config_sys.txt: -------------------------------------------------------------------------------- 1 | sys aom { } 2 | sys autoscale-group { } 3 | sys core { 4 | bigd-action rotate 5 | bigd-manage false 6 | bigd-max 1 7 | mcpd-action rotate 8 | mcpd-manage false 9 | mcpd-max 1 10 | retention 30 11 | tmm-action rotate 12 | tmm-manage false 13 | tmm-max 1 14 | } 15 | sys crypto acceleration-strategy { } 16 | sys crypto allow-key-export { } 17 | sys daemon-log-settings clusterd { } 18 | sys daemon-log-settings csyncd { } 19 | sys daemon-log-settings icr-eventd { } 20 | sys daemon-log-settings icrd { } 21 | sys daemon-log-settings lind { } 22 | sys daemon-log-settings mcpd { } 23 | sys daemon-log-settings tmm { } 24 | sys datastor { } 25 | sys diags ihealth { 26 | expiration 30 27 | no-ihealth false 28 | options none 29 | password none 30 | user none 31 | } 32 | sys diags ihealth-request { 33 | error-str none 34 | ihealth-finish-time 0 35 | ihealth-start-time 0 36 | progress 0 37 | qk-progress 0 38 | qk-progress-msg none 39 | qkview-date 0 40 | qkview-filename none 41 | qkview-size 0 42 | qkview-user none 43 | tcpdump-date 0 44 | tcpdump-filename none 45 | tcpdump-size 0 46 | } 47 | sys disk logical-disk HD1 { 48 | mode mixed 49 | size 81920 50 | vg-free 23980 51 | vg-in-use 57720 52 | } 53 | sys dns { 54 | description configured-by-dhcp 55 | name-servers { 172.31.0.2 } 56 | search { ec2.internal } 57 | } 58 | sys dynad settings { 59 | development-mode false 60 | } 61 | sys ecm cloud-provider aws-ec2 { 62 | description "The aws-ec2 parameters" 63 | property-template { 64 | account { } 65 | availability-zone { 66 | valid-values { a b c d } 67 | } 68 | instance-type { 69 | valid-values { t2.micro t2.small t2.medium m3.medium m3.large m3.xlarge m3.2xlarge c3.large c3.xlarge c3.2xlarge c3.4xlarge c3.8xlarge r3.large r3.xlarge r3.2xlarge r3.4xlarge r3.8xlarge } 70 | } 71 | region { 72 | valid-values { us-east-1 us-west-1 us-west-2 sa-east-1 eu-west-1 eu-central-1 ap-southeast-2 ap-southeast-1 ap-northeast-1 } 73 | } 74 | } 75 | } 76 | sys ecm cloud-provider dnet { 77 | description "The dnet parameters" 78 | } 79 | sys ecm cloud-provider vsphere { 80 | description "The vsphere parameters" 81 | property-template { 82 | cloud-host-ip { } 83 | dhcp-network-name { } 84 | end-point-url { } 85 | node-name { } 86 | } 87 | } 88 | sys ecm config { } 89 | sys folder Drafts { 90 | device-group none 91 | inherited-devicegroup true 92 | inherited-traffic-group true 93 | traffic-group traffic-group-1 94 | } 95 | sys fpga firmware-config { 96 | type standard-balanced-fpga 97 | } 98 | sys global-settings { 99 | hostname ip-172-31-37-109.ec2.internal 100 | } 101 | sys httpd { 102 | ssl-port 8443 103 | } 104 | sys icontrol-soap { } 105 | sys log-rotate { } 106 | sys management-dhcp sys-mgmt-dhcp-config { 107 | request-options { subnet-mask broadcast-address routers domain-name domain-name-servers host-name ntp-servers interface-mtu } 108 | } 109 | sys management-ovsdb { 110 | bfd-disabled 111 | bfd-route-domain none 112 | ca-cert-file none 113 | cert-file none 114 | cert-key-file none 115 | disabled 116 | flooding-type replicator 117 | log-level info 118 | logical-routing-type none 119 | tunnel-maintenance-mode active 120 | } 121 | sys ntp { } 122 | sys outbound-smtp { 123 | from-line-override disabled 124 | mailhub localhost 125 | } 126 | sys provision ltm { 127 | level nominal 128 | } 129 | sys scriptd { } 130 | sys sflow global-settings http { } 131 | sys sflow global-settings interface { } 132 | sys sflow global-settings system { } 133 | sys sflow global-settings vlan { } 134 | sys snmp { 135 | agent-addresses { tcp6:161 udp6:161 } 136 | communities { 137 | comm-public { 138 | community-name public 139 | source default 140 | } 141 | } 142 | disk-monitors { 143 | root { 144 | minspace 2000 145 | path / 146 | } 147 | var { 148 | minspace 10000 149 | path /var 150 | } 151 | } 152 | process-monitors { 153 | bigd { 154 | max-processes infinity 155 | process bigd 156 | } 157 | chmand { 158 | process chmand 159 | } 160 | httpd { 161 | max-processes infinity 162 | process httpd 163 | } 164 | mcpd { 165 | process mcpd 166 | } 167 | sod { 168 | process sod 169 | } 170 | tmm { 171 | max-processes infinity 172 | process tmm 173 | } 174 | } 175 | } 176 | sys software update { 177 | auto-check enabled 178 | auto-phonehome enabled 179 | frequency weekly 180 | } 181 | sys software volume HD1.1 { 182 | active 183 | active-requested 184 | basebuild 0.0.6 185 | build 0.0.6 186 | media { 187 | HD1.1 { 188 | default-boot-location 189 | media hd 190 | size default 191 | } 192 | } 193 | product BIG-IP 194 | status complete 195 | version 16.0.1.1 196 | } 197 | sys sshd { } 198 | sys state-mirroring { } 199 | sys syslog { } 200 | sys telemd { 201 | partition none 202 | } 203 | sys turboflex profile-config { 204 | type turboflex-adc 205 | } 206 | sys url-db download-schedule urldb { } 207 | -------------------------------------------------------------------------------- /samples_hash/xrv1_20230811T074823/show_running-config.txt: -------------------------------------------------------------------------------- 1 | Building configuration... 2 | !! IOS XR Configuration 7.3.2 3 | !! Last configuration change at Fri Aug 11 11:39:08 2023 by admin 4 | ! 5 | hostname SANDBOX-XR-CISCO 6 | snmp-server traps alarm 7 | banner motd "Hello there! Hoping you are having a great day 8 | ... Welcome to '$(hostname)', 9 | your favorite CISCO.IOSXR.IOSXR Sandbox" 10 | username admin 11 | group root-lr 12 | group cisco-support 13 | secret 10 $6$F3kfY1/w8tjGCY1.$MC31GMZoTQZw/QaXJACQZYJltYllPSYCC9LRzzhxb5Zn9X.mWWUezTo/kXORs3JsM/0ttm3peLBijGR83osQ9/ 14 | ! 15 | username lab123 16 | group root-lr 17 | password 7 1215041543595F 18 | ! 19 | grpc 20 | port 57777 21 | no-tls 22 | address-family ipv4 23 | ! 24 | line console 25 | exec-timeout 0 0 26 | absolute-timeout 0 27 | session-timeout 0 28 | ! 29 | line default 30 | exec-timeout 0 0 31 | absolute-timeout 0 32 | session-timeout 0 33 | ! 34 | snmp-server community public RO 35 | snmp-server traps rf 36 | snmp-server traps bfd 37 | snmp-server traps ntp 38 | snmp-server traps copy-complete 39 | snmp-server traps snmp linkup 40 | snmp-server traps snmp linkdown 41 | snmp-server traps snmp coldstart 42 | snmp-server traps snmp warmstart 43 | snmp-server traps snmp authentication 44 | snmp-server traps flash removal 45 | snmp-server traps flash insertion 46 | snmp-server traps power 47 | snmp-server traps config 48 | snmp-server traps entity 49 | snmp-server traps selective-vrf-download role-change 50 | snmp-server traps syslog 51 | snmp-server traps system 52 | snmp-server traps diameter peerup 53 | snmp-server traps diameter peerdown 54 | snmp-server traps diameter protocolerror 55 | snmp-server traps diameter permanentfail 56 | snmp-server traps diameter transientfail 57 | snmp-server traps bridgemib 58 | snmp-server traps addrpool low 59 | snmp-server traps addrpool high 60 | snmp-server traps cisco-entity-ext 61 | snmp-server traps entity-state operstatus 62 | snmp-server traps entity-state switchover 63 | snmp-server traps entity-redundancy all 64 | snmp-server traps entity-redundancy status 65 | snmp-server traps entity-redundancy switchover 66 | call-home 67 | service active 68 | contact smart-licensing 69 | profile CiscoTAC-1 70 | active 71 | destination transport-method http 72 | ! 73 | ! 74 | netconf-yang agent 75 | ssh 76 | ! 77 | interface Loopback100 78 | description ***TEST LOOPBACK**** 79 | ipv4 address 1.1.1.100 255.255.255.255 80 | ! 81 | interface Loopback555 82 | description PRUEBA_KV 83 | ! 84 | interface MgmtEth0/RP0/CPU0/0 85 | ipv4 address 10.10.20.175 255.255.255.0 86 | ! 87 | interface GigabitEthernet0/0/0/0 88 | shutdown 89 | ! 90 | interface GigabitEthernet0/0/0/1 91 | description Configured by Ansible 92 | ! 93 | interface GigabitEthernet0/0/0/2 94 | description Configured by Ansible 95 | ! 96 | interface GigabitEthernet0/0/0/3 97 | description test 98 | shutdown 99 | ! 100 | interface GigabitEthernet0/0/0/4 101 | shutdown 102 | ! 103 | interface GigabitEthernet0/0/0/5 104 | shutdown 105 | ! 106 | interface GigabitEthernet0/0/0/6 107 | shutdown 108 | ! 109 | router static 110 | address-family ipv4 unicast 111 | 0.0.0.0/0 10.10.20.254 112 | 0.0.0.0/0 MgmtEth0/RP0/CPU0/0 10.10.20.254 113 | ! 114 | ! 115 | router isis 1 116 | is-type level-2-only 117 | ! 118 | snmp-server traps isis all 119 | snmp-server traps ospfv3 errors bad-packet 120 | snmp-server traps ospfv3 errors config-error 121 | snmp-server traps ospfv3 errors virt-bad-packet 122 | snmp-server traps ospfv3 state-change if-state-change 123 | snmp-server traps ospfv3 state-change neighbor-state-change 124 | snmp-server traps ospfv3 state-change virtif-state-change 125 | snmp-server traps ospfv3 state-change virtneighbor-state-change 126 | snmp-server traps ospfv3 state-change restart-status-change 127 | snmp-server traps ospfv3 state-change restart-virtual-helper-status-change 128 | router ospf 27 129 | area 10 130 | authentication keychain ansi11393 131 | hello-interval 2 132 | ! 133 | ! 134 | snmp-server traps bgp cbgp2 135 | snmp-server traps bgp 136 | snmp-server traps hsrp 137 | snmp-server traps vrrp events 138 | snmp-server traps vpls all 139 | snmp-server traps vpls status 140 | snmp-server traps vpls full-clear 141 | snmp-server traps vpls full-raise 142 | snmp-server traps l2vpn all 143 | snmp-server traps l2vpn vc-up 144 | snmp-server traps l2vpn vc-down 145 | snmp-server traps mpls traffic-eng up 146 | snmp-server traps mpls traffic-eng down 147 | snmp-server traps mpls traffic-eng reroute 148 | snmp-server traps mpls traffic-eng reoptimize 149 | snmp-server traps mpls frr all 150 | snmp-server traps mpls frr protected 151 | snmp-server traps mpls frr unprotected 152 | snmp-server traps mpls ldp up 153 | snmp-server traps mpls ldp down 154 | snmp-server traps mpls ldp threshold 155 | snmp-server traps mpls traffic-eng p2mp up 156 | snmp-server traps mpls traffic-eng p2mp down 157 | snmp-server traps rsvp all 158 | snmp-server traps rsvp new-flow 159 | snmp-server traps rsvp lost-flow 160 | snmp-server traps mpls l3vpn all 161 | snmp-server traps mpls l3vpn vrf-up 162 | snmp-server traps mpls l3vpn vrf-down 163 | snmp-server traps mpls l3vpn max-threshold-cleared 164 | snmp-server traps mpls l3vpn max-threshold-exceeded 165 | snmp-server traps mpls l3vpn mid-threshold-exceeded 166 | snmp-server traps mpls l3vpn max-threshold-reissue-notif-time 1 167 | snmp-server traps pim neighbor-change 168 | snmp-server traps pim invalid-message-received 169 | snmp-server traps pim rp-mapping-change 170 | snmp-server traps pim interface-state-change 171 | snmp-server traps msdp peer-state-change 172 | xml agent tty 173 | iteration off 174 | ! 175 | snmp-server traps sensor 176 | snmp-server traps fru-ctrl 177 | netconf agent tty 178 | ! 179 | snmp-server traps ospf lsa lsa-maxage 180 | snmp-server traps ospf lsa lsa-originate 181 | snmp-server traps ospf errors bad-packet 182 | snmp-server traps ospf errors authentication-failure 183 | snmp-server traps ospf errors config-error 184 | snmp-server traps ospf errors virt-bad-packet 185 | snmp-server traps ospf errors virt-authentication-failure 186 | snmp-server traps ospf errors virt-config-error 187 | snmp-server traps ospf retransmit packets 188 | snmp-server traps ospf retransmit virt-packets 189 | snmp-server traps ospf state-change if-state-change 190 | snmp-server traps ospf state-change neighbor-state-change 191 | snmp-server traps ospf state-change virtif-state-change 192 | snmp-server traps ospf state-change virtneighbor-state-change 193 | snmp-server traps l2tun sessions 194 | snmp-server traps l2tun tunnel-up 195 | snmp-server traps l2tun tunnel-down 196 | snmp-server traps l2tun pseudowire status 197 | snmp-server traps pki 198 | snmp-server traps ipsec tunnel stop 199 | snmp-server traps ipsec tunnel start 200 | snmp-server traps isakmp tunnel stop 201 | snmp-server traps isakmp tunnel start 202 | ssh server v2 203 | ssh server vrf default 204 | ssh server netconf vrf default 205 | snmp-server traps ipsla 206 | snmp-server traps subscriber session-agg node 207 | snmp-server traps subscriber session-agg access-interface 208 | end 209 | -------------------------------------------------------------------------------- /samples_hash/csr2_20230811T074823/show_running-config.txt: -------------------------------------------------------------------------------- 1 | Building configuration... 2 | 3 | Current configuration : 5545 bytes 4 | ! 5 | ! Last configuration change at 10:59:41 UTC Fri Aug 11 2023 by developer 6 | ! 7 | version 16.9 8 | service timestamps debug datetime msec 9 | service timestamps log datetime localtime 10 | platform qfp utilization monitor load 80 11 | no platform punt-keepalive disable-kernel-core 12 | platform console virtual 13 | ! 14 | hostname csr1000v-1 15 | ! 16 | boot-start-marker 17 | boot-end-marker 18 | ! 19 | ! 20 | logging userinfo 21 | logging buffered 12000 notifications 22 | no logging console 23 | enable secret 5 $1$dAnr$MQbNXMNy//wugqUbtZ2vk/ 24 | ! 25 | no aaa new-model 26 | ! 27 | ! 28 | ! 29 | ! 30 | ! 31 | ! 32 | ! 33 | ! 34 | ! 35 | ! 36 | login on-failure log 37 | login on-success log 38 | ! 39 | ! 40 | ! 41 | ! 42 | ! 43 | ! 44 | ! 45 | subscriber templating 46 | ! 47 | ! 48 | ! 49 | ! 50 | ! 51 | sampler AMMAR 52 | mode random 1 out-of 20 53 | ! 54 | multilink bundle-name authenticated 55 | ! 56 | ! 57 | ! 58 | ! 59 | ! 60 | crypto pki trustpoint TP-self-signed-65385644 61 | enrollment selfsigned 62 | subject-name cn=IOS-Self-Signed-Certificate-65385644 63 | revocation-check none 64 | rsakeypair TP-self-signed-65385644 65 | ! 66 | ! 67 | crypto pki certificate chain TP-self-signed-65385644 68 | certificate self-signed 01 69 | 3082032C 30820214 A0030201 02020101 300D0609 2A864886 F70D0101 05050030 70 | 2F312D30 2B060355 04031324 494F532D 53656C66 2D536967 6E65642D 43657274 71 | 69666963 6174652D 36353338 35363434 301E170D 31393035 32323139 33383539 72 | 5A170D33 30303130 31303030 3030305A 302F312D 302B0603 55040313 24494F53 73 | 2D53656C 662D5369 676E6564 2D436572 74696669 63617465 2D363533 38353634 74 | 34308201 22300D06 092A8648 86F70D01 01010500 0382010F 00308201 0A028201 75 | 0100C96F D53A4C23 F96F71E2 BA91DAA3 C4546EAD 399F1B32 CA9BB364 C528FFFD 76 | 9F2A0CCE D5FD2756 6452B91B 2DCC328D 6951AEF3 BD25A687 62354EF7 0C68717E 77 | 94BF7B1E 320231A5 FFB9B765 A5616FD3 673709D5 7E89DB6D E6A14B85 E3FE2153 78 | DFA8B852 BB37CCB4 4C523450 2A757DB5 8FB13133 0DE79EAE 579DDFE9 EA4B6C2A 79 | CD8DC33E F69A0F45 020367D1 0C8451F1 AB9C0891 2A1AF1E5 2245E739 43CB1F48 80 | 03324EDF 7A647E25 86552D27 EEE5E05D EB01D886 4D00C47A B9B022AD AACA9E84 81 | 5D5627BD B0D6F2FC C5103F0E 808E5822 86B63301 C2B7B50C BBA6F3D1 471F2A53 82 | B02E5DA1 DC1ECF46 116EAC77 160090AF 7AB23919 1896AA07 6893E638 8CE05F53 83 | E5EB0203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 301F0603 84 | 551D2304 18301680 14A162A4 D3CD7E6B 7E775D4E CA02E2DA 5AEBC668 45301D06 85 | 03551D0E 04160414 A162A4D3 CD7E6B7E 775D4ECA 02E2DA5A EBC66845 300D0609 86 | 2A864886 F70D0101 05050003 82010100 8034A615 EED522BA 8A4D45D9 107A1C72 87 | B622ECB6 26EB96AA AD26A14D 34FC54B6 93F03F5D F1C1F1DB C716B213 67342ADF 88 | 0E4F4313 00C19914 B8EAD89F D90FDCF7 943D9304 3E3158A7 2E7558D3 C90D9540 89 | F8CDB4AE 9A266418 DA396402 6954BAA6 D49FB91B 5795EBD7 17C260BA AD2DCD40 90 | 6C86E58F 3D521061 A7ADC34D B1875BBA A5EC9877 57D65870 1134D226 EA884C43 91 | CEA1F154 905F1872 E5FA575F 9C060B34 BA18FBB5 E03AB440 12D37659 B70A7C8A 92 | 9D32DD93 95BBE653 F39D1A30 2062C41C B3857FA5 9C6E2FAE 61E10F20 7B8994B9 93 | DADCE497 38BD1450 8D1BF507 E9C0CD94 EFED9FA2 D888C58F 700A7182 1A2F12B2 94 | 32AF600E 7623C1E2 026B06FA EA75E800 95 | quit 96 | ! 97 | ! 98 | ! 99 | ! 100 | ! 101 | ! 102 | ! 103 | ! 104 | license udi pid CSR1000V sn 926V75BDNRJ 105 | license accept end user agreement 106 | license boot level ax 107 | no license smart enable 108 | diagnostic bootup level minimal 109 | ! 110 | spanning-tree extend system-id 111 | archive 112 | log config 113 | logging enable 114 | ! 115 | netconf-yang 116 | ! 117 | restconf 118 | ! 119 | username developer privilege 15 secret 5 $1$Anez$e3JokiVvI4unDNdZ20HEG1 120 | username root privilege 15 secret 5 $1$mB0Z$srZ2lQWnzAC5JjFaTzJBn1 121 | ! 122 | redundancy 123 | ! 124 | ! 125 | ! 126 | ! 127 | ! 128 | ! 129 | ! 130 | class-map match-any ANY 131 | match access-group name CUST-CMAP 132 | ! 133 | policy-map 200M 134 | class ANY 135 | policy-map 100M 136 | class ANY 137 | ! 138 | ! 139 | ! 140 | ! 141 | ! 142 | ! 143 | ! 144 | ! 145 | ! 146 | ! 147 | ! 148 | ! 149 | ! 150 | ! 151 | ! 152 | ! 153 | ! 154 | ! 155 | interface Loopback55 156 | description test55 157 | ip address 192.168.10.1 255.255.255.255 158 | service-policy input 200M 159 | service-policy output 200M 160 | ! 161 | interface Loopback100 162 | ip address 100.100.100.100 255.255.255.255 163 | ! 164 | interface Loopback500 165 | description test interface 166 | ip address 172.31.1.1 255.255.255.0 167 | ! 168 | interface Loopback501 169 | description MOK 170 | ip address 172.31.11.11 255.255.255.0 171 | ! 172 | interface Loopback1011 173 | description Configured by RESTCONF 174 | ip address 10.16.10.1 255.255.255.0 175 | ! 176 | interface Loopback1012 177 | description Configured by RESTCONF 178 | ip address 10.16.11.1 255.255.255.0 179 | ! 180 | interface Loopback1013 181 | description Configured by RESTCONF 182 | ip address 10.16.12.1 255.255.255.0 183 | ! 184 | interface Loopback1014 185 | ip address 10.16.13.1 255.255.255.0 186 | ! 187 | interface GigabitEthernet1 188 | description MANAGEMENT INTERFACE - DON'T TOUCH ME 189 | ip address 10.10.20.48 255.255.255.0 190 | negotiation auto 191 | no mop enabled 192 | no mop sysid 193 | ! 194 | interface GigabitEthernet2 195 | description Network Interface 196 | ip address 1.1.1.1 255.255.255.0 197 | negotiation auto 198 | no mop enabled 199 | no mop sysid 200 | ! 201 | interface GigabitEthernet3 202 | description Network Interface 203 | no ip address 204 | negotiation auto 205 | no mop enabled 206 | no mop sysid 207 | ! 208 | router ospf 1 209 | ! 210 | router bgp 65001 211 | bgp log-neighbor-changes 212 | ! 213 | address-family ipv4 214 | exit-address-family 215 | ! 216 | address-family vpnv4 217 | exit-address-family 218 | ! 219 | address-family rtfilter unicast 220 | exit-address-family 221 | ! 222 | ip forward-protocol nd 223 | ip http server 224 | ip http authentication local 225 | ip http secure-server 226 | ip route 0.0.0.0 0.0.0.0 GigabitEthernet1 10.10.20.254 227 | ! 228 | ip ssh maxstartups 128 229 | ip ssh rsa keypair-name ssh-key 230 | ip ssh version 2 231 | ip scp server enable 232 | ! 233 | ! 234 | ip access-list extended CUST-CMAP 235 | permit ip any any 236 | logging trap errors 237 | logging facility local5 238 | logging snmp-trap emergencies 239 | logging snmp-trap alerts 240 | logging snmp-trap critical 241 | logging snmp-trap errors 242 | logging snmp-trap warnings 243 | logging host 1.1.1.2 244 | logging host 1.1.1.3 245 | ! 246 | ! 247 | ! 248 | ! 249 | control-plane 250 | ! 251 | ! 252 | ! 253 | ! 254 | ! 255 | banner motd ^C 256 | this is my MOTD for Today 257 | ^C 258 | ! 259 | line con 0 260 | exec-timeout 0 0 261 | stopbits 1 262 | line vty 0 4 263 | exec-timeout 0 0 264 | login local 265 | transport input ssh 266 | ! 267 | ! 268 | ! 269 | ! 270 | ! 271 | ! 272 | end 273 | -------------------------------------------------------------------------------- /samples_nohash/vmx1_20210629T142431/show_interfaces_brief.txt: -------------------------------------------------------------------------------- 1 | Physical interface: cbp0, Enabled, Physical link is Up 2 | Type: Ethernet, Link-level type: Ethernet, MTU: 9192, Clocking: Unspecified, Speed: Unspecified 3 | Device flags : Present Running 4 | Interface flags: SNMP-Traps 5 | 6 | Physical interface: demux0, Enabled, Physical link is Up 7 | Type: Software-Pseudo, Link-level type: Unspecified, MTU: 9192, Clocking: 1, Speed: Unspecified 8 | Device flags : Present Running 9 | Interface flags: Point-To-Point SNMP-Traps 10 | 11 | Physical interface: dsc, Enabled, Physical link is Up 12 | Type: Software-Pseudo, Link-level type: Unspecified, MTU: Unlimited, Clocking: Unspecified, Speed: Unspecified 13 | Device flags : Present Running 14 | Interface flags: Point-To-Point SNMP-Traps 15 | 16 | Physical interface: em1, Enabled, Physical link is Up 17 | Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 1000mbps 18 | Device flags : Present Running 19 | Interface flags: SNMP-Traps 20 | 21 | Logical interface em1.0 22 | Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2 23 | inet 10.0.0.4/8 24 | 128.0.0.1/2 25 | 128.0.0.4/2 26 | inet6 fe80::5254:ff:fe12:bdfe/64 27 | fec0::a:0:0:4/64 28 | tnp 0x4 29 | 30 | Physical interface: esi, Enabled, Physical link is Up 31 | Type: Software-Pseudo, Link-level type: VxLAN-Tunnel-Endpoint, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 32 | Device flags : Present Running 33 | Interface flags: SNMP-Traps 34 | 35 | Physical interface: fti0, Enabled, Physical link is Up 36 | Type: FTI, Link-level type: Flexible-tunnel-Interface, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 37 | Device flags : Present Running 38 | Interface flags: SNMP-Traps 39 | 40 | Physical interface: fti1, Enabled, Physical link is Up 41 | Type: FTI, Link-level type: Flexible-tunnel-Interface, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 42 | Device flags : Present Running 43 | Interface flags: SNMP-Traps 44 | 45 | Physical interface: fti2, Enabled, Physical link is Up 46 | Type: FTI, Link-level type: Flexible-tunnel-Interface, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 47 | Device flags : Present Running 48 | Interface flags: SNMP-Traps 49 | 50 | Physical interface: fti3, Enabled, Physical link is Up 51 | Type: FTI, Link-level type: Flexible-tunnel-Interface, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 52 | Device flags : Present Running 53 | Interface flags: SNMP-Traps 54 | 55 | Physical interface: fti4, Enabled, Physical link is Up 56 | Type: FTI, Link-level type: Flexible-tunnel-Interface, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 57 | Device flags : Present Running 58 | Interface flags: SNMP-Traps 59 | 60 | Physical interface: fti5, Enabled, Physical link is Up 61 | Type: FTI, Link-level type: Flexible-tunnel-Interface, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 62 | Device flags : Present Running 63 | Interface flags: SNMP-Traps 64 | 65 | Physical interface: fti6, Enabled, Physical link is Up 66 | Type: FTI, Link-level type: Flexible-tunnel-Interface, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 67 | Device flags : Present Running 68 | Interface flags: SNMP-Traps 69 | 70 | Physical interface: fti7, Enabled, Physical link is Up 71 | Type: FTI, Link-level type: Flexible-tunnel-Interface, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 72 | Device flags : Present Running 73 | Interface flags: SNMP-Traps 74 | 75 | Physical interface: fxp0, Enabled, Physical link is Up 76 | Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: 1000mbps 77 | Device flags : Present Running 78 | Interface flags: SNMP-Traps 79 | 80 | Logical interface fxp0.0 81 | Flags: Up SNMP-Traps 0x4004000 Encapsulation: ENET2 82 | inet 172.31.39.171/20 83 | 84 | Physical interface: gre, Enabled, Physical link is Up 85 | Type: GRE, Link-level type: GRE, MTU: Unlimited, Speed: Unlimited 86 | Device flags : Present Running 87 | Interface flags: Point-To-Point SNMP-Traps 88 | 89 | Physical interface: ipip, Enabled, Physical link is Up 90 | Type: IPIP, Link-level type: IP-over-IP, MTU: Unlimited, Speed: Unlimited 91 | Device flags : Present Running 92 | Interface flags: SNMP-Traps 93 | 94 | Physical interface: irb, Enabled, Physical link is Up 95 | Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: Unspecified 96 | Device flags : Present Running 97 | Interface flags: SNMP-Traps 98 | 99 | Physical interface: jsrv, Enabled, Physical link is Up 100 | Type: Ethernet, Link-level type: Ethernet, MTU: 1514, Clocking: Unspecified, Speed: Unspecified 101 | Device flags : Present Running 102 | 103 | Logical interface jsrv.1 104 | Flags: Up 0x24004000 Encapsulation: unknown 105 | inet 128.0.0.127/2 106 | 107 | Physical interface: lo0, Enabled, Physical link is Up 108 | Type: Loopback, Link-level type: Unspecified, MTU: Unlimited, Clocking: Unspecified, Speed: Unspecified 109 | Device flags : Present Running Loopback 110 | Interface flags: SNMP-Traps 111 | 112 | Logical interface lo0.16384 113 | Flags: SNMP-Traps Encapsulation: Unspecified 114 | inet 127.0.0.1 --> 0/0 115 | 116 | Logical interface lo0.16385 117 | Flags: SNMP-Traps Encapsulation: Unspecified 118 | inet 119 | 120 | Physical interface: lsi, Enabled, Physical link is Up 121 | Type: Software-Pseudo, Link-level type: LSI, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 122 | Device flags : Present Running 123 | 124 | Physical interface: mif, Enabled, Physical link is Up 125 | Type: Software-Pseudo, Link-level type: Interface-Specific, MTU: 1440, Clocking: Unspecified, Speed: Unspecified 126 | Device flags : Present Running 127 | Interface flags: SNMP-Traps 128 | 129 | Physical interface: mtun, Enabled, Physical link is Up 130 | Type: Multicast-GRE, Link-level type: GRE, MTU: Unlimited, Speed: Unlimited 131 | Device flags : Present Running 132 | Interface flags: SNMP-Traps 133 | 134 | Physical interface: pimd, Enabled, Physical link is Up 135 | Type: PIMD, Link-level type: PIM-Decapsulator, MTU: Unlimited, Speed: Unlimited 136 | Device flags : Present Running 137 | 138 | Physical interface: pime, Enabled, Physical link is Up 139 | Type: PIME, Link-level type: PIM-Encapsulator, MTU: Unlimited, Speed: Unlimited 140 | Device flags : Present Running 141 | 142 | Physical interface: pip0, Enabled, Physical link is Up 143 | Type: Ethernet, Link-level type: Ethernet, MTU: 9192, Clocking: Unspecified, Speed: Unspecified 144 | Device flags : Present Running 145 | Interface flags: SNMP-Traps 146 | 147 | Physical interface: pp0, Enabled, Physical link is Up 148 | Type: PPPoE, Link-level type: PPPoE, MTU: 1532, Speed: Unspecified 149 | Device flags : Present Running 150 | Interface flags: Point-To-Point SNMP-Traps 151 | 152 | Physical interface: rbeb, Enabled, Physical link is Up 153 | Type: Software-Pseudo, Link-level type: Remote-BEB, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 154 | Device flags : Present Running 155 | 156 | Physical interface: tap, Enabled, Physical link is Up 157 | Type: Software-Pseudo, Link-level type: Interface-Specific, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 158 | Device flags : Present Running 159 | Interface flags: SNMP-Traps 160 | 161 | Physical interface: vtep, Enabled, Physical link is Up 162 | Type: Software-Pseudo, Link-level type: VxLAN-Tunnel-Endpoint, MTU: Unlimited, Clocking: Unspecified, Speed: Unlimited 163 | Device flags : Present Running 164 | -------------------------------------------------------------------------------- /samples_hash/csr1_20230811T074823/show_running-config.txt: -------------------------------------------------------------------------------- 1 | Building configuration... 2 | 3 | Current configuration : 7173 bytes 4 | ! 5 | ! Last configuration change at 11:05:07 UTC Fri Aug 11 2023 by admin 6 | ! 7 | version 17.9 8 | service timestamps debug datetime msec 9 | service timestamps log datetime msec 10 | service call-home 11 | platform qfp utilization monitor load 80 12 | platform punt-keepalive disable-kernel-core 13 | platform console virtual 14 | ! 15 | hostname Cat8000V 16 | ! 17 | boot-start-marker 18 | boot-end-marker 19 | ! 20 | ! 21 | no logging console 22 | no aaa new-model 23 | ! 24 | ! 25 | ! 26 | ! 27 | ! 28 | ! 29 | ! 30 | ip domain name cisco.com 31 | ! 32 | ! 33 | ! 34 | login on-success log 35 | ! 36 | ! 37 | ! 38 | ! 39 | ! 40 | ! 41 | ! 42 | subscriber templating 43 | ! 44 | multilink bundle-name authenticated 45 | ! 46 | ! 47 | ! 48 | crypto pki trustpoint TP-self-signed-3209586145 49 | enrollment selfsigned 50 | subject-name cn=IOS-Self-Signed-Certificate-3209586145 51 | revocation-check none 52 | rsakeypair TP-self-signed-3209586145 53 | ! 54 | crypto pki trustpoint SLA-TrustPoint 55 | enrollment pkcs12 56 | revocation-check crl 57 | ! 58 | ! 59 | crypto pki certificate chain TP-self-signed-3209586145 60 | certificate self-signed 01 61 | 30820330 30820218 A0030201 02020101 300D0609 2A864886 F70D0101 05050030 62 | 31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274 63 | 69666963 6174652D 33323039 35383631 3435301E 170D3233 30323237 30353137 64 | 31325A17 0D333330 32323630 35313731 325A3031 312F302D 06035504 03132649 65 | 4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D33 32303935 66 | 38363134 35308201 22300D06 092A8648 86F70D01 01010500 0382010F 00308201 67 | 0A028201 0100DA9D D10B2672 974416C2 BC4F4132 DF8DD724 13BE2BBA 3A40F21C 68 | DA8F647F B7379A91 B23A9F25 8C617395 7B2180E6 1FB61195 1E8535E0 578CD897 69 | 11064E3D 40245DC7 955D0F73 29A72D39 7B50A9E5 6997F18F 9A7671D8 96570923 70 | A4E5D707 623C1774 AD82B10D 73FA170E 4446E280 0012BDB9 F99BC0E4 20BBA9A3 71 | 8479A67D 5C6D358D D90F34E0 E29BA5E8 07040A4B 9F3D7D29 5595C364 DAE77930 72 | 8885165F E6C35D15 5EF140F7 B22D01FF 95A19026 EDDA92F3 7325B5C7 E3F814B0 73 | 7979AB73 D180D8AF CC2BAB70 27145DC4 589EE4B6 4AB09F58 C284E219 75E27BB8 74 | 5FC33333 26226C02 2A94B628 3F82A41C F5181EA6 F59784E5 45194C3B 8D3B6E9C 75 | 79CC8359 8B910203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 76 | 301F0603 551D2304 18301680 14ADE170 B53AA3EC 4C9154DE 1A4CE02B 2E83E88D 77 | D9301D06 03551D0E 04160414 ADE170B5 3AA3EC4C 9154DE1A 4CE02B2E 83E88DD9 78 | 300D0609 2A864886 F70D0101 05050003 82010100 1BBBC609 17446925 5F13E8F0 79 | 85428490 B6E9B9FE 8426798C 7B3699FA C66709D3 E560DD18 0EB98574 506E99F6 80 | E03C0CBC 1D118C1D D0A3E143 1F9D3473 59985621 FE22D26C 066F0824 FADAC2C4 81 | A43B9A68 2CD88E7B B5A76205 1CB38F6A 85A3FAE9 661D1AFA E2E97243 A020E04F 82 | 070DE776 70F7271F 9ABD35C8 D00F8432 B3E4A924 7D65B2CB 6FB273F8 F0AE783A 83 | DE8C6523 509AAA89 E960A434 AE2FBABA F4B6EAC5 99DA4EE1 BBB40C62 58CA607B 84 | 8D8FB003 AB9646AE 55934BA9 5583B917 07B4A7F2 8836033E 8C6EA1D5 98CA6662 85 | D49AB861 F4AF392C 4D91C4E5 56B822A6 1025DA50 FBC03BBA 3EDFEEC6 FB47C9BC 86 | 7F5C09B8 462B2A98 BE23844F 7C95D631 E1A0D30C 87 | quit 88 | crypto pki certificate chain SLA-TrustPoint 89 | certificate ca 01 90 | 30820321 30820209 A0030201 02020101 300D0609 2A864886 F70D0101 0B050030 91 | 32310E30 0C060355 040A1305 43697363 6F312030 1E060355 04031317 43697363 92 | 6F204C69 63656E73 696E6720 526F6F74 20434130 1E170D31 33303533 30313934 93 | 3834375A 170D3338 30353330 31393438 34375A30 32310E30 0C060355 040A1305 94 | 43697363 6F312030 1E060355 04031317 43697363 6F204C69 63656E73 696E6720 95 | 526F6F74 20434130 82012230 0D06092A 864886F7 0D010101 05000382 010F0030 96 | 82010A02 82010100 A6BCBD96 131E05F7 145EA72C 2CD686E6 17222EA1 F1EFF64D 97 | CBB4C798 212AA147 C655D8D7 9471380D 8711441E 1AAF071A 9CAE6388 8A38E520 98 | 1C394D78 462EF239 C659F715 B98C0A59 5BBB5CBD 0CFEBEA3 700A8BF7 D8F256EE 99 | 4AA4E80D DB6FD1C9 60B1FD18 FFC69C96 6FA68957 A2617DE7 104FDC5F EA2956AC 100 | 7390A3EB 2B5436AD C847A2C5 DAB553EB 69A9A535 58E9F3E3 C0BD23CF 58BD7188 101 | 68E69491 20F320E7 948E71D7 AE3BCC84 F10684C7 4BC8E00F 539BA42B 42C68BB7 102 | C7479096 B4CB2D62 EA2F505D C7B062A4 6811D95B E8250FC4 5D5D5FB8 8F27D191 103 | C55F0D76 61F9A4CD 3D992327 A8BB03BD 4E6D7069 7CBADF8B DF5F4368 95135E44 104 | DFC7C6CF 04DD7FD1 02030100 01A34230 40300E06 03551D0F 0101FF04 04030201 105 | 06300F06 03551D13 0101FF04 05300301 01FF301D 0603551D 0E041604 1449DC85 106 | 4B3D31E5 1B3E6A17 606AF333 3D3B4C73 E8300D06 092A8648 86F70D01 010B0500 107 | 03820101 00507F24 D3932A66 86025D9F E838AE5C 6D4DF6B0 49631C78 240DA905 108 | 604EDCDE FF4FED2B 77FC460E CD636FDB DD44681E 3A5673AB 9093D3B1 6C9E3D8B 109 | D98987BF E40CBD9E 1AECA0C2 2189BB5C 8FA85686 CD98B646 5575B146 8DFC66A8 110 | 467A3DF4 4D565700 6ADF0F0D CF835015 3C04FF7C 21E878AC 11BA9CD2 55A9232C 111 | 7CA7B7E6 C1AF74F6 152E99B7 B1FCF9BB E973DE7F 5BDDEB86 C71E3B49 1765308B 112 | 5FB0DA06 B92AFE7F 494E8A9E 07B85737 F3A58BE1 1A48A229 C37C1E69 39F08678 113 | 80DDCD16 D6BACECA EEBC7CF9 8428787B 35202CDC 60E4616A B623CDBD 230E3AFB 114 | 418616A9 4093E049 4D10AB75 27E86F73 932E35B5 8862FDAE 0275156F 719BB2F0 115 | D697DF7F 28 116 | quit 117 | ! 118 | license udi pid C8000V sn 9UWS2FADP45 119 | diagnostic bootup level minimal 120 | memory free low-watermark processor 63709 121 | ! 122 | ! 123 | ! 124 | username admin privilege 15 secret 9 $9$lgJxy7Ga.Th5FU$gocFhcHC/8pvixGr.s2wB7X59FiGVvwYawfCPrmaJuY 125 | ! 126 | redundancy 127 | ! 128 | ! 129 | ! 130 | ! 131 | ! 132 | ! 133 | ! 134 | ! 135 | interface Loopback0 136 | ip address 10.0.0.1 255.255.255.0 137 | ! 138 | interface Loopback10 139 | no ip address 140 | ! 141 | interface Loopback109 142 | description Configured by RESTCONF ga jadi 143 | ip address 10.255.255.9 255.255.255.0 144 | ! 145 | interface VirtualPortGroup0 146 | ip address 192.168.1.1 255.255.255.0 147 | ip nat inside 148 | ! 149 | interface GigabitEthernet1 150 | description MANAGEMENT INTERFACE - DON'T TOUCH ME 151 | ip address 10.10.20.48 255.255.255.0 152 | negotiation auto 153 | ! 154 | interface GigabitEthernet2 155 | description Configured By YangSuit 156 | no ip address 157 | shutdown 158 | negotiation auto 159 | ! 160 | interface GigabitEthernet3 161 | description Network Interface 162 | no ip address 163 | shutdown 164 | negotiation auto 165 | ! 166 | iox 167 | ip forward-protocol nd 168 | ip http server 169 | ip http authentication local 170 | ip http secure-server 171 | ! 172 | ip nat inside source list NAT-ACL interface GigabitEthernet1 overload 173 | ip route 0.0.0.0 0.0.0.0 GigabitEthernet1 10.10.20.254 174 | ip ssh rsa keypair-name ssh-key 175 | ip ssh version 2 176 | ip scp server enable 177 | ! 178 | ip access-list extended NAT-ACL 179 | 10 permit ip 192.168.1.0 0.0.0.255 any 180 | ip access-list extended Test 181 | 10 permit ip any host 1.1.1.1 182 | ! 183 | ! 184 | ! 185 | ! 186 | control-plane 187 | ! 188 | banner motd ^C 189 | Welcome to the DevNet Sandbox for Cat8000V and IOS XE 190 | 191 | The following programmability features are already enabled: 192 | 193 | -NETCONF 194 | -RESTCONF 195 | 196 | Thanks for stopping by. 197 | ^C 198 | ! 199 | line con 0 200 | exec-timeout 0 0 201 | stopbits 1 202 | line aux 0 203 | line vty 0 4 204 | login local 205 | length 0 206 | transport input ssh 207 | ! 208 | call-home 209 | ! If contact email address in call-home is configured as sch-smart-licensing@cisco.com 210 | ! the email address configured in Cisco Smart License Portal will be used as contact email address to send SCH notifications. 211 | contact-email-addr sch-smart-licensing@cisco.com 212 | profile "CiscoTAC-1" 213 | active 214 | destination transport-method http 215 | ! 216 | ! 217 | ! 218 | ! 219 | ! 220 | ! 221 | telemetry ietf subscription 101 222 | encoding encode-kvgpb 223 | filter xpath /process-cpu-ios-xe-oper:cpu-usage/cpu-utilization/five-seconds 224 | stream yang-push 225 | update-policy periodic 100 226 | receiver ip address 10.10.20.50 57500 protocol grpc-tcp 227 | app-hosting appid guestshell 228 | app-vnic gateway0 virtualportgroup 0 guest-interface 0 229 | guest-ipaddress 192.168.1.2 netmask 255.255.255.0 230 | name-server0 8.8.8.8 231 | netconf-yang 232 | restconf 233 | end 234 | -------------------------------------------------------------------------------- /samples_hash/n9k1_20230811T074823/show_running-config.txt: -------------------------------------------------------------------------------- 1 | !Command: show running-config 2 | !Running configuration last done at: Wed Aug 9 11:44:13 2023 3 | !Time: Wed Aug 9 12:25:12 2023 4 | 5 | version 9.3(3) Bios:version 6 | switchname sbx-ao 7 | vdc sbx-ao id 1 8 | limit-resource vlan minimum 16 maximum 4094 9 | limit-resource vrf minimum 2 maximum 4096 10 | limit-resource port-channel minimum 0 maximum 511 11 | limit-resource u4route-mem minimum 248 maximum 248 12 | limit-resource u6route-mem minimum 96 maximum 96 13 | limit-resource m4route-mem minimum 58 maximum 58 14 | limit-resource m6route-mem minimum 8 maximum 8 15 | 16 | feature nxapi 17 | feature bash-shell 18 | feature scp-server 19 | feature ospf 20 | feature bgp 21 | feature netconf 22 | feature restconf 23 | feature grpc 24 | feature interface-vlan 25 | 26 | username admin password 5 $5$QHsjkRNS$AmVcv7uxx4xYtWYCiinb.T5Jmkzm1rQ7G0ccMjXqzIC role network-admin 27 | 28 | banner motd ^ 29 | Welcome to the DevNet Always On Sandbox for Open NX-OS 30 | 31 | This is a shared sandbox available for anyone to use to 32 | test APIs, explore features, and test scripts. Please 33 | keep this in mind as you use it, and respect others use. 34 | 35 | The following programmability features are already enabled: 36 | - NX-API 37 | - NETCONF, RESTCONF, gRPC 38 | - Native NX-OS and OpenConfig YANG Models 39 | 40 | Thanks for stopping by. 41 | ^ 42 | 43 | ip domain-lookup 44 | radius-server host 172.16.1.12 key 7 "VwritosWsgsziGio" authentication accounting 45 | radius-server host 172.16.1.13 key 7 "VwritosWsgsziGio" authentication accounting 46 | aaa group server radius AAA-Radius-Group 47 | server 172.16.1.12 48 | server 172.16.1.13 49 | use-vrf management 50 | copp profile strict 51 | snmp-server contact DevNet-Sandbox 52 | snmp-server location Always-On-Sandbox 53 | snmp-server source-interface traps mgmt0 54 | snmp-server user admin auth md5 0xe296d8d231ffa9be6276fd4c513b40a8 priv 0xe296d8d231ffa9be6276fd4c513b40a8 localizedkey engineID 128:0:0:9:3:0:187:44:252:27:1 55 | rmon event 1 description FATAL(1) owner PMON@FATAL 56 | rmon event 2 description CRITICAL(2) owner PMON@CRITICAL 57 | rmon event 3 description ERROR(3) owner PMON@ERROR 58 | rmon event 4 description WARNING(4) owner PMON@WARNING 59 | rmon event 5 description INFORMATION(5) owner PMON@INFO 60 | snmp-server enable traps callhome event-notify 61 | snmp-server enable traps callhome smtp-send-fail 62 | snmp-server enable traps cfs state-change-notif 63 | snmp-server enable traps cfs merge-failure 64 | snmp-server enable traps aaa server-state-change 65 | snmp-server enable traps feature-control FeatureOpStatusChange 66 | snmp-server enable traps sysmgr cseFailSwCoreNotifyExtended 67 | snmp-server enable traps config ccmCLIRunningConfigChanged 68 | snmp-server enable traps snmp authentication 69 | snmp-server enable traps link cisco-xcvr-mon-status-chg 70 | snmp-server enable traps vtp notifs 71 | snmp-server enable traps vtp vlancreate 72 | snmp-server enable traps vtp vlandelete 73 | snmp-server enable traps bridge newroot 74 | snmp-server enable traps bridge topologychange 75 | snmp-server enable traps stpx inconsistency 76 | snmp-server enable traps stpx root-inconsistency 77 | snmp-server enable traps stpx loop-inconsistency 78 | snmp-server enable traps system Clock-change-notification 79 | snmp-server enable traps feature-control ciscoFeatOpStatusChange 80 | snmp-server enable traps mmode cseNormalModeChangeNotify 81 | snmp-server enable traps mmode cseMaintModeChangeNotify 82 | snmp-server community DevNetSandboxReadSNMP group network-operator 83 | snmp-server community DevNetSandboxWriteSNMP group network-admin 84 | ntp server 172.16.0.1 use-vrf default 85 | ntp peer 172.16.1.11 use-vrf management key 1 86 | ntp source-interface mgmt0 87 | ntp authenticate 88 | ntp authentication-key 1 md5 QPTFmtc 7 89 | 90 | vlan 1-9,100-105 91 | vlan 100 92 | name mgmt 93 | vlan 101 94 | name LL_VLAN_DEMO1 95 | vlan 102 96 | name dev 97 | vlan 103 98 | name test 99 | vlan 104 100 | name security 101 | vlan 105 102 | name iot 103 | 104 | vrf context management 105 | ip route 0.0.0.0/0 10.10.20.254 106 | 107 | interface Vlan1 108 | 109 | interface Vlan100 110 | description mgmt svi - DEMO PLEASE DON'T TOUCH 111 | ip address 172.16.100.1/24 112 | ip router ospf 1 area 0.0.0.0 113 | 114 | interface Vlan101 115 | description prod svi - DEMO PLEASE DON'T TOUCH 116 | ip address 172.16.101.1/24 117 | ip router ospf 1 area 0.0.0.0 118 | 119 | interface Vlan102 120 | description dev svi - DEMO PLEASE DON'T TOUCH 121 | ip address 172.16.102.1/24 122 | ip router ospf 1 area 0.0.0.0 123 | 124 | interface Vlan103 125 | description test svi - DEMO PLEASE DON'T TOUCH 126 | ip address 172.16.103.1/24 127 | ip router ospf 1 area 0.0.0.0 128 | 129 | interface Vlan104 130 | description security svi - DEMO PLEASE DON'T TOUCH 131 | ip address 172.16.104.1/24 132 | ip router ospf 1 area 0.0.0.0 133 | 134 | interface Vlan105 135 | description iot svi - DEMO PLEASE DON'T TOUCH 136 | ip address 172.16.105.1/24 137 | ip router ospf 1 area 0.0.0.0 138 | 139 | interface port-channel11 140 | switchport mode trunk 141 | switchport trunk allowed vlan 100-110 142 | 143 | interface Ethernet1/1 144 | switchport mode trunk 145 | switchport trunk allowed vlan 100-110 146 | channel-group 11 147 | 148 | interface Ethernet1/2 149 | switchport mode trunk 150 | switchport trunk allowed vlan 100-110 151 | channel-group 11 152 | 153 | interface Ethernet1/3 154 | 155 | interface Ethernet1/4 156 | 157 | interface Ethernet1/5 158 | description L3 Link 159 | no switchport 160 | ip address 172.16.1.1/30 161 | ip ospf network broadcast 162 | no ip ospf passive-interface 163 | ip router ospf 1 area 0.0.0.0 164 | 165 | interface Ethernet1/6 166 | 167 | interface Ethernet1/7 168 | 169 | interface Ethernet1/8 170 | 171 | interface Ethernet1/9 172 | 173 | interface Ethernet1/10 174 | 175 | interface Ethernet1/11 176 | 177 | interface Ethernet1/12 178 | 179 | interface Ethernet1/13 180 | 181 | interface Ethernet1/14 182 | 183 | interface Ethernet1/15 184 | 185 | interface Ethernet1/16 186 | 187 | interface Ethernet1/17 188 | 189 | interface Ethernet1/18 190 | 191 | interface Ethernet1/19 192 | 193 | interface Ethernet1/20 194 | 195 | interface Ethernet1/21 196 | 197 | interface Ethernet1/22 198 | 199 | interface Ethernet1/23 200 | 201 | interface Ethernet1/24 202 | 203 | interface Ethernet1/25 204 | 205 | interface Ethernet1/26 206 | 207 | interface Ethernet1/27 208 | 209 | interface Ethernet1/28 210 | 211 | interface Ethernet1/29 212 | 213 | interface Ethernet1/30 214 | 215 | interface Ethernet1/31 216 | 217 | interface Ethernet1/32 218 | 219 | interface Ethernet1/33 220 | 221 | interface Ethernet1/34 222 | 223 | interface Ethernet1/35 224 | 225 | interface Ethernet1/36 226 | 227 | interface Ethernet1/37 228 | description Configured by NETCONF 229 | 230 | interface Ethernet1/38 231 | 232 | interface Ethernet1/39 233 | 234 | interface Ethernet1/40 235 | 236 | interface Ethernet1/41 237 | 238 | interface Ethernet1/42 239 | 240 | interface Ethernet1/43 241 | 242 | interface Ethernet1/44 243 | 244 | interface Ethernet1/45 245 | 246 | interface Ethernet1/46 247 | 248 | interface Ethernet1/47 249 | 250 | interface Ethernet1/48 251 | 252 | interface Ethernet1/49 253 | 254 | interface Ethernet1/50 255 | 256 | interface Ethernet1/51 257 | 258 | interface Ethernet1/52 259 | 260 | interface Ethernet1/53 261 | 262 | interface Ethernet1/54 263 | 264 | interface Ethernet1/55 265 | 266 | interface Ethernet1/56 267 | 268 | interface Ethernet1/57 269 | 270 | interface Ethernet1/58 271 | 272 | interface Ethernet1/59 273 | 274 | interface Ethernet1/60 275 | 276 | interface Ethernet1/61 277 | 278 | interface Ethernet1/62 279 | 280 | interface Ethernet1/63 281 | 282 | interface Ethernet1/64 283 | 284 | interface mgmt0 285 | description DO NOT TOUCH CONFIG ON THIS INTERFACE 286 | vrf member management 287 | ip address 10.10.20.95/24 288 | 289 | interface loopback1 290 | ip address 172.16.0.1/32 291 | 292 | interface loopback30 293 | description My Learning Lab Loopback 294 | 295 | interface loopback98 296 | description Configured using OpenConfig Model 297 | ip address 10.98.98.1/24 298 | 299 | interface loopback99 300 | description Full intf config via NETCONF 301 | ip address 10.99.99.1/24 302 | line console 303 | exec-timeout 0 304 | terminal width 511 305 | line vty 306 | boot nxos bootflash:/nxos.9.3.3.bin sup-1 307 | router ospf 1 308 | router-id 172.16.0.1 309 | passive-interface default 310 | router bgp 65535 311 | router-id 172.16.0.1 312 | timers prefix-peer-timeout 30 313 | address-family ipv4 unicast 314 | network 172.16.0.0/16 315 | neighbor 172.16.0.2 316 | remote-as 65535 317 | -------------------------------------------------------------------------------- /samples_nohash/csr2_20210629T142431/show_running-config.txt: -------------------------------------------------------------------------------- 1 | Building configuration... 2 | 3 | Current configuration : 7724 bytes 4 | ! 5 | ! Last configuration change at 13:52:43 UTC Tue Jun 29 2021 6 | ! 7 | version 17.3 8 | service timestamps debug datetime msec 9 | service timestamps log datetime msec 10 | service password-encryption 11 | service call-home 12 | platform qfp utilization monitor load 80 13 | platform punt-keepalive disable-kernel-core 14 | platform console virtual 15 | ! 16 | hostname CSR2 17 | ! 18 | boot-start-marker 19 | boot-end-marker 20 | ! 21 | ! 22 | vrf definition GS 23 | rd 100:100 24 | ! 25 | address-family ipv4 26 | exit-address-family 27 | ! 28 | logging persistent size 1000000 filesize 8192 immediate 29 | ! 30 | no aaa new-model 31 | ! 32 | ! 33 | ! 34 | ! 35 | ! 36 | ! 37 | ! 38 | ! 39 | ! 40 | ! 41 | login on-success log 42 | ! 43 | ! 44 | ! 45 | ! 46 | ! 47 | ! 48 | ! 49 | subscriber templating 50 | ! 51 | ! 52 | ! 53 | ! 54 | ! 55 | ! 56 | multilink bundle-name authenticated 57 | ! 58 | ! 59 | ! 60 | ! 61 | ! 62 | ! 63 | ! 64 | ! 65 | ! 66 | ! 67 | ! 68 | ! 69 | ! 70 | ! 71 | ! 72 | crypto pki trustpoint TP-self-signed-4083563442 73 | enrollment selfsigned 74 | subject-name cn=IOS-Self-Signed-Certificate-4083563442 75 | revocation-check none 76 | rsakeypair TP-self-signed-4083563442 77 | ! 78 | crypto pki trustpoint SLA-TrustPoint 79 | enrollment pkcs12 80 | revocation-check crl 81 | ! 82 | ! 83 | crypto pki certificate chain TP-self-signed-4083563442 84 | certificate self-signed 01 85 | 30820330 30820218 A0030201 02020101 300D0609 2A864886 F70D0101 05050030 86 | 31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274 87 | 69666963 6174652D 34303833 35363334 3432301E 170D3231 30323138 32303230 88 | 31345A17 0D333130 32313832 30323031 345A3031 312F302D 06035504 03132649 89 | 4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D34 30383335 90 | 36333434 32308201 22300D06 092A8648 86F70D01 01010500 0382010F 00308201 91 | 0A028201 0100AC58 51E20370 59F6AD11 98283AEE 792E7DCC 7E34EACE 0ECB8E38 92 | BE6AE008 6D154161 75AA29C2 9BCCC9CD E68B5414 2ECDE88F 9950CE67 B5074F8F 93 | D1F037D5 DE35B875 1ECF54E2 8AD8EB8B 672BE836 2A9D22B1 42B4DD37 74C065D5 94 | 1AFBF003 B6ED0589 44CC6A9A D881FE27 4F641654 9136E77E B67C418B 412B187B 95 | D62EB6C5 986F3C24 1D470D0B 2B4FF683 A910329E 1115DC0F 6A89EC1A 75035F7C 96 | 74275607 C74CB615 68C8EB21 73D455EC 328CC9AC 330ABCF0 B97E5034 32ED70A9 97 | 2968548F 907CC698 07C79BBC 850C4AF9 89ADC281 D27475F2 D0BEB91E F81E70AA 98 | 72A20644 FAB7EAB1 196445CA F7B38F01 51032413 0E13F642 20517600 6A6063B2 99 | DC236788 56470203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 100 | 301F0603 551D2304 18301680 14990940 3D83A8F5 24F264B0 5D96DF5F 7D230BB6 101 | 3D301D06 03551D0E 04160414 9909403D 83A8F524 F264B05D 96DF5F7D 230BB63D 102 | 300D0609 2A864886 F70D0101 05050003 82010100 8E2AC493 80B85739 80311195 103 | AAC515E9 C6E6DDEC 71FA5B24 FB84F415 EDC8CFBB 13198B2B 662EE236 92F9E3F7 104 | 9639F388 32B1764D 0BB9BC2E 483F75E3 8B33D586 31FEEBCE EBD5E18C 935926DF 105 | 89C64BAF 558B08E8 3E5EDEE3 2C34021E CA2B88E1 5BFC94A1 C384DA5A E3FE9305 106 | 12FD67E3 D3D3A2E7 9A6CD322 45CA7507 09EE431C E5431A2F 044B5876 EED3825A 107 | 86E65A52 712D05DB BECDD52D 1CEA1AC1 AF716D18 FCB90471 231F5F64 115F8508 108 | 651442DC 29633DC3 623AA022 C8D18C30 7F714B5B 8316555F 590134AE DA2F34C5 109 | F6ED7844 AB68CF2F 3D66D19D 661E5867 628D96A5 126C68C7 00E5EA52 CA29783C 110 | 231C9AFA 97D08BC2 6DC80F36 91FAFA7D FC465E08 111 | quit 112 | crypto pki certificate chain SLA-TrustPoint 113 | certificate ca 01 114 | 30820321 30820209 A0030201 02020101 300D0609 2A864886 F70D0101 0B050030 115 | 32310E30 0C060355 040A1305 43697363 6F312030 1E060355 04031317 43697363 116 | 6F204C69 63656E73 696E6720 526F6F74 20434130 1E170D31 33303533 30313934 117 | 3834375A 170D3338 30353330 31393438 34375A30 32310E30 0C060355 040A1305 118 | 43697363 6F312030 1E060355 04031317 43697363 6F204C69 63656E73 696E6720 119 | 526F6F74 20434130 82012230 0D06092A 864886F7 0D010101 05000382 010F0030 120 | 82010A02 82010100 A6BCBD96 131E05F7 145EA72C 2CD686E6 17222EA1 F1EFF64D 121 | CBB4C798 212AA147 C655D8D7 9471380D 8711441E 1AAF071A 9CAE6388 8A38E520 122 | 1C394D78 462EF239 C659F715 B98C0A59 5BBB5CBD 0CFEBEA3 700A8BF7 D8F256EE 123 | 4AA4E80D DB6FD1C9 60B1FD18 FFC69C96 6FA68957 A2617DE7 104FDC5F EA2956AC 124 | 7390A3EB 2B5436AD C847A2C5 DAB553EB 69A9A535 58E9F3E3 C0BD23CF 58BD7188 125 | 68E69491 20F320E7 948E71D7 AE3BCC84 F10684C7 4BC8E00F 539BA42B 42C68BB7 126 | C7479096 B4CB2D62 EA2F505D C7B062A4 6811D95B E8250FC4 5D5D5FB8 8F27D191 127 | C55F0D76 61F9A4CD 3D992327 A8BB03BD 4E6D7069 7CBADF8B DF5F4368 95135E44 128 | DFC7C6CF 04DD7FD1 02030100 01A34230 40300E06 03551D0F 0101FF04 04030201 129 | 06300F06 03551D13 0101FF04 05300301 01FF301D 0603551D 0E041604 1449DC85 130 | 4B3D31E5 1B3E6A17 606AF333 3D3B4C73 E8300D06 092A8648 86F70D01 010B0500 131 | 03820101 00507F24 D3932A66 86025D9F E838AE5C 6D4DF6B0 49631C78 240DA905 132 | 604EDCDE FF4FED2B 77FC460E CD636FDB DD44681E 3A5673AB 9093D3B1 6C9E3D8B 133 | D98987BF E40CBD9E 1AECA0C2 2189BB5C 8FA85686 CD98B646 5575B146 8DFC66A8 134 | 467A3DF4 4D565700 6ADF0F0D CF835015 3C04FF7C 21E878AC 11BA9CD2 55A9232C 135 | 7CA7B7E6 C1AF74F6 152E99B7 B1FCF9BB E973DE7F 5BDDEB86 C71E3B49 1765308B 136 | 5FB0DA06 B92AFE7F 494E8A9E 07B85737 F3A58BE1 1A48A229 C37C1E69 39F08678 137 | 80DDCD16 D6BACECA EEBC7CF9 8428787B 35202CDC 60E4616A B623CDBD 230E3AFB 138 | 418616A9 4093E049 4D10AB75 27E86F73 932E35B5 8862FDAE 0275156F 719BB2F0 139 | D697DF7F 28 140 | quit 141 | ! 142 | license udi pid CSR1000V sn 9Z572SUEARL 143 | diagnostic bootup level minimal 144 | memory free low-watermark processor 71507 145 | ! 146 | ! 147 | spanning-tree extend system-id 148 | ! 149 | username ec2-user privilege 15 150 | username admin privilege 15 password 7 14161606050A 151 | ! 152 | redundancy 153 | ! 154 | ! 155 | ! 156 | ! 157 | ! 158 | ! 159 | ! 160 | ! 161 | ! 162 | ! 163 | ! 164 | ! 165 | ! 166 | ! 167 | ! 168 | ! 169 | ! 170 | ! 171 | ! 172 | ! 173 | ! 174 | ! 175 | ! 176 | ! 177 | ! 178 | interface Loopback0 179 | ip address 10.0.0.102 255.255.255.255 180 | ip ospf 1 area 0 181 | ! 182 | interface Tunnel12 183 | ip address 10.1.2.2 255.255.255.0 184 | ip ospf 1 area 0 185 | tunnel source GigabitEthernet1 186 | tunnel destination 172.31.36.115 187 | ! 188 | interface VirtualPortGroup0 189 | vrf forwarding GS 190 | ip address 192.168.35.101 255.255.255.0 191 | ip nat inside 192 | no mop enabled 193 | no mop sysid 194 | ! 195 | interface GigabitEthernet1 196 | ip address dhcp 197 | ip nat outside 198 | negotiation auto 199 | no mop enabled 200 | no mop sysid 201 | ! 202 | router ospf 1 203 | ! 204 | ip forward-protocol nd 205 | ip tcp window-size 8192 206 | no ip http server 207 | ip http authentication local 208 | no ip http secure-server 209 | ! 210 | ip nat inside source list GS_NAT_ACL interface GigabitEthernet1 vrf GS overload 211 | ip route 0.0.0.0 0.0.0.0 GigabitEthernet1 172.31.32.1 212 | ip route vrf GS 0.0.0.0 0.0.0.0 GigabitEthernet1 172.31.32.1 global 213 | ip ssh rsa keypair-name ssh-key 214 | ip ssh version 2 215 | ip ssh pubkey-chain 216 | username ec2-user 217 | key-hash ssh-rsa 2B1E195AC732D9FBC7D70B9871DA7CB7 ec2-user 218 | ip ssh server algorithm publickey ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-rsa x509v3-ecdsa-sha2-nistp256 x509v3-ecdsa-sha2-nistp384 x509v3-ecdsa-sha2-nistp521 219 | ip scp server enable 220 | ! 221 | ip access-list standard GS_NAT_ACL 222 | 10 permit 192.168.35.0 0.0.0.255 223 | ! 224 | ! 225 | ip sla 101 226 | udp-jitter 10.0.0.101 16384 227 | tos 184 228 | verify-data 229 | tag CSR1 230 | ip sla schedule 101 life forever start-time now 231 | ip sla 102 232 | udp-jitter 10.0.0.102 16384 233 | tos 184 234 | verify-data 235 | tag CSR2 236 | ip sla schedule 102 life forever start-time now 237 | ip sla responder 238 | ! 239 | ! 240 | ! 241 | ! 242 | ! 243 | control-plane 244 | ! 245 | ! 246 | ! 247 | ! 248 | ! 249 | ! 250 | line con 0 251 | stopbits 1 252 | line vty 0 4 253 | login local 254 | transport input ssh 255 | line vty 5 20 256 | login local 257 | transport input ssh 258 | ! 259 | call-home 260 | ! If contact email address in call-home is configured as sch-smart-licensing@cisco.com 261 | ! the email address configured in Cisco Smart License Portal will be used as contact email address to send SCH notifications. 262 | contact-email-addr sch-smart-licensing@cisco.com 263 | profile "CiscoTAC-1" 264 | active 265 | destination transport-method http 266 | ! 267 | ! 268 | ! 269 | ! 270 | ! 271 | telemetry ietf subscription 100 272 | encoding encode-kvgpb 273 | filter xpath /ip-sla-ios-xe-oper:ip-sla-stats/sla-oper-entry 274 | stream yang-push 275 | update-policy periodic 6000 276 | receiver ip address 172.31.46.67 42518 protocol grpc-tcp 277 | app-hosting appid guestshell 278 | app-vnic gateway1 virtualportgroup 0 guest-interface 0 279 | guest-ipaddress 192.168.35.102 netmask 255.255.255.0 280 | app-default-gateway 192.168.35.101 guest-interface 0 281 | name-server0 8.8.8.8 282 | netconf-yang 283 | netconf-yang feature candidate-datastore 284 | end 285 | -------------------------------------------------------------------------------- /samples_nohash/asav1_20210629T142431/show_running-config.txt: -------------------------------------------------------------------------------- 1 | : Saved 2 | 3 | : 4 | : Serial Number: 9ADFVKDKV8Q 5 | : Hardware: ASAv, 4096 MB RAM, CPU Xeon E5 series 2900 MHz, 1 CPU (2 cores) 6 | : 7 | ASA Version 9.16(1) 8 | ! 9 | hostname ASAV1 10 | enable password ***** pbkdf2 11 | service-module 0 keepalive-timeout 4 12 | service-module 0 keepalive-counter 6 13 | names 14 | no mac-address auto 15 | 16 | ! 17 | interface Management0/0 18 | no management-only 19 | nameif management 20 | security-level 100 21 | ip address dhcp setroute 22 | ! 23 | ftp mode passive 24 | pager lines 23 25 | mtu management 1500 26 | no failover 27 | no failover wait-disable 28 | icmp unreachable rate-limit 1 burst-size 1 29 | no asdm history enable 30 | arp timeout 14400 31 | no arp permit-nonconnected 32 | arp rate-limit 8192 33 | timeout xlate 3:00:00 34 | timeout pat-xlate 0:00:30 35 | timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 sctp 0:02:00 icmp 0:00:02 36 | timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00 37 | timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00 38 | timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute 39 | timeout tcp-proxy-reassembly 0:01:00 40 | timeout floating-conn 0:00:00 41 | timeout conn-holddown 0:00:15 42 | timeout igp stale-route 0:01:10 43 | user-identity default-domain LOCAL 44 | aaa authentication ssh console LOCAL 45 | aaa authorization exec LOCAL auto-enable 46 | aaa authentication login-history 47 | no snmp-server location 48 | no snmp-server contact 49 | crypto ipsec security-association pmtu-aging infinite 50 | crypto ca trustpoint _SmartCallHome_ServerCA 51 | no validation-usage 52 | crl configure 53 | crypto ca trustpoint _SmartCallHome_ServerCA2 54 | no validation-usage 55 | crl configure 56 | crypto ca trustpool policy 57 | auto-import 58 | crypto ca certificate chain _SmartCallHome_ServerCA 59 | certificate ca 0a0142800000014523c844b500000002 60 | 30820560 30820348 a0030201 0202100a 01428000 00014523 c844b500 00000230 61 | 0d06092a 864886f7 0d01010b 0500304a 310b3009 06035504 06130255 53311230 62 | 10060355 040a1309 4964656e 54727573 74312730 25060355 0403131e 4964656e 63 | 54727573 7420436f 6d6d6572 6369616c 20526f6f 74204341 2031301e 170d3134 64 | 30313136 31383132 32335a17 0d333430 31313631 38313232 335a304a 310b3009 65 | 06035504 06130255 53311230 10060355 040a1309 4964656e 54727573 74312730 66 | 25060355 0403131e 4964656e 54727573 7420436f 6d6d6572 6369616c 20526f6f 67 | 74204341 20313082 0222300d 06092a86 4886f70d 01010105 00038202 0f003082 68 | 020a0282 020100a7 5019de3f 993dd433 46f16f51 6182b2a9 4f8f6789 5d84d953 69 | dd0c28d9 d7f0ffae 95437299 f9b55d7c 8ac142e1 315074d1 810d7ccd 9b21ab43 70 | e2acad5e 866ef309 8a1f5a32 bda2eb94 f9e85c0a ecff98d2 af71b3b4 539f4e87 71 | ef92bcbd ec4f3230 884b175e 57c453c2 f602978d d9622bbf 241f628d dfc3b829 72 | 4b49783c 93608822 fc99da36 c8c2a2d4 2c540067 356e73bf 0258f0a4 dde5b0a2 73 | 267acae0 36a51916 f5fdb7ef ae3f40f5 6d5a04fd ce34ca24 dc74231b 5d331312 74 | 5dc40125 f630dd02 5d9fe0d5 47bdb4eb 1ba1bb49 49d89f5b 02f38ae4 2490e462 75 | 4f4fc1af 8b0e7417 a8d17288 6a7a0149 ccb44679 c617b1da 981e0759 fa752185 76 | 65dd9056 cefbaba5 609dc49d f952b08b bd87f98f 2b230a23 763bf733 e1c900f3 77 | 69f94ba2 e04ebc7e 93398407 f744707e fe075ae5 b1acd118 ccf235e5 494908ca 78 | 56c93dfb 0f187d8b 3bc113c2 4d8fc94f 0e37e91f a10e6adf 622ecb35 0651792c 79 | c82538f4 fa4ba789 5c9cd2e3 0d39864a 747cd559 87c23f4e 0c5c52f4 3df75282 80 | f1eaa3ac fd49341a 28f34188 3a13eee8 deff991d 5fbacbe8 1ef2b950 60c031d3 81 | 73e5efbe a0ed330b 74be2020 c4676cf0 08037a55 807f464e 96a7f41e 3ee1f6d8 82 | 09e13364 2b63d732 5e9ff9c0 7b0f786f 97bc939a f99c1290 787a8087 15d77274 83 | 9c557478 b1bae16e 7004ba4f a0ba68c3 7bff31f0 733d3d94 2ab10b41 0ea0fe4d 84 | 88656b79 33b4d702 03010001 a3423040 300e0603 551d0f01 01ff0404 03020106 85 | 300f0603 551d1301 01ff0405 30030101 ff301d06 03551d0e 04160414 ed4419c0 86 | d3f0068b eea47bbe 42e72654 c88e3676 300d0609 2a864886 f70d0101 0b050003 87 | 82020100 0dae9032 f6a64b7c 44761961 1e2728cd 5e54ef25 bce30890 f929d7ae 88 | 6808e194 0058ef2e 2e7e5352 8cb65c07 ea88ba99 8b5094d7 8280df61 090093ad 89 | 0d14e6ce c1f23794 78b05f9c b3a273b8 8f059338 cd8d3eb0 b8fbc0cf b1f2ec2d 90 | 2d1bccec aa9ab3aa 60821b2d 3bc3843d 578a961e 9c75b8d3 30cd6008 8390d38e 91 | 54f14d66 c05d7403 40a3ee85 7ec21f77 9c06e8c1 a7185d52 95edc9dd 259e6dfa 92 | a9eda33a 34d0597b daed50f3 35bfedeb 144d31c7 60f4daf1 879ce248 e2c6c537 93 | fb0610fa 75596631 4729da76 9a1ce982 aeef9ab9 51f78823 9a699562 3ce55580 94 | 36d75402 fff1b95d ced4236f d845844a 5b65ef89 0cdd14a7 20cb18a5 25b40df9 95 | 01f0a2d2 f400c874 8ea12a48 8e65db13 c4e22517 7debbe87 5b172054 51934a53 96 | 030bec5d ca33ed62 fd45c72f 5bdc58a0 8039e6fa d7fe1314 a6ed3d94 4a4274d4 97 | c3775973 cd8f46be 5538effa e89132ea 97580422 de38c3cc bc6dc933 3a6a0a69 98 | 3fa0c8ea 728f8c63 8623bd6d 3c969e95 e0494caa a2b92a1b 9c368178 edc3e846 99 | e2265944 751ed975 8951cd10 849d6160 cb5df997 224d8e98 e6e37ff6 5bbbaecd 100 | ca4a816b 5e0bf351 e1742be9 7e27a7d9 99494ef8 a580db25 0f1c6362 8ac93367 101 | 6b3c1083 c6addea8 cd168e8d f0073771 9ff2abfc 41f5c18b ec00375d 09e54e80 102 | effab15c 3806a51b 4ae1dc38 2d3cdcab 1f901ad5 4a9ceed1 706cccee f457f818 103 | ba846e87 104 | quit 105 | crypto ca certificate chain _SmartCallHome_ServerCA2 106 | certificate ca 0509 107 | 308205b7 3082039f a0030201 02020205 09300d06 092a8648 86f70d01 01050500 108 | 3045310b 30090603 55040613 02424d31 19301706 0355040a 13105175 6f566164 109 | 6973204c 696d6974 6564311b 30190603 55040313 1251756f 56616469 7320526f 110 | 6f742043 41203230 1e170d30 36313132 34313832 3730305a 170d3331 31313234 111 | 31383233 33335a30 45310b30 09060355 04061302 424d3119 30170603 55040a13 112 | 1051756f 56616469 73204c69 6d697465 64311b30 19060355 04031312 51756f56 113 | 61646973 20526f6f 74204341 20323082 0222300d 06092a86 4886f70d 01010105 114 | 00038202 0f003082 020a0282 0201009a 18ca4b94 0d002daf 03298af0 0f81c8ae 115 | 4c19851d 089fab29 4485f32f 81ad321e 9046bfa3 86261a1e fe7e1c18 3a5c9c60 116 | 172a3a74 8333307d 615411cb edabe0e6 d2a27ef5 6b6f18b7 0a0b2dfd e93eef0a 117 | c6b310e9 dcc24617 f85dfda4 daff9e49 5a9ce633 e62496f7 3fba5b2b 1c7a35c2 118 | d667feab 66508b6d 28602bef d760c3c7 93bc8d36 91f37ff8 db1113c4 9c7776c1 119 | aeb7026a 817aa945 83e205e6 b956c194 378f4871 6322ec17 6507958a 4bdf8fc6 120 | 5a0ae5b0 e35f5e6b 11ab0cf9 85eb44e9 f80473f2 e9fe5c98 8cf573af 6bb47ecd 121 | d45c022b 4c39e1b2 95952d42 87d7d5b3 9043b76c 13f1dedd f6c4f889 3fd175f5 122 | 92c391d5 8a88d090 ecdc6dde 89c26571 968b0d03 fd9cbf5b 16ac92db eafe797c 123 | adebaff7 16cbdbcd 252be51f fb9a9fe2 51cc3a53 0c48e60e bdc9b476 0652e611 124 | 13857263 0304e004 362b2019 02e874a7 1fb6c956 66f07525 dc67c10e 616088b3 125 | 3ed1a8fc a3da1db0 d1b12354 df44766d ed41d8c1 b222b653 1cdf351d dca1772a 126 | 31e42df5 e5e5dbc8 e0ffe580 d70b63a0 ff33a10f ba2c1515 ea97b3d2 a2b5bef2 127 | 8c961e1a 8f1d6ca4 6137b986 7333d797 969e237d 82a44c81 e2a1d1ba 675f9507 128 | a32711ee 16107bbc 454a4cb2 04d2abef d5fd0c51 ce506a08 31f991da 0c8f645c 129 | 03c33a8b 203f6e8d 673d3ad6 fe7d5b88 c95efbcc 61dc8b33 77d34432 35096204 130 | 921610d8 9e2747fb 3b21e3f8 eb1d5b02 03010001 a381b030 81ad300f 0603551d 131 | 130101ff 04053003 0101ff30 0b060355 1d0f0404 03020106 301d0603 551d0e04 132 | 1604141a 8462bc48 4c332504 d4eed0f6 03c41946 d1946b30 6e060355 1d230467 133 | 30658014 1a8462bc 484c3325 04d4eed0 f603c419 46d1946b a149a447 3045310b 134 | 30090603 55040613 02424d31 19301706 0355040a 13105175 6f566164 6973204c 135 | 696d6974 6564311b 30190603 55040313 1251756f 56616469 7320526f 6f742043 136 | 41203282 02050930 0d06092a 864886f7 0d010105 05000382 0201003e 0a164d9f 137 | 065ba8ae 715d2f05 2f67e613 4583c436 f6f3c026 0c0db547 645df8b4 72c946a5 138 | 03182755 89787d76 ea963480 1720dce7 83f88dfc 07b8da5f 4d2e67b2 84fdd944 139 | fc775081 e67cb4c9 0d0b7253 f8760707 4147960c fbe08226 93558cfe 221f6065 140 | 7c5fe726 b3f73290 9850d437 7155f692 2178f795 79faf82d 26876656 3077a637 141 | 78335210 58ae3f61 8ef26ab1 ef187e4a 5963ca8d a256d5a7 2fbc561f cf39c1e2 142 | fb0aa815 2c7d4d7a 63c66c97 443cd26f c34a170a f890d257 a21951a5 2d9741da 143 | 074fa950 da908d94 46e13ef0 94fd1000 38f53be8 40e1b46e 561a20cc 6f588ded 144 | 2e458fd6 e9933fe7 b12cdf3a d6228cdc 84bb226f d0f8e4c6 39e90488 3cc3baeb 145 | 557a6d80 9924f56c 01fbf897 b0945beb fdd26ff1 77680d35 6423acb8 55a103d1 146 | 4d4219dc f8755956 a3f9a849 79f8af0e b911a07c b76aed34 d0b62662 381a870c 147 | f8e8fd2e d3907f07 912a1dd6 7e5c8583 99b03808 3fe95ef9 3507e4c9 626e577f 148 | a75095f7 bac89be6 8ea201c5 d666bf79 61f33c1c e1b9825c 5da0c3e9 d848bd19 149 | a2111419 6eb2861b 683e4837 1a88b75d 965e9cc7 ef276208 e291195c d2f121dd 150 | ba174282 97718153 31a99ff6 7d62bf72 e1a3931d cc8a265a 0938d0ce d70d8016 151 | b478a53a 874c8d8a a5d54697 f22c10b9 bc5422c0 01506943 9ef4b2ef 6df8ecda 152 | f1e3b1ef df918f54 2a0b25c1 2619c452 100565d5 8210eac2 31cd2e 153 | quit 154 | telnet timeout 5 155 | ssh stricthostkeycheck 156 | ssh timeout 30 157 | ssh version 2 158 | ssh key-exchange group dh-group14-sha256 159 | ssh 0.0.0.0 0.0.0.0 management 160 | console timeout 0 161 | threat-detection basic-threat 162 | threat-detection statistics access-list 163 | no threat-detection statistics tcp-intercept 164 | dynamic-access-policy-record DfltAccessPolicy 165 | username admin privilege 15 166 | username admin attributes 167 | service-type admin 168 | ssh authentication publickey 8f:81:2a:99:2c:70:e5:16:c4:6b:64:94:1d:bb:98:5a:a7:92:3a:f9:af:ca:9b:5c:64:bf:5d:8f:1e:a1:d5:f2 hashed 169 | username ansible password ***** pbkdf2 privilege 15 170 | ! 171 | class-map inspection_default 172 | match default-inspection-traffic 173 | ! 174 | ! 175 | policy-map type inspect dns preset_dns_map 176 | parameters 177 | message-length maximum client auto 178 | message-length maximum 512 179 | no tcp-inspection 180 | policy-map global_policy 181 | class inspection_default 182 | inspect ip-options 183 | inspect netbios 184 | inspect rtsp 185 | inspect sunrpc 186 | inspect tftp 187 | inspect dns preset_dns_map 188 | inspect ftp 189 | inspect h323 h225 190 | inspect h323 ras 191 | inspect rsh 192 | inspect esmtp 193 | inspect sqlnet 194 | inspect sip 195 | inspect skinny 196 | inspect snmp 197 | policy-map type inspect dns migrated_dns_map_2 198 | parameters 199 | message-length maximum client auto 200 | message-length maximum 512 201 | no tcp-inspection 202 | policy-map type inspect dns migrated_dns_map_1 203 | parameters 204 | message-length maximum client auto 205 | message-length maximum 512 206 | no tcp-inspection 207 | ! 208 | service-policy global_policy global 209 | prompt hostname context 210 | no call-home reporting anonymous 211 | call-home 212 | profile License 213 | destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService 214 | destination transport-method http 215 | profile CiscoTAC-1 216 | no active 217 | destination address http https://tools.cisco.com/its/service/oddce/services/DDCEService 218 | destination address email callhome@cisco.com 219 | destination transport-method http 220 | subscribe-to-alert-group diagnostic 221 | subscribe-to-alert-group environment 222 | subscribe-to-alert-group inventory periodic monthly 223 | subscribe-to-alert-group configuration periodic monthly 224 | subscribe-to-alert-group telemetry periodic daily 225 | Cryptochecksum:cd11ab745f92b05fef66b66b7f990ed6 226 | : end 227 | -------------------------------------------------------------------------------- /samples_nohash/csr1_20210629T142431/show_running-config.txt: -------------------------------------------------------------------------------- 1 | Building configuration... 2 | 3 | Current configuration : 10447 bytes 4 | ! 5 | ! Last configuration change at 12:00:08 UTC Mon Jun 28 2021 by admin 6 | ! 7 | version 17.3 8 | service timestamps debug datetime msec 9 | service timestamps log datetime msec 10 | service password-encryption 11 | service call-home 12 | platform qfp utilization monitor load 80 13 | platform punt-keepalive disable-kernel-core 14 | platform console virtual 15 | ! 16 | hostname CSR1 17 | ! 18 | boot-start-marker 19 | boot-end-marker 20 | ! 21 | ! 22 | logging persistent size 1000000 filesize 8192 immediate 23 | ! 24 | no aaa new-model 25 | ! 26 | ! 27 | ! 28 | ! 29 | ! 30 | ! 31 | ! 32 | ! 33 | ! 34 | ! 35 | login on-success log 36 | ! 37 | ! 38 | ! 39 | ! 40 | ! 41 | ! 42 | ! 43 | subscriber templating 44 | ! 45 | ! 46 | ! 47 | ! 48 | ! 49 | ! 50 | multilink bundle-name authenticated 51 | ! 52 | ! 53 | ! 54 | ! 55 | ! 56 | ! 57 | ! 58 | ! 59 | ! 60 | ! 61 | ! 62 | ! 63 | ! 64 | ! 65 | ! 66 | crypto pki trustpoint TP-self-signed-2174610277 67 | enrollment selfsigned 68 | subject-name cn=IOS-Self-Signed-Certificate-2174610277 69 | revocation-check none 70 | rsakeypair TP-self-signed-2174610277 71 | ! 72 | crypto pki trustpoint SLA-TrustPoint 73 | enrollment pkcs12 74 | revocation-check crl 75 | ! 76 | ! 77 | crypto pki certificate chain TP-self-signed-2174610277 78 | certificate self-signed 01 79 | 30820330 30820218 A0030201 02020101 300D0609 2A864886 F70D0101 05050030 80 | 31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274 81 | 69666963 6174652D 32313734 36313032 3737301E 170D3231 30323138 32303330 82 | 35305A17 0D333130 32313832 30333035 305A3031 312F302D 06035504 03132649 83 | 4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D32 31373436 84 | 31303237 37308201 22300D06 092A8648 86F70D01 01010500 0382010F 00308201 85 | 0A028201 01008757 D34F2B94 A811E605 8DB25765 A9E7FA2C A98A34E0 E2811268 86 | 05B330FD D2268BB4 C4E9554F 7FF0929E E3513E37 CF797C76 6ECD9DFE 0CB5099F 87 | 902690C0 140A2A78 6C3972EA A661D33D 15894F48 B4778F78 08F8ED2B FB045DD6 88 | 5B718923 0BAC4F13 8C48BFD4 5CE3BC90 613B6F73 8C1A3BBD A97EF469 F835AB2F 89 | 1A12AD33 A27F6B08 55D9D0C6 B9ADBEA7 B507C96E 2A7E30D6 116ED969 A65E156E 90 | 030A13F5 C238F4F9 779E4D26 DB5C0649 1B851F0D FD07788E 93257BC4 5D3E381C 91 | 06D53667 2111C2BF EEC70C14 DA597AE9 C09BF728 AB677FBE D20984A3 80260EC4 92 | 1CF1A5D4 1575D422 624EB835 207E3AE4 3F5AADD0 F8B8AD97 BEFE10D5 5F090ED3 93 | 414BA3BD 8D570203 010001A3 53305130 0F060355 1D130101 FF040530 030101FF 94 | 301F0603 551D2304 18301680 142C35DC B69C5D75 F2D0FB5A AE9D15AD AFD6805D 95 | FA301D06 03551D0E 04160414 2C35DCB6 9C5D75F2 D0FB5AAE 9D15ADAF D6805DFA 96 | 300D0609 2A864886 F70D0101 05050003 82010100 75963813 F0E6E3F0 7C4BDD8A 97 | 5DEA90B7 095DE06B B4FAC7F3 3FA93A51 5888FD99 F722F77D 60C7C2AB F2B74035 98 | 923109A3 5A6324A8 F8916001 8C8D9884 2C9B707A B8CEEC30 F6C79B70 BE89B842 99 | B17B0E81 9DA169E9 C8AB23AC D4180561 4CE60F6D BBF0C640 78E2B3D1 E5E2CB76 100 | 92CC37DD 993D9EF1 E4489A11 9CF08C4D 9D24AF96 10C669C9 9326C7ED 9E22AC14 101 | ECE0B207 CD84CD44 127F2372 12A822C1 0667E145 7F6B60AC 5341AA9B 71E6EA4F 102 | E3A763C2 42734893 E7986F58 5A874F45 62D86B1D B1FA7BEB DF18690B 9F1A367C 103 | C6AE00BF 8B8977D3 CA44D458 D20DF02A 716D47F6 EE8428A8 3CF0FB9A EB3FABF0 104 | 8447C4E0 6A20B333 F980E014 A018BD15 B813F19A 105 | quit 106 | crypto pki certificate chain SLA-TrustPoint 107 | certificate ca 01 108 | 30820321 30820209 A0030201 02020101 300D0609 2A864886 F70D0101 0B050030 109 | 32310E30 0C060355 040A1305 43697363 6F312030 1E060355 04031317 43697363 110 | 6F204C69 63656E73 696E6720 526F6F74 20434130 1E170D31 33303533 30313934 111 | 3834375A 170D3338 30353330 31393438 34375A30 32310E30 0C060355 040A1305 112 | 43697363 6F312030 1E060355 04031317 43697363 6F204C69 63656E73 696E6720 113 | 526F6F74 20434130 82012230 0D06092A 864886F7 0D010101 05000382 010F0030 114 | 82010A02 82010100 A6BCBD96 131E05F7 145EA72C 2CD686E6 17222EA1 F1EFF64D 115 | CBB4C798 212AA147 C655D8D7 9471380D 8711441E 1AAF071A 9CAE6388 8A38E520 116 | 1C394D78 462EF239 C659F715 B98C0A59 5BBB5CBD 0CFEBEA3 700A8BF7 D8F256EE 117 | 4AA4E80D DB6FD1C9 60B1FD18 FFC69C96 6FA68957 A2617DE7 104FDC5F EA2956AC 118 | 7390A3EB 2B5436AD C847A2C5 DAB553EB 69A9A535 58E9F3E3 C0BD23CF 58BD7188 119 | 68E69491 20F320E7 948E71D7 AE3BCC84 F10684C7 4BC8E00F 539BA42B 42C68BB7 120 | C7479096 B4CB2D62 EA2F505D C7B062A4 6811D95B E8250FC4 5D5D5FB8 8F27D191 121 | C55F0D76 61F9A4CD 3D992327 A8BB03BD 4E6D7069 7CBADF8B DF5F4368 95135E44 122 | DFC7C6CF 04DD7FD1 02030100 01A34230 40300E06 03551D0F 0101FF04 04030201 123 | 06300F06 03551D13 0101FF04 05300301 01FF301D 0603551D 0E041604 1449DC85 124 | 4B3D31E5 1B3E6A17 606AF333 3D3B4C73 E8300D06 092A8648 86F70D01 010B0500 125 | 03820101 00507F24 D3932A66 86025D9F E838AE5C 6D4DF6B0 49631C78 240DA905 126 | 604EDCDE FF4FED2B 77FC460E CD636FDB DD44681E 3A5673AB 9093D3B1 6C9E3D8B 127 | D98987BF E40CBD9E 1AECA0C2 2189BB5C 8FA85686 CD98B646 5575B146 8DFC66A8 128 | 467A3DF4 4D565700 6ADF0F0D CF835015 3C04FF7C 21E878AC 11BA9CD2 55A9232C 129 | 7CA7B7E6 C1AF74F6 152E99B7 B1FCF9BB E973DE7F 5BDDEB86 C71E3B49 1765308B 130 | 5FB0DA06 B92AFE7F 494E8A9E 07B85737 F3A58BE1 1A48A229 C37C1E69 39F08678 131 | 80DDCD16 D6BACECA EEBC7CF9 8428787B 35202CDC 60E4616A B623CDBD 230E3AFB 132 | 418616A9 4093E049 4D10AB75 27E86F73 932E35B5 8862FDAE 0275156F 719BB2F0 133 | D697DF7F 28 134 | quit 135 | ! 136 | license udi pid CSR1000V sn 92ASWZPKBOY 137 | diagnostic bootup level minimal 138 | memory free low-watermark processor 71507 139 | ! 140 | ! 141 | spanning-tree extend system-id 142 | ! 143 | username ec2-user privilege 15 144 | username admin privilege 15 password 7 15130F010D24 145 | ! 146 | redundancy 147 | ! 148 | ! 149 | crypto ikev2 proposal IKEV2_PROPOSAL_UMBRELLA 150 | encryption aes-cbc-256 151 | integrity sha256 sha512 sha384 152 | group 20 19 14 21 5 153 | ! 154 | crypto ikev2 policy IKEV2_POLICY_UMBRELLA 155 | proposal IKEV2_PROPOSAL_UMBRELLA 156 | ! 157 | ! 158 | crypto ikev2 profile IKEV2_PROFILE_UMBRELLA 159 | description KEYS GENERATED AT: 2021-06-28 12:00:08.522016 160 | match identity remote address 146.112.67.8 255.255.255.255 161 | match identity remote address 146.112.66.8 255.255.255.255 162 | match identity remote address 146.112.83.8 255.255.255.255 163 | match identity remote address 146.112.82.8 255.255.255.255 164 | match identity remote address 146.112.97.8 255.255.255.255 165 | match identity remote address 146.112.96.8 255.255.255.255 166 | match identity remote address 146.112.107.8 255.255.255.255 167 | match identity remote address 146.112.102.8 255.255.255.255 168 | match identity remote address 146.112.103.8 255.255.255.255 169 | match identity remote address 146.112.113.8 255.255.255.255 170 | match identity remote address 146.112.112.8 255.255.255.255 171 | match identity remote address 146.112.118.8 255.255.255.255 172 | match identity remote address 146.112.119.8 255.255.255.255 173 | match identity remote address 146.112.65.8 255.255.255.255 174 | match identity remote address 146.112.64.8 255.255.255.255 175 | match identity remote address 146.112.93.8 255.255.255.255 176 | match identity remote address 146.112.92.8 255.255.255.255 177 | match identity remote address 208.67.220.220 255.255.255.255 178 | match identity remote address 208.67.222.222 255.255.255.255 179 | identity local email R1.njrusmc.net@3911712-539009876-umbrella.com 180 | authentication remote pre-share key o1Hs2VvRhh9vCzVx 181 | authentication local pre-share key o1Hs2VvRhh9vCzVx 182 | dpd 10 2 periodic 183 | ! 184 | ! 185 | ! 186 | ! 187 | ! 188 | crypto logging session 189 | crypto logging ikev2 190 | ! 191 | ! 192 | ! 193 | ! 194 | ! 195 | ! 196 | ! 197 | ! 198 | crypto ipsec transform-set IPSEC_XFORM_AES256_SHA1 esp-aes 256 esp-sha-hmac 199 | mode tunnel 200 | ! 201 | crypto ipsec profile IPSEC_PROFILE_UMBRELLA 202 | set transform-set IPSEC_XFORM_AES256_SHA1 203 | set ikev2-profile IKEV2_PROFILE_UMBRELLA 204 | ! 205 | ! 206 | ! 207 | ! 208 | ! 209 | ! 210 | ! 211 | ! 212 | ! 213 | ! 214 | interface Loopback1 215 | ip address 198.51.100.1 255.255.255.0 216 | ! 217 | interface Loopback999 218 | ip address 10.255.255.255 255.255.255.255 219 | ! 220 | interface Tunnel1 221 | ip address 192.168.0.2 255.255.255.0 222 | tunnel source GigabitEthernet1 223 | tunnel destination 172.31.34.212 224 | ! 225 | interface Tunnel100 226 | description UMBRELLA SIG TO: US-2: Ashburn, VA 227 | ip unnumbered GigabitEthernet1 228 | ip mtu 1440 229 | ip tcp adjust-mss 1400 230 | tunnel source GigabitEthernet1 231 | tunnel mode ipsec ipv4 232 | tunnel destination 146.112.82.8 233 | tunnel protection ipsec profile IPSEC_PROFILE_UMBRELLA 234 | ! 235 | interface VirtualPortGroup0 236 | no ip address 237 | ip nat inside 238 | no mop enabled 239 | no mop sysid 240 | ! 241 | interface GigabitEthernet1 242 | ip address dhcp 243 | negotiation auto 244 | no mop enabled 245 | no mop sysid 246 | ! 247 | ! 248 | router eigrp CITYNET 249 | ! 250 | address-family ipv4 unicast autonomous-system 1 251 | ! 252 | topology base 253 | exit-af-topology 254 | network 192.168.0.0 255 | network 198.51.100.0 256 | exit-address-family 257 | ! 258 | router ospf 1 259 | ! 260 | iox 261 | ip forward-protocol nd 262 | ip tcp window-size 8192 263 | ip http server 264 | ip http authentication local 265 | ip http secure-server 266 | ! 267 | ip route 0.0.0.0 0.0.0.0 Tunnel100 name UMBRELLA_SIG 268 | ip route 172.16.0.0 255.240.0.0 172.31.32.1 269 | ip route 100.16.0.0 255.255.0.0 dhcp 270 | ip route 146.112.67.8 255.255.255.255 dhcp 271 | ip route 146.112.66.8 255.255.255.255 dhcp 272 | ip route 146.112.83.8 255.255.255.255 dhcp 273 | ip route 146.112.82.8 255.255.255.255 dhcp 274 | ip route 146.112.97.8 255.255.255.255 dhcp 275 | ip route 146.112.96.8 255.255.255.255 dhcp 276 | ip route 146.112.107.8 255.255.255.255 dhcp 277 | ip route 146.112.102.8 255.255.255.255 dhcp 278 | ip route 146.112.103.8 255.255.255.255 dhcp 279 | ip route 146.112.113.8 255.255.255.255 dhcp 280 | ip route 146.112.112.8 255.255.255.255 dhcp 281 | ip route 146.112.118.8 255.255.255.255 dhcp 282 | ip route 146.112.119.8 255.255.255.255 dhcp 283 | ip route 146.112.65.8 255.255.255.255 dhcp 284 | ip route 146.112.64.8 255.255.255.255 dhcp 285 | ip route 146.112.93.8 255.255.255.255 dhcp 286 | ip route 146.112.92.8 255.255.255.255 dhcp 287 | ip route 208.67.220.220 255.255.255.255 dhcp 288 | ip route 208.67.222.222 255.255.255.255 dhcp 289 | ip ssh rsa keypair-name ssh-key 290 | ip ssh version 2 291 | ip ssh pubkey-chain 292 | username ec2-user 293 | key-hash ssh-rsa 2B1E195AC732D9FBC7D70B9871DA7CB7 ec2-user 294 | ip ssh server algorithm publickey ecdsa-sha2-nistp256 ecdsa-sha2-nistp384 ecdsa-sha2-nistp521 ssh-rsa x509v3-ecdsa-sha2-nistp256 x509v3-ecdsa-sha2-nistp384 x509v3-ecdsa-sha2-nistp521 295 | ip scp server enable 296 | ! 297 | ip access-list standard GS_NAT_ACL 298 | 10 permit 192.168.35.0 0.0.0.255 299 | ip access-list standard VTY 300 | 10 permit 100.16.0.0 0.0.255.255 301 | 20 permit 172.16.0.0 0.15.255.255 302 | ! 303 | ! 304 | ip sla responder 305 | ! 306 | ! 307 | ! 308 | ! 309 | ! 310 | control-plane 311 | ! 312 | ! 313 | ! 314 | ! 315 | ! 316 | ! 317 | line con 0 318 | stopbits 1 319 | line vty 0 4 320 | access-class VTY in 321 | exec-timeout 0 0 322 | login local 323 | transport input ssh 324 | line vty 5 20 325 | login local 326 | transport input ssh 327 | ! 328 | call-home 329 | ! If contact email address in call-home is configured as sch-smart-licensing@cisco.com 330 | ! the email address configured in Cisco Smart License Portal will be used as contact email address to send SCH notifications. 331 | contact-email-addr sch-smart-licensing@cisco.com 332 | profile "CiscoTAC-1" 333 | active 334 | destination transport-method http 335 | ! 336 | ! 337 | ! 338 | ! 339 | ! 340 | app-hosting appid guestshell 341 | app-vnic gateway1 virtualportgroup 0 guest-interface 0 342 | guest-ipaddress 192.168.35.102 netmask 255.255.255.0 343 | app-default-gateway 192.168.35.101 guest-interface 0 344 | name-server0 8.8.8.8 345 | netconf-yang feature candidate-datastore 346 | end 347 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | [![Build Status]( 2 | https://travis-ci.com/nickrusso42518/racc.svg?branch=master)]( 3 | https://travis-ci.com/nickrusso42518/racc) 4 | 5 | [![published]( 6 | http://cs.co/codeex-badge)]( 7 | https://developer.cisco.com/codeexchange/github/repo/nickrusso42518/racc) 8 | 9 | # Run Arbitrary CLI Commands (racc) 10 | This playbook runs arbitrary commands on a given node, stores the 11 | output in a flat text file, and archives the entire "run" in an archive 12 | file for easy copying to management stations via SCP. It is generally used 13 | for configuration backups, hardware inventory, and license information. 14 | The tool also supports automatic generation of file content hashes, helping 15 | to determine configuration drift across collection batches. 16 | 17 | > Contact information:\ 18 | > Email: njrusmc@gmail.com\ 19 | > Twitter: @nickrusso42518 20 | 21 | * [Supported Platforms](#supported-platforms) 22 | * [Getting Started](#supported-platforms) 23 | * [Variables](#variables) 24 | * [Task Summary](#task-summary) 25 | * [Output Files](#output-files) 26 | 27 | ## Supported Platforms 28 | Any network device with a corresponding Ansible `*_command` module can be 29 | supported. The playbook currently provides Ansible task files for 30 | the various network operation systems shown in the list below. 31 | To add a new device type, create a new task file in the 32 | `tasks/` folder along with a corresponding `group_vars/` and inventory entry. 33 | These are all easy tasks given the abstract architecture of this playbook. 34 | 35 | Testing was conducted on the following platforms and versions: 36 | * Cisco Catalyst 8000v, version 17.9.2, running in Cisco DevNet Sandbox 37 | * Cisco CSR1000v, version 17.3.3, running in AWS 38 | * Cisco CSR1000v, version 16.12.01a, running in AWS 39 | * Cisco CSR1000v, version 16.9.3, running in Cisco DevNet Sandbox 40 | * Cisco XRv9000, version 6.3.1, running in AWS 41 | * Cisco XRv9000, version 7.3.2, running in Cisco DevNet Sandbox 42 | * Cisco ASAv, version 9.9.1, running in AWS 43 | * Cisco ASAv, version 9.16.1, running in AWS 44 | * Cisco Nexus 3172T, version 6.0.2.U6.4a, hardware appliance 45 | * Cisco Nexus 9000v, version 9.3(3), running on VMware ESXi 46 | * Cisco Nexus 9000v, version 9.3(3), running in Cisco DevNet Sandbox 47 | * Cisco AireOS vWLC, version 8.3.143.0, running on VMware ESXi 48 | * Juniper vMX, version 18.4R1, running in AWS 49 | * Arista vEOS, version 4.22.1FX, running in AWS 50 | * Mikrotik RouterOS, version 6.44.3, running in AWS 51 | * F5 BIGIP, version 16.0.1.1, running in AWS 52 | ``` 53 | $ cat /etc/redhat-release 54 | Red Hat Enterprise Linux Server release 7.4 (Maipo) 55 | 56 | $ uname -a 57 | Linux ip-10-125-0-100.ec2.internal 3.10.0-693.el7.x86_64 #1 SMP 58 | Thu Jul 6 19:56:57 EDT 2017 x86_64 x86_64 x86_64 GNU/Linux 59 | 60 | $ ansible --version 61 | ansible [core 2.11.12] 62 | config file = /home/ec2-user/racc/ansible.cfg 63 | configured module search path = ['/home/ec2-user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] 64 | ansible python module location = /home/ec2-user/environments/racc/lib/python3.7/site-packages/ansible 65 | ansible collection location = /home/ec2-user/.ansible/collections:/usr/share/ansible/collections 66 | executable location = /home/ec2-user/environments/racc/bin/ansible 67 | python version = 3.7.3 (default, Aug 27 2019, 16:56:53) [GCC 4.8.5 20150623 (Red Hat 4.8.5-36)] 68 | jinja version = 3.1.2 69 | libyaml = True 70 | ``` 71 | 72 | ## Getting Started 73 | Follow these instructions to quickly get started with `racc`. This 74 | README assumes you have Python and `pip` installed: 75 | 1. Install Python packages: `pip install requirements.txt` 76 | 2. Install Ansible collections: `ansible-galaxy collection install -r requirements.yml` 77 | 3. Edit `hosts.yml`, the inventory file to suit your network 78 | 4. Edit the relevant `group_vars/` files based on your devices 79 | 5. Run the playbook: `ansible-playbook racc_playbook.yml` 80 | 81 | ## Variables 82 | The `group_vars/all.yml` file contains connectivity parameters common to all 83 | network modules. These typically use `network_cli`. Note that if the legacy method 84 | `provider` method is used for some devices, it must first be defined. Then, 85 | individual task files for each platform must set `ansible_connection: local` 86 | in addition to manually specifying `provider: "{{ provider }}"` as a task 87 | suboption in most cases. 88 | 89 | There are some minor variables that control the playbooks output products 90 | and formatting. These are not often modified: 91 | * `remove_files`: A boolean true/false question that governs whether items 92 | in the `files/` folder are removed after a playbook run. Normally, this 93 | is set to `true` because the final archive is what really matter, and 94 | retaining all the uncompressed text files on the control machine is not 95 | a long-term solution. Setting this to `false` is useful for quick tests 96 | or troubleshooting. 97 | * `hash_type`: A string that specifies what hash algorithm to use when 98 | computing the hash of the contents of each file. These are written to 99 | a consolidated CSV file on a per-device basis. The algorithms available 100 | vary based on your installed Python `hashlib` version, but simple 101 | algorithms like `"md5"` and `"sha1"` are recommended. You can set this 102 | value to `false` to skip the procecss of generating hashes, which will 103 | cause the playbook to run a little faster. 104 | * `newline_sequence`: Determines what kind of line terminator to use for 105 | output files. See the Ansible documentation for a full list of options. 106 | * `archive_format`: Determines what kind of archive to create when the 107 | `archive` moduel is called. Any option supported by the version of Ansible 108 | in use can be used here. Some examples include zip, gz, bz2, xz, and tar 109 | as of Ansible 2.5. The zip format is usually appropriate when transferring 110 | to Windows-based SCP servers, and that is the default. 111 | * `scp`: Nested dictionary containing two subkeys below. 112 | * `user`: The SCP username that can write files to the SCP server. 113 | * `host`: The SCP server FQDN/IP address. Under its root directory, a 114 | directory called `racc/` should be created. This is where the archives 115 | generated by this playbook are copied. This playdoes __does not__ 116 | automatically perform the copying. 117 | 118 | There are independent `group_vars/` files for each network device type: 119 | routers, switches, and firewalls, and wireless LAN controllers for example. 120 | Each one has a key of `command_list` which specifies a list of commands 121 | specific to that product's CLI. After those commands are executed on 122 | a device, a filename equal to the command (spaces are replaced with 123 | underscores) is generated. CLI output redirection (pipes) are supported. 124 | It is recommended to type the entire command into the `command` value 125 | since these are printed to stdout during execution. Using abbreviated 126 | commands may confuse operators less familiar with some network CLIs. 127 | 128 | Note that these are just examples and it is common to adjust the 129 | `command_list` on a per-run basis. For example, if collecting all routing 130 | tables is important to quickly troubleshoot a routing loop, simply add 131 | `show ip route` to the list, and run the playbook. 132 | 133 | ## Task Summary 134 | To make the playbook easier to read and troubleshoot, whenever a command is 135 | issued on a device, both the inventory hostname and the command being issued 136 | are printed to stdout. The example below shows a sample run with a variety 137 | of devices. 138 | 139 | ``` 140 | TASK [ASA >> Gather Cisco ASA information] 141 | ok: [asav1] 142 | 143 | TASK [IOSXR >> Gather Cisco IOS-XR information] 144 | ok: [xrv1] 145 | 146 | TASK [IOS >> Gather Cisco IOS/IOS-XE information] 147 | ok: [csr1] 148 | ok: [csr2] 149 | ``` 150 | 151 | ## Output Files 152 | At the end of the playbook, assuming that `remove_files` is set to 153 | `false` for the purpose of discussion, the following filesystem 154 | components are created. 155 | 156 | For each host against which this playbook runs, N files are generated, 157 | where N is the number of elements in the relevant `command_list`. 158 | Ansible inventory hostname and the date/time group (DTG) in UTC are 159 | included in the file names for easy identification. All files are written 160 | to `files/` directory and are ignored by git. The format of all text files is 161 | `.txt` while the parent directory format is 162 | `_/`. 163 | 164 | ``` 165 | $ tree --charset=asci files/ 166 | files/ 167 | |-- asav1_20210629T142431 168 | | |-- show_inventory.txt 169 | | |-- show_running-config.txt 170 | | `-- show_version.txt 171 | |-- chr1_20210629T142431 172 | | |-- export.txt 173 | | |-- system_license_print.txt 174 | | `-- system_resource_print.txt 175 | |-- csr1_20210629T142431 176 | | |-- show_inventory.txt 177 | | |-- show_license_all.txt 178 | | |-- show_running-config.txt 179 | | `-- show_version.txt 180 | |-- csr2_20210629T142431 181 | | |-- show_inventory.txt 182 | | |-- show_license_all.txt 183 | | |-- show_running-config.txt 184 | | `-- show_version.txt 185 | |-- n9kv1_20210629T142431 186 | | |-- show_install_active.txt 187 | | |-- show_inventory.txt 188 | | |-- show_license_usage.txt 189 | | `-- show_version.txt 190 | |-- veos1_20210629T142431 191 | | |-- show_inventory.txt 192 | | |-- show_license_all.txt 193 | | |-- show_running-config.txt 194 | | `-- show_version.txt 195 | |-- vmx1_20210629T142431 196 | | |-- show_configuration.txt 197 | | |-- show_interfaces_brief.txt 198 | | |-- show_system_errors_count.txt 199 | | `-- show_system_license.txt 200 | `-- xrv1_20210629T142431 201 | |-- show_inventory.txt 202 | |-- show_license_all.txt 203 | |-- show_running-config.txt 204 | `-- show_version.txt 205 | ``` 206 | 207 | The actual text output is shown below. You can use the `head -n-0` 208 | command to view all the outputs from a given device, which prints 209 | the filename at the start of each output, making it easy to determine 210 | where one output ends and another begins. 211 | 212 | ``` 213 | $ head -n-0 samples_nohash/csr1_20210629T142431/* 214 | ==> samples_nohash/csr1_20210629T142431/show_inventory.txt <== 215 | NAME: "Chassis", DESCR: "Cisco CSR1000V Chassis" 216 | PID: CSR1000V , VID: V00 , SN: 92ASWZPKBOY 217 | 218 | NAME: "module R0", DESCR: "Cisco CSR1000V Route Processor" 219 | PID: CSR1000V , VID: V00 , SN: JAB1303001C 220 | 221 | NAME: "module F0", DESCR: "Cisco CSR1000V Embedded Services Processor" 222 | PID: CSR1000V , VID: , SN: 223 | 224 | ==> samples_nohash/csr1_20210629T142431/show_license_all.txt <== 225 | Smart Licensing Status 226 | ====================== 227 | 228 | Smart Licensing is ENABLED 229 | 230 | Registration: 231 | Status: UNREGISTERED 232 | Export-Controlled Functionality: NOT ALLOWED 233 | 234 | License Authorization: 235 | Status: No Licenses in Use 236 | 237 | Export Authorization Key: 238 | Features Authorized: 239 | 240 | 241 | Utility: 242 | Status: DISABLED 243 | 244 | Data Privacy: 245 | Sending Hostname: yes 246 | Callhome hostname privacy: DISABLED 247 | Smart Licensing hostname privacy: DISABLED 248 | Version privacy: DISABLED 249 | 250 | Transport: 251 | Type: Callhome 252 | 253 | Miscellaneous: 254 | Custom Id: 255 | 256 | License Usage 257 | ============= 258 | 259 | No licenses in use 260 | 261 | Product Information 262 | =================== 263 | UDI: PID:CSR1000V,SN:92ASWZPKBOY 264 | 265 | Agent Version 266 | ============= 267 | Smart Agent for Licensing: 5.0.6_rel/47 268 | 269 | Reservation Info 270 | ================ 271 | License reservation: DISABLED 272 | 273 | ==> samples_nohash/csr1_20210629T142431/show_running-config.txt <== 274 | Building configuration... 275 | 276 | Current configuration : 10447 bytes 277 | ! 278 | ! Last configuration change at 12:00:08 UTC Mon Jun 28 2021 by admin 279 | ! 280 | version 17.3 281 | service timestamps debug datetime msec 282 | service timestamps log datetime msec 283 | [snip, running-config output omitted for brevity] 284 | ``` 285 | 286 | If `hash_type` is not a false-y value (such as Boolean `false` or `null`), 287 | you'll see a `*_hashes.txt` file as well. This file contains a two-column 288 | CSV file with the hash first and the filename second. You can double-check 289 | the hash computations using CLI commands such as `md5sum`, which should 290 | match the hashes computed by Ansible. 291 | 292 | ``` 293 | $ cat md5_hashes.txt 294 | 764c8f490b9038afe5a618854bb21852,files/csr1_20230811T074823/show_running-config.txt 295 | fcd7bfac12290c1d7bd94bc195504d37,files/csr1_20230811T074823/show_inventory.txt 296 | d3eaa829011e49cf04603ee926208a17,files/csr1_20230811T074823/show_license_all.txt 297 | 705640cd7519ce509b373f3243c45688,files/csr1_20230811T074823/show_version.txt 298 | 299 | $ column -s, -t md5_hashes.txt 300 | 764c8f490b9038afe5a618854bb21852 files/csr1_20230811T074823/show_running-config.txt 301 | fcd7bfac12290c1d7bd94bc195504d37 files/csr1_20230811T074823/show_inventory.txt 302 | d3eaa829011e49cf04603ee926208a17 files/csr1_20230811T074823/show_license_all.txt 303 | 705640cd7519ce509b373f3243c45688 files/csr1_20230811T074823/show_version.txt 304 | 305 | $ md5sum show* 306 | fcd7bfac12290c1d7bd94bc195504d37 show_inventory.txt 307 | d3eaa829011e49cf04603ee926208a17 show_license_all.txt 308 | 764c8f490b9038afe5a618854bb21852 show_running-config.txt 309 | 705640cd7519ce509b373f3243c45688 show_version.txt 310 | ``` 311 | 312 | Finally, the playbook prints out a shell command that can be copy/pasted by 313 | the user to quickly SCP the archive to an SCP server, assuming an FQDN/IP 314 | has been specified for it. This is useful for those unfamiliar with the 315 | Linux `scp` command. 316 | 317 | `scp archives/commands_20180603T070140.zip nick@192.0.2.1:/racc/` 318 | -------------------------------------------------------------------------------- /samples_hash/runlog.txt: -------------------------------------------------------------------------------- 1 | PLAY [Get information from network devices] ************************************************************************************** 2 | 3 | TASK [INCLUDE >> Error checking and log setup] *********************************************************************************** 4 | included: /home/ec2-user/racc/tasks/pre_check.yml for csr1, csr2, n9k1, xrv1 5 | 6 | TASK [SYS >> Perform basic error checking on core variables] ********************************************************************* 7 | ok: [csr1 -> localhost] => { 8 | "changed": false, 9 | "msg": "All assertions passed" 10 | } 11 | ok: [csr2 -> localhost] => { 12 | "changed": false, 13 | "msg": "All assertions passed" 14 | } 15 | ok: [n9k1 -> localhost] => { 16 | "changed": false, 17 | "msg": "All assertions passed" 18 | } 19 | ok: [xrv1 -> localhost] => { 20 | "changed": false, 21 | "msg": "All assertions passed" 22 | } 23 | 24 | TASK [LOG >> Get ansible date/time facts] **************************************************************************************** 25 | ok: [csr1 -> localhost] 26 | 27 | TASK [LOG >> Store DTG as fact] ************************************************************************************************** 28 | ok: [csr1 -> localhost] 29 | 30 | TASK [SYS >> Create files/ and archives/ directories] **************************************************************************** 31 | changed: [csr1 -> localhost] => (item=archives) 32 | changed: [csr1 -> localhost] => (item=files) 33 | 34 | TASK [SYS >> Store output directory and initialize hash list] ******************************************************************** 35 | ok: [csr1 -> localhost] 36 | ok: [csr2 -> localhost] 37 | ok: [n9k1 -> localhost] 38 | ok: [xrv1 -> localhost] 39 | 40 | TASK [SYS >> Create directory per network device] ******************************************************************************** 41 | changed: [csr1 -> localhost] 42 | changed: [csr2 -> localhost] 43 | changed: [n9k1 -> localhost] 44 | changed: [xrv1 -> localhost] 45 | 46 | TASK [SYS >> Include tasks for various network device types] ********************************************************************* 47 | included: /home/ec2-user/racc/tasks/ios.yml for csr1, csr2 48 | included: /home/ec2-user/racc/tasks/nxos.yml for n9k1 49 | included: /home/ec2-user/racc/tasks/iosxr.yml for xrv1 50 | 51 | TASK [IOS >> Gather Cisco IOS/IOS-XE information] ******************************************************************************** 52 | ok: [csr2] 53 | ok: [csr1] 54 | 55 | TASK [NXOS >> Gather Cisco NXOS information] ************************************************************************************* 56 | ok: [n9k1] 57 | 58 | TASK [IOSXR >> Gather Cisco IOS-XR information] ********************************************************************************** 59 | ok: [xrv1] 60 | 61 | TASK [SYS >> Include tasks to generate mock output for CI] *********************************************************************** 62 | skipping: [csr1] 63 | skipping: [csr2] 64 | skipping: [n9k1] 65 | skipping: [xrv1] 66 | 67 | TASK [SYS >> Sanity check; ensure CLI_OUTPUT is valid] *************************************************************************** 68 | ok: [csr1] => { 69 | "changed": false, 70 | "msg": "All assertions passed" 71 | } 72 | ok: [csr2] => { 73 | "changed": false, 74 | "msg": "All assertions passed" 75 | } 76 | ok: [n9k1] => { 77 | "changed": false, 78 | "msg": "All assertions passed" 79 | } 80 | ok: [xrv1] => { 81 | "changed": false, 82 | "msg": "All assertions passed" 83 | } 84 | 85 | TASK [SYS >> Include tasks to perform output file functions] ********************************************************************* 86 | included: /home/ec2-user/racc/tasks/outputs.yml for csr1 => (item=show running-config) 87 | included: /home/ec2-user/racc/tasks/outputs.yml for csr1 => (item=show inventory) 88 | included: /home/ec2-user/racc/tasks/outputs.yml for csr1 => (item=show license all) 89 | included: /home/ec2-user/racc/tasks/outputs.yml for csr1 => (item=show version) 90 | included: /home/ec2-user/racc/tasks/outputs.yml for csr2 => (item=show running-config) 91 | included: /home/ec2-user/racc/tasks/outputs.yml for csr2 => (item=show inventory) 92 | included: /home/ec2-user/racc/tasks/outputs.yml for csr2 => (item=show license all) 93 | included: /home/ec2-user/racc/tasks/outputs.yml for csr2 => (item=show version) 94 | included: /home/ec2-user/racc/tasks/outputs.yml for n9k1 => (item=show running-config) 95 | included: /home/ec2-user/racc/tasks/outputs.yml for n9k1 => (item=show inventory) 96 | included: /home/ec2-user/racc/tasks/outputs.yml for n9k1 => (item=show license usage) 97 | included: /home/ec2-user/racc/tasks/outputs.yml for n9k1 => (item=show version) 98 | included: /home/ec2-user/racc/tasks/outputs.yml for n9k1 => (item=show install active) 99 | included: /home/ec2-user/racc/tasks/outputs.yml for xrv1 => (item=show running-config) 100 | included: /home/ec2-user/racc/tasks/outputs.yml for xrv1 => (item=show inventory) 101 | included: /home/ec2-user/racc/tasks/outputs.yml for xrv1 => (item=show license all) 102 | included: /home/ec2-user/racc/tasks/outputs.yml for xrv1 => (item=show version) 103 | 104 | TASK [SYS >> Write CLI output to disk: files/csr1_20230811T074823/show_running-config.txt] *************************************** 105 | changed: [csr1 -> localhost] 106 | 107 | TASK [SYS >> Read contents of just-created files/csr1_20230811T074823/show_running-config.txt] *********************************** 108 | ok: [csr1 -> localhost] 109 | 110 | TASK [SYS >> Compute md5 hash for files/csr1_20230811T074823/show_running-config.txt] ******************************************** 111 | ok: [csr1 -> localhost] 112 | 113 | TASK [SYS >> Add 764c8f490b9038afe5a618854bb21852,files/csr1_20230811T074823/show_running-config.txt to hashlist] **************** 114 | ok: [csr1 -> localhost] 115 | 116 | TASK [SYS >> Write CLI output to disk: files/csr1_20230811T074823/show_inventory.txt] ******************************************** 117 | changed: [csr1 -> localhost] 118 | 119 | TASK [SYS >> Read contents of just-created files/csr1_20230811T074823/show_inventory.txt] **************************************** 120 | ok: [csr1 -> localhost] 121 | 122 | TASK [SYS >> Compute md5 hash for files/csr1_20230811T074823/show_inventory.txt] ************************************************* 123 | ok: [csr1 -> localhost] 124 | 125 | TASK [SYS >> Add fcd7bfac12290c1d7bd94bc195504d37,files/csr1_20230811T074823/show_inventory.txt to hashlist] ********************* 126 | ok: [csr1 -> localhost] 127 | 128 | TASK [SYS >> Write CLI output to disk: files/csr1_20230811T074823/show_license_all.txt] ****************************************** 129 | changed: [csr1 -> localhost] 130 | 131 | TASK [SYS >> Read contents of just-created files/csr1_20230811T074823/show_license_all.txt] ************************************** 132 | ok: [csr1 -> localhost] 133 | 134 | TASK [SYS >> Compute md5 hash for files/csr1_20230811T074823/show_license_all.txt] *********************************************** 135 | ok: [csr1 -> localhost] 136 | 137 | TASK [SYS >> Add d3eaa829011e49cf04603ee926208a17,files/csr1_20230811T074823/show_license_all.txt to hashlist] ******************* 138 | ok: [csr1 -> localhost] 139 | 140 | TASK [SYS >> Write CLI output to disk: files/csr1_20230811T074823/show_version.txt] ********************************************** 141 | changed: [csr1 -> localhost] 142 | 143 | TASK [SYS >> Read contents of just-created files/csr1_20230811T074823/show_version.txt] ****************************************** 144 | ok: [csr1 -> localhost] 145 | 146 | TASK [SYS >> Compute md5 hash for files/csr1_20230811T074823/show_version.txt] *************************************************** 147 | ok: [csr1 -> localhost] 148 | 149 | TASK [SYS >> Add 705640cd7519ce509b373f3243c45688,files/csr1_20230811T074823/show_version.txt to hashlist] *********************** 150 | ok: [csr1 -> localhost] 151 | 152 | TASK [SYS >> Write CLI output to disk: files/csr2_20230811T074823/show_running-config.txt] *************************************** 153 | changed: [csr2 -> localhost] 154 | 155 | TASK [SYS >> Read contents of just-created files/csr2_20230811T074823/show_running-config.txt] *********************************** 156 | ok: [csr2 -> localhost] 157 | 158 | TASK [SYS >> Compute md5 hash for files/csr2_20230811T074823/show_running-config.txt] ******************************************** 159 | ok: [csr2 -> localhost] 160 | 161 | TASK [SYS >> Add 6456a518459fa76e4f31b238476f688c,files/csr2_20230811T074823/show_running-config.txt to hashlist] **************** 162 | ok: [csr2 -> localhost] 163 | 164 | TASK [SYS >> Write CLI output to disk: files/csr2_20230811T074823/show_inventory.txt] ******************************************** 165 | changed: [csr2 -> localhost] 166 | 167 | TASK [SYS >> Read contents of just-created files/csr2_20230811T074823/show_inventory.txt] **************************************** 168 | ok: [csr2 -> localhost] 169 | 170 | TASK [SYS >> Compute md5 hash for files/csr2_20230811T074823/show_inventory.txt] ************************************************* 171 | ok: [csr2 -> localhost] 172 | 173 | TASK [SYS >> Add 01f527e7c5d20ebfe1b0b84e4b2d2198,files/csr2_20230811T074823/show_inventory.txt to hashlist] ********************* 174 | ok: [csr2 -> localhost] 175 | 176 | TASK [SYS >> Write CLI output to disk: files/csr2_20230811T074823/show_license_all.txt] ****************************************** 177 | changed: [csr2 -> localhost] 178 | 179 | TASK [SYS >> Read contents of just-created files/csr2_20230811T074823/show_license_all.txt] ************************************** 180 | ok: [csr2 -> localhost] 181 | 182 | TASK [SYS >> Compute md5 hash for files/csr2_20230811T074823/show_license_all.txt] *********************************************** 183 | ok: [csr2 -> localhost] 184 | 185 | TASK [SYS >> Add 6b3a5e40ba7ba49fe23722b4cc81fa95,files/csr2_20230811T074823/show_license_all.txt to hashlist] ******************* 186 | ok: [csr2 -> localhost] 187 | 188 | TASK [SYS >> Write CLI output to disk: files/csr2_20230811T074823/show_version.txt] ********************************************** 189 | changed: [csr2 -> localhost] 190 | 191 | TASK [SYS >> Read contents of just-created files/csr2_20230811T074823/show_version.txt] ****************************************** 192 | ok: [csr2 -> localhost] 193 | 194 | TASK [SYS >> Compute md5 hash for files/csr2_20230811T074823/show_version.txt] *************************************************** 195 | ok: [csr2 -> localhost] 196 | 197 | TASK [SYS >> Add 0657f9404508bc4a83ae0870c0754e8b,files/csr2_20230811T074823/show_version.txt to hashlist] *********************** 198 | ok: [csr2 -> localhost] 199 | 200 | TASK [SYS >> Write CLI output to disk: files/n9k1_20230811T074823/show_running-config.txt] *************************************** 201 | changed: [n9k1 -> localhost] 202 | 203 | TASK [SYS >> Read contents of just-created files/n9k1_20230811T074823/show_running-config.txt] *********************************** 204 | ok: [n9k1 -> localhost] 205 | 206 | TASK [SYS >> Compute md5 hash for files/n9k1_20230811T074823/show_running-config.txt] ******************************************** 207 | ok: [n9k1 -> localhost] 208 | 209 | TASK [SYS >> Add bc1a4ab8adf643b84e4ae282be2d9670,files/n9k1_20230811T074823/show_running-config.txt to hashlist] **************** 210 | ok: [n9k1 -> localhost] 211 | 212 | TASK [SYS >> Write CLI output to disk: files/n9k1_20230811T074823/show_inventory.txt] ******************************************** 213 | changed: [n9k1 -> localhost] 214 | 215 | TASK [SYS >> Read contents of just-created files/n9k1_20230811T074823/show_inventory.txt] **************************************** 216 | ok: [n9k1 -> localhost] 217 | 218 | TASK [SYS >> Compute md5 hash for files/n9k1_20230811T074823/show_inventory.txt] ************************************************* 219 | ok: [n9k1 -> localhost] 220 | 221 | TASK [SYS >> Add 26e6fe86a695183c13849c40c9ddaae8,files/n9k1_20230811T074823/show_inventory.txt to hashlist] ********************* 222 | ok: [n9k1 -> localhost] 223 | 224 | TASK [SYS >> Write CLI output to disk: files/n9k1_20230811T074823/show_license_usage.txt] **************************************** 225 | changed: [n9k1 -> localhost] 226 | 227 | TASK [SYS >> Read contents of just-created files/n9k1_20230811T074823/show_license_usage.txt] ************************************ 228 | ok: [n9k1 -> localhost] 229 | 230 | TASK [SYS >> Compute md5 hash for files/n9k1_20230811T074823/show_license_usage.txt] ********************************************* 231 | ok: [n9k1 -> localhost] 232 | 233 | TASK [SYS >> Add 7e9c32fd679c607c228cea2d52887fb6,files/n9k1_20230811T074823/show_license_usage.txt to hashlist] ***************** 234 | ok: [n9k1 -> localhost] 235 | 236 | TASK [SYS >> Write CLI output to disk: files/n9k1_20230811T074823/show_version.txt] ********************************************** 237 | changed: [n9k1 -> localhost] 238 | 239 | TASK [SYS >> Read contents of just-created files/n9k1_20230811T074823/show_version.txt] ****************************************** 240 | ok: [n9k1 -> localhost] 241 | 242 | TASK [SYS >> Compute md5 hash for files/n9k1_20230811T074823/show_version.txt] *************************************************** 243 | ok: [n9k1 -> localhost] 244 | 245 | TASK [SYS >> Add 08bc676fa0261a2e255dda3dc46cb8c8,files/n9k1_20230811T074823/show_version.txt to hashlist] *********************** 246 | ok: [n9k1 -> localhost] 247 | 248 | TASK [SYS >> Write CLI output to disk: files/n9k1_20230811T074823/show_install_active.txt] *************************************** 249 | changed: [n9k1 -> localhost] 250 | 251 | TASK [SYS >> Read contents of just-created files/n9k1_20230811T074823/show_install_active.txt] *********************************** 252 | ok: [n9k1 -> localhost] 253 | 254 | TASK [SYS >> Compute md5 hash for files/n9k1_20230811T074823/show_install_active.txt] ******************************************** 255 | ok: [n9k1 -> localhost] 256 | 257 | TASK [SYS >> Add 358c423e26688b2e5e8149c5addda3ea,files/n9k1_20230811T074823/show_install_active.txt to hashlist] **************** 258 | ok: [n9k1 -> localhost] 259 | 260 | TASK [SYS >> Write CLI output to disk: files/xrv1_20230811T074823/show_running-config.txt] *************************************** 261 | changed: [xrv1 -> localhost] 262 | 263 | TASK [SYS >> Read contents of just-created files/xrv1_20230811T074823/show_running-config.txt] *********************************** 264 | ok: [xrv1 -> localhost] 265 | 266 | TASK [SYS >> Compute md5 hash for files/xrv1_20230811T074823/show_running-config.txt] ******************************************** 267 | ok: [xrv1 -> localhost] 268 | 269 | TASK [SYS >> Add 8f6c43b07ff133e102ddbe75964f5302,files/xrv1_20230811T074823/show_running-config.txt to hashlist] **************** 270 | ok: [xrv1 -> localhost] 271 | 272 | TASK [SYS >> Write CLI output to disk: files/xrv1_20230811T074823/show_inventory.txt] ******************************************** 273 | changed: [xrv1 -> localhost] 274 | 275 | TASK [SYS >> Read contents of just-created files/xrv1_20230811T074823/show_inventory.txt] **************************************** 276 | ok: [xrv1 -> localhost] 277 | 278 | TASK [SYS >> Compute md5 hash for files/xrv1_20230811T074823/show_inventory.txt] ************************************************* 279 | ok: [xrv1 -> localhost] 280 | 281 | TASK [SYS >> Add b6fd7a1b001524998643584181a3d8a4,files/xrv1_20230811T074823/show_inventory.txt to hashlist] ********************* 282 | ok: [xrv1 -> localhost] 283 | 284 | TASK [SYS >> Write CLI output to disk: files/xrv1_20230811T074823/show_license_all.txt] ****************************************** 285 | changed: [xrv1 -> localhost] 286 | 287 | TASK [SYS >> Read contents of just-created files/xrv1_20230811T074823/show_license_all.txt] ************************************** 288 | ok: [xrv1 -> localhost] 289 | 290 | TASK [SYS >> Compute md5 hash for files/xrv1_20230811T074823/show_license_all.txt] *********************************************** 291 | ok: [xrv1 -> localhost] 292 | 293 | TASK [SYS >> Add 21d5b618c9af642992d7975d7b835f60,files/xrv1_20230811T074823/show_license_all.txt to hashlist] ******************* 294 | ok: [xrv1 -> localhost] 295 | 296 | TASK [SYS >> Write CLI output to disk: files/xrv1_20230811T074823/show_version.txt] ********************************************** 297 | changed: [xrv1 -> localhost] 298 | 299 | TASK [SYS >> Read contents of just-created files/xrv1_20230811T074823/show_version.txt] ****************************************** 300 | ok: [xrv1 -> localhost] 301 | 302 | TASK [SYS >> Compute md5 hash for files/xrv1_20230811T074823/show_version.txt] *************************************************** 303 | ok: [xrv1 -> localhost] 304 | 305 | TASK [SYS >> Add 34295a53235633c729a33f0e444a07c1,files/xrv1_20230811T074823/show_version.txt to hashlist] *********************** 306 | ok: [xrv1 -> localhost] 307 | 308 | TASK [SYS >> Write md5 hashes to disk] ******************************************************************************************* 309 | changed: [n9k1] 310 | changed: [csr1] 311 | changed: [csr2] 312 | changed: [xrv1] 313 | 314 | TASK [SYS >> Store archive path/filename] **************************************************************************************** 315 | ok: [csr1 -> localhost] 316 | 317 | TASK [SYS >> Archive files into a zip] ******************************************************************************************* 318 | changed: [csr1 -> localhost] 319 | 320 | TASK [SYS >> Copy the command below to SCP the archive off-box] ****************************************************************** 321 | ok: [csr1 -> localhost] => { 322 | "msg": "scp archives/commands_20230811T074823.zip nick@192.0.2.1:/racc/" 323 | } 324 | 325 | TASK [SYS >> Remove network device directory? True] ****************************************************************************** 326 | ok: [csr1] 327 | ok: [n9k1] 328 | ok: [csr2] 329 | ok: [xrv1] 330 | 331 | PLAY RECAP *********************************************************************************************************************** 332 | csr1 : ok=35 changed=8 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 333 | csr2 : ok=29 changed=6 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 334 | n9k1 : ok=34 changed=7 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 335 | xrv1 : ok=29 changed=6 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 336 | --------------------------------------------------------------------------------