Good point, Steve. Thanks.
Regards,
Jay McMickle- CCNP,CCSP,CCDP
Sent from my iPhone
http://mycciepursuit.wordpress.com
On Mar 8, 2011, at 3:03 PM, Steve Di Bias <sdibias_at_gmail.com> wrote:
>
> Jay is correct, if you are asked to do something in one line use a macro.
However, since this is a global macro you would need to modify it just a
little bi by adding in the "do" keyword
>
> macro name test
> do ping 5.5.5.5
> do show flash
> @
>
> macro global apply test
>
>
> On Tue, Mar 8, 2011 at 9:17 AM, Jay McMickle <jay.mcmickle_at_yahoo.com>
wrote:
> Yes, it's possible with a "macro name commands" command.
> Macro name test
> Ping 5.5.5.5
> Sh run
> @
> Exit
>
> Now execute test and it will perform the operations.
>
> This is actually covered in IPExperts VOD day 1 material under lecture,
bridging and switching. I'm sure INE has it too, but only have their
workbooks.
>
> Regards,
> Jay McMickle- CCNP,CCSP,CCDP
> Sent from my iPhone
> http://mycciepursuit.wordpress.com
>
>
> On Mar 7, 2011, at 4:59 PM, Ryan West <rwest_at_zyedge.com> wrote:
>
> > Is this a test type question or something that you'd like to be able to
script. If the later, I would look at RANCID.
> >
> > -ryan
> >
> > -----Original Message-----
> > From: nobody_at_groupstudy.com [mailto:nobody_at_groupstudy.com] On Behalf Of
Radioactive Frog
> > Sent: Monday, March 07, 2011 5:55 PM
> > To: Cisco certification
> > Subject: IOS - running multiple commands in one line
> >
> > 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
> >
> >
> > 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
>
> _______________________________________________________________________
> 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
Received on Tue Mar 08 2011 - 19:39:35 ART
This archive was generated by hypermail 2.2.0 : Fri Apr 01 2011 - 06:35:41 ART