ansible-playbook playbooks/pb2_ioscommand.yml -c paramiko
PLAY [show version and other user level commands] ********************************************************************************************
TASK [run multiple commands on remote nodes] *************************************************************************************************
[WARNING]: ansible-pylibssh not installed, falling back to paramiko
[WARNING]: ansible-pylibssh not installed, falling back to paramiko
[WARNING]: ansible-pylibssh not installed, falling back to paramiko
[WARNING]: ansible-pylibssh not installed, falling back to paramiko
ok: [172.16.1.102]
ok: [172.16.1.103]
ok: [172.16.1.124]
ok: [172.16.1.104]
TASK [debug] *********************************************************************************************************************************
ok: [172.16.1.102] => {
"print_output.stdout_lines": [
[
"Cisco IOS Software, Linux Software (I86BI_LINUX_L2-UPK9-M), Experimental Version 15.0(20121031:162848) [dstivers-oct25-2012-golden_spike 103]",
"Copyright (c) 1986-2012 by Cisco Systems, Inc.",
"Compiled Wed 31-Oct-12 09:42 by dstivers",
"",
"ROM: Bootstrap program is Linux",
"",
" SW2 uptime is 2 hours, 49 minutes",
"System returned to ROM by reload at 0",
"System image file is \"unix:/opt/gns3/images/IOU/i86bi-linux-l2-upk9-15.0b.bin\"",
"Last reload reason: Unknown reason",
"",
"",
"",
"This product contains cryptographic features and is subject to United",
"States and local country laws governing import, export, transfer and",
"use. Delivery of Cisco cryptographic products does not imply",
"third-party authority to import, export, distribute or use encryption.",
"Importers, exporters, distributors and users are responsible for",
"compliance with U.S. and local country laws. By using this product you",
"agree to comply with applicable laws and regulations. If you are unable",
"to comply with U.S. and local laws, return this product immediately.",
"",
"A summary of U.S. laws governing Cisco cryptographic products may be found at:",
"http://www.cisco.com/wwl/export/crypto/tool/stqrg.html",
"",
"If you require further assistance please contact us by sending email to",
"export@cisco.com.",
"",
"Linux Unix (Intel-x86) processor with 202485K bytes of memory.",
"Processor board ID 2048002",
"16 Ethernet interfaces",
"16K bytes of NVRAM.",
"",
"Configuration register is 0x0"
],
[
"Interface IP-Address OK? Method Status Protocol",
"Ethernet0/0 unassigned YES unset up up ",
"Ethernet0/1 unassigned YES unset up up ",
"Ethernet0/2 unassigned YES unset up up ",
"Ethernet0/3 unassigned YES unset up up ",
"Ethernet1/0 unassigned YES unset up up ",
"Ethernet1/1 unassigned YES unset up up ",
"Ethernet1/2 unassigned YES unset up up ",
"Ethernet1/3 unassigned YES unset up up ",
"Ethernet2/0 unassigned YES unset up up ",
"Ethernet2/1 unassigned YES unset up up ",
"Ethernet2/2 unassigned YES unset up up ",
"Ethernet2/3 unassigned YES unset up up ",
"Ethernet3/0 unassigned YES unset up up ",
"Ethernet3/1 unassigned YES unset up up ",
"Ethernet3/2 unassigned YES unset up up ",
"Ethernet3/3 unassigned YES unset up up ",
"Vlan1 172.16.1.102 YES NVRAM up up"
]
]
}
ok: [172.16.1.124] => {
"print_output.stdout_lines": [
[
"Cisco IOS Software, Solaris Software (I86BI_LINUXL2-IPBASEK9-M), Experimental Version 15.1(20130726:213425) [dstivers-july26-2013-team_track 105]",
"Copyright (c) 1986-2013 by Cisco Systems, Inc.",
"Compiled Fri 26-Jul-13 16:12 by dstivers",
"",
"ROM: Bootstrap program is Linux",
"",
"SW4 uptime is 3 hours, 34 minutes",
"System returned to ROM by reload at 0",
"System image file is \"unix:/opt/gns3/images/IOU/i86bi-linux-l2-ipbasek9-15.1g.bin\"",
"Last reload reason: Unknown reason",
"",
"",
"",
"This product contains cryptographic features and is subject to United",
"States and local country laws governing import, export, transfer and",
"use. Delivery of Cisco cryptographic products does not imply",
"third-party authority to import, export, distribute or use encryption.",
"Importers, exporters, distributors and users are responsible for",
"compliance with U.S. and local country laws. By using this product you",
"agree to comply with applicable laws and regulations. If you are unable",
"to comply with U.S. and local laws, return this product immediately.",
"",
"A summary of U.S. laws governing Cisco cryptographic products may be found at:",
"http://www.cisco.com/wwl/export/crypto/tool/stqrg.html",
"",
"If you require further assistance please contact us by sending email to",
"export@cisco.com.",
"",
"Linux Unix (Intel-x86) processor with 199474K bytes of memory.",
"Processor board ID 2048005",
"16 Ethernet interfaces",
"1 Virtual Ethernet interface",
"16K bytes of NVRAM.",
"",
"Configuration register is 0x0"
],
[
"Interface IP-Address OK? Method Status Protocol",
"Ethernet0/0 unassigned YES unset up up ",
"Ethernet0/1 unassigned YES unset up up ",
"Ethernet0/2 unassigned YES unset up up ",
"Ethernet0/3 unassigned YES unset up up ",
"Ethernet1/0 unassigned YES unset up up ",
"Ethernet1/1 unassigned YES unset up up ",
"Ethernet1/2 unassigned YES unset up up ",
"Ethernet1/3 unassigned YES unset up up ",
"Ethernet2/0 unassigned YES unset up up ",
"Ethernet2/1 unassigned YES unset up up ",
"Ethernet2/2 unassigned YES unset up up ",
"Ethernet2/3 unassigned YES unset up up ",
"Ethernet3/0 unassigned YES unset up up ",
"Ethernet3/1 unassigned YES unset up up ",
"Ethernet3/2 unassigned YES unset up up ",
"Ethernet3/3 unassigned YES unset up up ",
"Vlan1 172.16.1.124 YES manual up up"
]
]
}
ok: [172.16.1.104] => {
"print_output.stdout_lines": [
[
"Cisco IOS Software, 7200 Software (C7200-ADVIPSERVICESK9-M), Version 15.2(4)S5, RELEASE SOFTWARE (fc1)",
"Technical Support: http://www.cisco.com/techsupport",
"Copyright (c) 1986-2014 by Cisco Systems, Inc.",
"Compiled Thu 20-Feb-14 06:51 by prod_rel_team",
"",
"ROM: ROMMON Emulation Microcode",
"BOOTLDR: 7200 Software (C7200-ADVIPSERVICESK9-M), Version 15.2(4)S5, RELEASE SOFTWARE (fc1)",
"",
"R1 uptime is 3 hours, 6 minutes",
"System returned to ROM by unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0, BOOTDATA 19",
"System image file is \"tftp://255.255.255.255/unknown\"",
"Last reload type: Normal Reload",
"Last reload reason: unknown reload cause - suspect boot_data[BOOT_COUNT] 0x0, BOOT_COUNT 0, BOOTDATA 19",
"",
"",
"",
"This product contains cryptographic features and is subject to United",
"States and local country laws governing import, export, transfer and",
"use. Delivery of Cisco cryptographic products does not imply",
"third-party authority to import, export, distribute or use encryption.",
"Importers, exporters, distributors and users are responsible for",
"compliance with U.S. and local country laws. By using this product you",
"agree to comply with applicable laws and regulations. If you are unable",
"to comply with U.S. and local laws, return this product immediately.",
"",
"A summary of U.S. laws governing Cisco cryptographic products may be found at:",
"http://www.cisco.com/wwl/export/crypto/tool/stqrg.html",
"",
"If you require further assistance please contact us by sending email to",
"export@cisco.com.",
"",
"Cisco 7206VXR (NPE400) processor (revision A) with 491520K/32768K bytes of memory.",
"Processor board ID 4279256517",
"R7000 CPU at 150MHz, Implementation 39, Rev 2.1, 256KB L2 Cache",
"6 slot VXR midplane, Version 2.1",
"",
"Last reset from power-on",
"",
"PCI bus mb0_mb1 (Slots 0, 1, 3 and 5) has a capacity of 600 bandwidth points.",
"Current configuration on bus mb0_mb1 has a total of 240 bandwidth points. ",
"This configuration is within the PCI bus capacity and is supported. ",
"",
"PCI bus mb2 (Slots 2, 4, 6) has a capacity of 600 bandwidth points.",
"Current configuration on bus mb2 has a total of 0 bandwidth points ",
"This configuration is within the PCI bus capacity and is supported. ",
"",
"Please refer to the following document \"Cisco 7200 Series Port Adaptor",
"Hardware Configuration Guidelines\" on Cisco.com <http://www.cisco.com>",
"for c7200 bandwidth points oversubscription and usage guidelines.",
"",
"",
"4 Ethernet interfaces",
"1 FastEthernet interface",
"509K bytes of NVRAM.",
"",
"8192K bytes of Flash internal SIMM (Sector size 256K).",
"Configuration register is 0x2102"
],
[
"Interface IP-Address OK? Method Status Protocol",
"FastEthernet0/0 172.16.1.104 YES NVRAM up up ",
"Ethernet1/0 unassigned YES NVRAM up up ",
"Ethernet1/0.10 10.10.1.1 YES NVRAM up up ",
"Ethernet1/0.20 10.20.1.1 YES NVRAM up up ",
"Ethernet1/1 unassigned YES NVRAM administratively down down ",
"Ethernet1/2 unassigned YES NVRAM administratively down down ",
"Ethernet1/3 unassigned YES NVRAM administratively down down"
]
]
}
ok: [172.16.1.103] => {
"print_output.stdout_lines": [
[
"Cisco IOS Software, Solaris Software (I86BI_LINUXL2-IPBASEK9-M), Experimental Version 15.1(20130726:213425) [dstivers-july26-2013-team_track 105]",
"Copyright (c) 1986-2013 by Cisco Systems, Inc.",
"Compiled Fri 26-Jul-13 16:12 by dstivers",
"",
"ROM: Bootstrap program is Linux",
"",
"SW3 uptime is 3 hours, 33 minutes",
"System returned to ROM by reload at 0",
"System image file is \"unix:/opt/gns3/images/IOU/i86bi-linux-l2-ipbasek9-15.1g.bin\"",
"Last reload reason: Unknown reason",
"",
"",
"",
"This product contains cryptographic features and is subject to United",
"States and local country laws governing import, export, transfer and",
"use. Delivery of Cisco cryptographic products does not imply",
"third-party authority to import, export, distribute or use encryption.",
"Importers, exporters, distributors and users are responsible for",
"compliance with U.S. and local country laws. By using this product you",
"agree to comply with applicable laws and regulations. If you are unable",
"to comply with U.S. and local laws, return this product immediately.",
"",
"A summary of U.S. laws governing Cisco cryptographic products may be found at:",
"http://www.cisco.com/wwl/export/crypto/tool/stqrg.html",
"",
"If you require further assistance please contact us by sending email to",
"export@cisco.com.",
"",
"Linux Unix (Intel-x86) processor with 199474K bytes of memory.",
"Processor board ID 2048003",
"16 Ethernet interfaces",
"1 Virtual Ethernet interface",
"16K bytes of NVRAM.",
"",
"Configuration register is 0x0"
],
[
"Interface IP-Address OK? Method Status Protocol",
"Ethernet0/0 unassigned YES unset up up ",
"Ethernet0/1 unassigned YES unset up up ",
"Ethernet0/2 unassigned YES unset up up ",
"Ethernet0/3 unassigned YES unset up up ",
"Ethernet1/0 unassigned YES unset up up ",
"Ethernet1/1 unassigned YES unset up up ",
"Ethernet1/2 unassigned YES unset up up ",
"Ethernet1/3 unassigned YES unset up up ",
"Ethernet2/0 unassigned YES unset up up ",
"Ethernet2/1 unassigned YES unset up up ",
"Ethernet2/2 unassigned YES unset up up ",
"Ethernet2/3 unassigned YES unset up up ",
"Ethernet3/0 unassigned YES unset up up ",
"Ethernet3/1 unassigned YES unset up up ",
"Ethernet3/2 unassigned YES unset up up ",
"Ethernet3/3 unassigned YES unset up up ",
"Vlan1 172.16.1.103 YES NVRAM up up"
]
]
}
PLAY RECAP ***********************************************************************************************************************************
172.16.1.102 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
172.16.1.103 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
172.16.1.104 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
172.16.1.124 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0