A Net::Telnet::Cisco Example (Save Running Configuration) share 35 days ago by James This is a simple perl script that uses the 'Net::Telnet::Cisco' perl module to save the running configuration on a Cisco IOS router or switch. It could be modified to be automated very easily. #!/usr/bin/perl $confDir = '/home/james/cisco_configs'; $user = "changeme"; $pass = "changeme"; $enable = " ... Packet Head Networks - ip.packethead.net |
Using Perl to grab a proccess id in Linux share 35 days ago by James Ever since I first started doing Linux system administration, I've used perl scripts to automate some basic tasks. I've never really been that great at writing scripts because I never took the time to sit down and really learn the intricate details of the language. Here recently, I've written some o ... Packet Head Networks - ip.packethead.net |