In this lesson, we will cover:
- What is the Netmiko Delay Factor?
- What is a Global Delay Factor?
- What is FastCLI?
- How to adjust the Delay Factor settings.
Intro to Netmiko's Delay Factor
Delay Factor is a setting within Netmiko that allows you to alter the amount of delay Netmiko will use when interacting with the device. This is useful when a device or command responds slowly or when interacting with a device over high latency links.
This section will look at the two different types of delay factor that can be configured, along with the
fast_cli setting, and how this affects our delay factors.
By default, Netmiko will wait 100 seconds for a
send_command to complete. In other words, it will look for the device’s command prompt (or
expected_string) for 100 seconds before timing out. However, you may need to increase this setting when a device takes longer than this timeout to finish sending the output. From experience, I have seen Cisco Catalysis devices taking an extremely long time to output a
show run, for example.