For the CCIE lab you will want to enter the tclsh and run a script you have
created from notepad.
In the real world you may want to run a script from flash. You can save a
TCL script to the router flash the following way:
tclsh
puts [open "flash:ping-script" w+] {
foreach address {
1.1.1.1
2.2.2.2
} { ping $address }
}
exit
The script can then be run from privilege mode
tclsh flash:ping-script
You could also copy the script to flash from an ftp server or even run the
script directly from an ftp server with the following.
tclsh ftp://<server_ip>/<file_location>
-Justin
On Thu, Sep 3, 2009 at 10:02 PM, Joe Astorino <[email protected]>wrote:
> TCL scripts are not saved anywhere in the router. They just run out of RAM
> at the time so you don't need to remove them. Now, if you are doing macros
> on your switches, you need to remove those, and you should be warned about
> that in the lab.
>
>
> On Thu, Sep 3, 2009 at 9:14 PM, Bryan Bartik <[email protected]> wrote:
>
>> Jowi,
>>
>> If you just run the TCL script it is not saved. Use notepad to create it
>> and then just run it from the tcl shell.
>>
>> On Wed, Sep 2, 2009 at 8:07 AM, Mark Matters <[email protected]> wrote:
>>
>>> How do you add it to memory?
>>>
>>> Like a simple ping script?
>>>
>>>
>>> On Wed, Sep 2, 2009 at 5:10 AM, Iwan Hoogendoorn <[email protected]>wrote:
>>>
>>>> Hi Jowi,
>>>>
>>>> Usually a TCL script is stored on the flash so you can just do a
>>>> delete it with the "delete flash:<scriptname>" if you need to delete
>>>> it.
>>>>
>>>> But if the TCL script is part of the exam I would not remove this
>>>> unless clearly stated.
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Iwan Hoogendoorn
>>>> CCIE #13084 (R&S / Security / SP)
>>>> Sr. Support Engineer – IPexpert, Inc.
>>>> URL: http://www.IPexpert.com
>>>>
>>>> On Wed, Sep 2, 2009 at 10:33 AM, Jowi Nkwe (JM)<[email protected]>
>>>> wrote:
>>>> >
>>>> > Good Day,
>>>> >
>>>> > Another quick query... 2 issues with regard to TCL script for testing
>>>> > connectivity during the lab.
>>>> >
>>>> > 1) How do we remove the TCL script after testing..??
>>>> > 2) If not removed what impact does it have on the final lab
>>>> > assessment.. Can it affect any of operation of the router during
>>>> > proctor's evaluation ???
>>>> >
>>>> > Thanks..
>>>> > Jowi.
>>>> >
>>>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> > This e-mail is subject to the Telkom SA electronic communication legal
>>>> notice, available at :
>>>> > http://www.telkom.co.za/TelkomEMailLegalNotice.PDF
>>>> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> > _______________________________________________
>>>> > For more information regarding industry leading CCIE Lab training,
>>>> please visit www.ipexpert.com
>>>> >
>>>>
>>>>
>>>>
>>>> --
>>>> Regards,
>>>>
>>>> Iwan Hoogendoorn
>>>> CCIE #13084 (R&S / Security / SP)
>>>> Sr. Support Engineer – IPexpert, Inc.
>>>> URL: http://www.IPexpert.com
>>>> _______________________________________________
>>>> For more information regarding industry leading CCIE Lab training,
>>>> please visit www.ipexpert.com
>>>>
>>>
>>>
>>>
>>> --
>>>
>>>
>>> -
>>> "The more I learn the less I know". This is incredibly frustrating to me.
>>>
>>>
>>> _______________________________________________
>>> For more information regarding industry leading CCIE Lab training, please
>>> visit www.ipexpert.com
>>>
>>>
>>
>>
>> --
>> Bryan Bartik
>> CCIE #23707 (R&S), CCNP
>>
>> Sr. Support Engineer - IPexpert, Inc.
>> URL: http://www.IPexpert.com
>>
>> _______________________________________________
>> For more information regarding industry leading CCIE Lab training, please
>> visit www.ipexpert.com
>>
>>
>
>
> --
> Regards,
>
> Joe Astorino - CCIE #24347 R&S
> Technical Instructor - IPexpert, Inc.
> Cell: +1.586.212.6107
> Fax: +1.810.454.0130
> Mailto: [email protected]
>
> _______________________________________________
> For more information regarding industry leading CCIE Lab training, please
> visit www.ipexpert.com
>
>
_______________________________________________
For more information regarding industry leading CCIE Lab training, please visit
www.ipexpert.com