Hi, 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: 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) This is just an example by the way, I don't run the scripts to show the clock, nor are those my credentials etc :-). The output would be: 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 You see the issue. By the way this is my Netmiko version: 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: PAN-OS: 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 Any help would be great thanks.
... View more