76

Python与Cisco的事儿之四-无心伤害-51CTO博客

 6 years ago
source link: http://blog.51cto.com/arckyli/2068461
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
   以下代码实现的流程: cdp -->获取相应链接的信息-->自动写进设备相对应的端口--->configure保存-->configure备份到TFTP服务器!#!/usr/bin/pythonfrom netmiko import ConnectHandlerfrom netmiko.ssh_exce

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK