Re: IOS - running multiple commands in one line

From: Jay McMickle <jay.mcmickle_at_yahoo.com>
Date: Tue, 8 Mar 2011 11:17:23 -0600

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
Received on Tue Mar 08 2011 - 11:17:23 ART

This archive was generated by hypermail 2.2.0 : Fri Apr 01 2011 - 06:35:41 ART