Thanks Jay... Nice thought on Micro though but that will require me first to
write a command in notepad save it put on tftp and then upload it to router
flash.
The micros option is superv for more practical like automatic provisioning
switchse kid of things where you can put 100 CLI's to sw using NMS.
Steave's one is the closest as we can avoid the hassles of tftp.
Just type it out :)
>> CAT3(tcl)#show flash;ping 5.5.5.5
On Thu, Mar 10, 2011 at 12:35 AM, Jay McMickle <jay.mcmickle_at_yahoo.com>wrote:
> Frog- what about my suggestion to use a macro?
>
> Regards,
> Jay McMickle- CCNP,CCSP,CCDP
> Sent from my iPhone
> http://mycciepursuit.wordpress.com
>
>
> On Mar 9, 2011, at 1:12 AM, Radioactive Frog <pbhatkoti_at_gmail.com> wrote:
>
> > Steve - Yes that's closer but was looking to do it on regular shell (not
> on
> > TCL shell) :(..... hard to please me isn't it?
> >
> > @David - that would be good if we've luxury of having a vi editor with
> IOS
> > :)
> >
> >
> >
> >
> > On Wed, Mar 9, 2011 at 3:52 PM, Steve Di Bias <sdibias_at_gmail.com> wrote:
> >
> >> I tried Brian's solution under tclsh using the same command you posted
> and
> >> it worked like a champ!
> >>
> >> CAT3(tcl)#
> >> CAT3(tcl)#show flash;ping 5.5.5.5
> >>
> >> Directory of flash:/
> >>
> >> 2 -rwx 924 Mar 1 1993 00:41:27 +00:00 vlan.dat
> >> 3 -rwx 9860621 Mar 1 1993 00:13:02 +00:00
> >> c3560-advipservicesk9-mz.122-40.SE.bin
> >> 4 -rwx 1048 Mar 28 1993 11:18:46 +00:00 multiple-fs
> >> 5 drwx 64 Mar 1 1993 00:40:48 +00:00
> >> c3560-ipservicesk9-mz.122-50.SE3
> >> 8 -rwx 24 Mar 28 1993 11:18:46 +00:00 private-config.text
> >> 9 -rwx 3527 Mar 28 1993 11:18:46 +00:00 config.text
> >>
> >> 32514048 bytes total (10543616 bytes free)
> >> Type escape sequence to abort.
> >> Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
> >> !!!!!
> >> Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/8 ms
> >> CAT3(tcl)#
> >>
> >> On Mon, Mar 7, 2011 at 2:54 PM, Radioactive Frog <pbhatkoti_at_gmail.com
> >wrote:
> >>
> >>> Is there a way to do this?
> >>>
> >>> like
> >>>
> >>> router#ping 5.5.5.5 ; show flash:
> >>>
> >>> just in one line?
> >>>
> >>>
> >>> Blogs and organic groups at http://www.ccie.net
> >>>
> >>> _______________________________________________________________________
> >>> Subscription information may be found at:
> >>> http://www.groupstudy.com/list/CCIELab.html
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>>
> >>
> >>
> >> --
> >> -Steve Di Bias
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Thu Mar 10 2011 - 02:33:39 ART
This archive was generated by hypermail 2.2.0 : Fri Apr 01 2011 - 06:35:41 ART