cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1060
Views
0
Helpful
2
Replies

scripting with cli via vb or batch jobs

abknoc
Level 1
Level 1

can i use vb scripts or bat files to execute cli commands on 6509 catos 7.6?

any useful links or scripts?

2 Replies 2

brianj
Level 1
Level 1

I use a perl module called Net::Telnet::Cisco. This module will allow you to issue any command to a cisco device. Simply type the appropriate command based on OS and it will work.

I use this to manage our network consisting of 90 Cisco devices. I used perl to write a web based front-end which allows me to choose a list of devices that I then type, into a textarea, the command(s) I want to issue.

You can also use snmp. I do have some shell scripts that I use snmp to do things like copy start tftp, copy tftp start, and things like that. The snmp utilities are the standard like snmpwalk, snmpget, snmpgetnext etc...

HTH,

Brian

Brian,

I'm in a similar situation where I have to manage a lot of Cisco devices (UC500s in particular). Can you give a sample of your code? I'm not too familiar with perl and just got it installed along with the net::telnet::cisco module.

Thanks