@ 191120.2

191016.3 · 583e328e6162545514feea3d6aeaeb8d22844c06

Create netmiki_enable.py

reading declarations

netmiki_enable.py

new file mode 100644@@ -0,0 +1,20 @@+from netmiko import Netmiko+from getpass import getpass+++my_device = {+   'host': '1.1.1.1',+	 'username': 'python',+	 'password': password,+   'secret' : password,+	 'device_type': 'cisco_iso'+}++++net_conn = Netmiko(**my_device)+net_conn.send_command_timing("disable")+print(net_conn.find_prompt())++net_conn.enable()+print(net_conn.find_prompt())