Re: scripts

From: Zafar Khan (mahaguru@gmail.com)
Date: Tue May 22 2007 - 11:16:17 ART


check this out

http://www.netmasterclass.net/site/articles/CISCO%20IOS%20TCL%20and%20RCMD%20testing%20and%20troubleshooting%20scripting.pdf

I am in no way associated with NMC .

hth
zafar
16999

On 5/22/07, Edison Ortiz <edisonmortiz@gmail.com> wrote:
> For step 1, I go with
>
> sh run | i ip address
>
> Copy and Paste onto notepad and search & replace 'no ip address' with ' ' -
> search & replace 'ip address' with ' ' - search & replace '255.255.255.0'
> with ' '.
>
> The whole process takes me under 2 minutes.
> __
>
> Edison Ortiz
> (Routing & Switching, CCIE # 17943)
>
>
>
> ----- Original Message -----
> From: "To Be CCIE" <ccierocks@gmail.com>
> To: "Cisco certification" <ccielab@groupstudy.com>
> Sent: Tuesday, May 22, 2007 2:58 AM
> Subject: scripts
>
>
> > Group,
> >
> > I'm wondering if people can share the best way to run the tcl scripts to
> > do
> > the ping test. This is what I have been doing so far:
> >
> >
> > 1) I go the the router/switch through the terminal server and enter this
> > command:
> >
> > sh ip int brie | ex unass
> >
> > 2) I copy all the ip address assigned in the column while holding the ALT
> > key and paste them into a text document for each router and switch.
> >
> > 3) To get in to tcl script I enter "tclsh"
> >
> > 4) Copy and paste all the address from the text document
> >
> > foreach address {
> >
> > 155.32.1.1
> >
> > 155.32.11.1
> >
> > 155.32.12.1
> >
> > 155.32.2.2
> >
> > 155.32.3.3
> >
> > } {ping $address}
> >
> > 5) Enter "exit" to get out the tcl prompt.
> >
> > I'm wondering if people can comment if this is the most effective way to
> > do
> > it in the CCIE exam?
> >
> > Thanks,
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html



This archive was generated by hypermail 2.1.4 : Fri Jun 01 2007 - 06:55:21 ART