Network management is an essential task in modern organizations, where the complexity of technological infrastructures demands efficient and accurate solutions. With network devices from leading manufacturers such as Cisco and Mikrotik. In response to these challenges, automating the configuration of network devices has gained popularity as an approach to improve efficiency and reduce errors. Python, a programming language widely adopted for its versatility and ease of use, has become a key tool for this automation. Within this ecosystem, Netmiko emerges as a specialized library that facilitates automated interaction with network devices using SSH. Netmiko allows network administrators to write scripts that can connect to Cisco and Mikrotik devices, execute configuration commands, and retrieve information about the network status. This approach not only speeds up the configuration process, but also ensures consistency and accuracy in deploying configurations, especially in multi-device environments. As networks continue to grow in complexity, the adoption of tools such as Netmiko becomes essential to maintaining the operability and security of network infrastructures.