Saturday, February 8, 2020

Configuring a router interface as a dhcp client using netmiko

So I am fairly new to network automation. I am trying to configure a router's interface to be a dhcp client for a DHCP server on the same network. Now from what I know of netmiko, you have to specify the ip address of the device when referring to the device in the python code to be able to send configuration commands to it. But how would you specify the IP address if the device doesn't have an IP address as of yet. I am sorry if I am skipping some fundamental concept, I'm just really stuck on this. Help?



No comments:

Post a Comment