Gain hands-on experience in automating network tasks using Netmiko and Python. Understand how to connect to, configure, and retrieve information from network devices.
Netmiko is a Python library that simplifies the process of connecting to network devices via SSH. It supports a wide range of devices from different vendors.
- Basic understanding of Python programming.
- Basic knowledge of networking concepts and device configurations.
- Access to a network device or a network simulator.
- Use 2 Network devices
Use pip to install Netmiko (pip install netmiko
).
Ensure you have SSH access to a network device or a simulated device.
Write a Python script to connect to the network device using Netmiko.
Use the script to execute commands and display the output.
Extend the script to send configuration commands to the device.
Verify the configuration changes by executing appropriate show commands.
Identify a routine task and write a script to automate this task.
Implement logging in your script to log the operations.
Add error handling in the script to manage exceptions.
Generate a report that includes the commands executed, the changes made, and any errors encountered.
- The Python scripts developed.
- A detailed report documenting the process and the code.
- Correct implementation and use of Netmiko.
- Functionality of the scripts.
- Quality of the report, including the description of the process.