Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

script to ssh into router/switch to shut port

Does anyone have a script that can automatically ssh or telnet into a router or switch and shut a port?

1 REPLY
VIP Purple

Re: script to ssh into router/switch to shut port

Hello,

have a look at the SSH script below...

I have not tested this, it might require a little bit of tweaking...

This script is used to issue config commands to a cisco device using either telnet or SSHv1.

http://www.cpan.org/authors/id/R/RG/RGRAVES/CCS/CCS_sub_SSH.pl

HTH,

GP

586
Views
0
Helpful
1
Replies
CreatePlease to create content