Re: Alias that does multiple commands at once?

From: Jennifer Bellucci (jennifer_bellucci@hotmail.com)
Date: Thu Apr 03 2003 - 06:41:29 GMT-3


Have you looked into menu's? Look it up on the fundamentals on CCO.
----- Original Message -----
From: "Richard Davidson" <rich@myhomemail.net>
To: "Michael L. Williams" <MichaelWilliams@swbell.net>; "CCIELab@Groupstudy"
<ccielab@groupstudy.com>
Sent: Thursday, April 03, 2003 12:43 AM
Subject: Re: Alias that does multiple commands at once?

> I don't think you can do that with an alias. You best
> bet is an automated tool. you could write a perl
> script or bat file. You could just buy kiwi cat
> tools. I think cat tools is perl based but im not
> sure. I use it to update lots of routers as well as
> backup the configs. it's like $60 and well worth it.
> http://www.kiwisyslog.com/
> Rich
> --- "Michael L. Williams" <MichaelWilliams@swbell.net>
> wrote:
> > Is it possible to create an alias that does multiple
> > commands at once?
> >
> > Reason I ask as that we're moving our data center,
> > and are going to be
> > connecting all devices into 4 distribution switches
> > (currently they
> > connect directly to the core switches), and so I'll
> > configuring a few
> > hundred switchports and wanted to be able to type
> > '100f' and have it do:
> >
> > switchport mode access
> > speed 100
> > duplex full
> > spanning-tree portfast
> > no shut
> >
> > Can this be done? Icouldn't find a way to indicate
> > carriage return on a
> > single line. I know I could copy /paste, but it'd
> > be nicer to have
> > alias for many different switchport configurations
> > and to be able to
> > call them up at will.
> >
> > Thanks!
> > Mike W.



This archive was generated by hypermail 2.1.4 : Thu May 01 2003 - 13:35:45 GMT-3