<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Netmiko output blank in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/netmiko-output-blank/m-p/509264#M3071</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run Netmiko for bulk packet captures in AWS. It works well but there is never output when using the Palo Alto device type. Output for Cisco works well. An example would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from netmiko import ConnectHandler

print("Connecting to Palo Alto to show clock")

virtual_palo = {
	'device_type': 'paloalto_panos',
	'host':   '192.168.1.100',
	'username': 'automationadmin',
	'password': 'ciscothenpalo123',
}
net_connect = ConnectHandler(**virtual_palo)


output = net_connect.send_command('show clock')
print(output)

print("Connecting to Cisco Switch to show clock")

cisco_switch = {
	'device_type': 'cisco_ios',
	'host':   '192.168.1.101',
	'username': 'automationadmin',
	'password': 'ciscothenpalo123',
}
net_connect = ConnectHandler(**cisco_switch)


output = net_connect.send_command('show clock')
print(output)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;This is just an example by the way, I don't run the scripts to show the clock, nor are those my credentials etc :-).&lt;BR /&gt;The output would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;python3 test_script.py
Connecting to Palo Alto to show clock

Connecting to Cisco Switch to show clock
10:18:46.830 BST Tue Jul 19 2022&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;You see the issue.&lt;BR /&gt;By the way this is my Netmiko version:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pip show netmiko
Name: netmiko
Version: 4.1.1
Summary: Multi-vendor library to simplify legacy CLI connections to network devices
Home-page: https://github.com/ktbyers/netmiko
Author: Kirk Byers
Author-email: ktbyers@twb-tech.com
License: MIT
Location: /usr/local/lib/python3.9/site-packages
Requires: ntc-templates, paramiko, pyserial, pyyaml, scp, setuptools, tenacity, textfsm
Required-by:&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PAN-OS:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;vm-license: VM-100
vm-cap-tier: 6.5 GB
vm-cpu-count: 2
vm-memory: 7857036
vm-mode: Amazon AWS
cloud-mode: cloud
sw-version: 10.1.5-h1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be great thanks.&lt;/P&gt;</description>
    <pubDate>Tue, 19 Jul 2022 09:34:27 GMT</pubDate>
    <dc:creator>NathanielM</dc:creator>
    <dc:date>2022-07-19T09:34:27Z</dc:date>
    <item>
      <title>Netmiko output blank</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/netmiko-output-blank/m-p/509264#M3071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I run Netmiko for bulk packet captures in AWS. It works well but there is never output when using the Palo Alto device type. Output for Cisco works well. An example would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;from netmiko import ConnectHandler

print("Connecting to Palo Alto to show clock")

virtual_palo = {
	'device_type': 'paloalto_panos',
	'host':   '192.168.1.100',
	'username': 'automationadmin',
	'password': 'ciscothenpalo123',
}
net_connect = ConnectHandler(**virtual_palo)


output = net_connect.send_command('show clock')
print(output)

print("Connecting to Cisco Switch to show clock")

cisco_switch = {
	'device_type': 'cisco_ios',
	'host':   '192.168.1.101',
	'username': 'automationadmin',
	'password': 'ciscothenpalo123',
}
net_connect = ConnectHandler(**cisco_switch)


output = net_connect.send_command('show clock')
print(output)&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;This is just an example by the way, I don't run the scripts to show the clock, nor are those my credentials etc :-).&lt;BR /&gt;The output would be:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;python3 test_script.py
Connecting to Palo Alto to show clock

Connecting to Cisco Switch to show clock
10:18:46.830 BST Tue Jul 19 2022&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;You see the issue.&lt;BR /&gt;By the way this is my Netmiko version:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;pip show netmiko
Name: netmiko
Version: 4.1.1
Summary: Multi-vendor library to simplify legacy CLI connections to network devices
Home-page: https://github.com/ktbyers/netmiko
Author: Kirk Byers
Author-email: ktbyers@twb-tech.com
License: MIT
Location: /usr/local/lib/python3.9/site-packages
Requires: ntc-templates, paramiko, pyserial, pyyaml, scp, setuptools, tenacity, textfsm
Required-by:&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PAN-OS:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;vm-license: VM-100
vm-cap-tier: 6.5 GB
vm-cpu-count: 2
vm-memory: 7857036
vm-mode: Amazon AWS
cloud-mode: cloud
sw-version: 10.1.5-h1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be great thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Jul 2022 09:34:27 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/netmiko-output-blank/m-p/509264#M3071</guid>
      <dc:creator>NathanielM</dc:creator>
      <dc:date>2022-07-19T09:34:27Z</dc:date>
    </item>
    <item>
      <title>Re: Netmiko output blank</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/netmiko-output-blank/m-p/515934#M3175</link>
      <description>&lt;P&gt;Looks like this is being progressed under&amp;nbsp;&lt;A href="https://github.com/ktbyers/netmiko/issues/2864" target="_blank"&gt;https://github.com/ktbyers/netmiko/issues/2864&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 26 Sep 2022 13:16:21 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/netmiko-output-blank/m-p/515934#M3175</guid>
      <dc:creator>JimmyHolland</dc:creator>
      <dc:date>2022-09-26T13:16:21Z</dc:date>
    </item>
  </channel>
</rss>

