Hi, and welcome to this lecture. Thus far, we have read the output of several show commands received from our three Arista switches. And we have extracted some parameters from that output. Now it's time to send configuration commands to our devices in order to configure various parameters on the devices. And for this lecture, I have chosen seven commands to send to each of the three Arista switches using our application. So we are configuring the TAC X Server hosts, the TAC X Server key and the timeout.
We are also configuring the NTP server IP address, and three VLANs. before running the application, let me enter each of the Arista switches. And this is the output of show running config. You can see that there is no tacacs server NTP server or any of the three VLANs configured at this time. point on the switches. Now let's also go to the SSH connection.py module.
And let's comment out the print statement printing the output. Because we're not interested in seeing any output at this point, I'm going to save the file. And now let's run the application. Let's enter the user file, the file holding the commands. So CMD dot txt. And finally, the file holding the IP addresses of the switches.
All three switches are reachable. And now let's wait for the results. Okay, so judging from the output, it appears that our switches were successfully configured. Now it's time to go to the switches and verify if indeed, our configuration commands were applied. So let's start with Arista. One show run.
And you can see the TAC x server configuration, the key the timeout and the host. Also, right above it, you can see the NTP server 10 dot 10 dot 10 dot eight and you can also see the three VLANs, 2233 and 44 that have been created. Now let's check a restart to so show run. And again, the NTP server, the attacker server configuration, and the three VLANs are there. And finally, Arista three, and you can see that again, all the configuration commands have been successfully applied. So this way using the same application as we did in the previous lectures, we just change the commands inside the CMD dot txt file.
And we have automatically configured various parameters on our switches simultaneously using threading and all the modules the custom modules that we've built in this section. I hope this has been an interesting and exciting section of the course for you. And I will do my best to add more videos to this section in order to discuss and test other networking related concepts. See you soon.