automating monotonous tasks

2001-02-16 Thread suaveguru

hi all 

I am in the process of automating adding in of
bandwidth statements for all my customers' interfaces 

anyone know of a fast way of automating this tasks , I
have about a few hundred interfaces to key in 


regards,

suaveguru

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

_
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



Re: automating monotonous tasks

2001-02-16 Thread Andy


If you have a unix box I would do this myself:

telnet cisco
show run | include Serial
copy and paste the results to a file
delete out any serials you don't want bandwidth statements for

create this script

#!/bin/bash
exec  serialsfile
while read serial
do
echo "$serial"  serial.cfg
echo "bandwidth 56"  serial.cfg
echo "exit"  serial.cfg
done

run it, paste the results into your telnet session

andy

On Fri, 16 Feb 2001, suaveguru wrote:

 hi all 
 
 I am in the process of automating adding in of
 bandwidth statements for all my customers' interfaces 
 
 anyone know of a fast way of automating this tasks , I
 have about a few hundred interfaces to key in 
 
 
 regards,
 
 suaveguru
 
 __
 Do You Yahoo!?
 Get personalized email addresses from Yahoo! Mail - only $35 
 a year!  http://personal.mail.yahoo.com/
 
 _
 FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
 Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]
 

_
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]