Netmiko Delay Factor

Global delay factor
Delay factor

from pprint import pprint
from netmiko import Netmiko
from getpass import getpass

password = getpass()

devices = {‘host’: ‘’, ‘username’: ‘ntc’, ‘password’: ‘ntc123’, ‘device_type’: ‘cisco_xe’, ‘secret’: password, ‘session_log’: ‘my_output.txt’,¬†‘global_delay_factor’:10}

2 would multiple by .1, .5, 2, 3x 3 etc… ( to be tested more in dept¬†)

You can add the delay factor in the send_command(‘command’, delay_factor=#)


Reference :
Python for Network Engineers

Leave a Comment