From: Nathan Casassa (ncasassa@xxxxxxxxxxx)
Date: Wed May 23 2001 - 23:34:59 GMT-3
I don't think so, but something I also tried to get working but don't see
that it is possible was to be able to use an alias at the end of a regular
command. For example JUNOS uses slash notation when configuring masks, so
to speed things up in a cisco it would be nice to create an alias for the
mask:
TERM-HELIOS(config)#alias interface /24 255.255.255.0
TERM-HELIOS(config)#inter loopback 0
TERM-HELIOS(config-if)#ip add 192.168.5.5 /24
^
% Invalid input detected at '^' marker.
TERM-HELIOS(config-if)#/24
255.255.255.0
^
% Invalid input detected at '^' marker.
You notice above it accepts the /24 as an alias but will not recognize it if
using after the normal command only if it is the first thing typed.
> -----Original Message-----
> From: nobody@groupstudy.com [mailto:nobody@groupstudy.com]On Behalf Of
> Bryan Osoro
> Sent: Wednesday, May 23, 2001 8:30 PM
> To: ccielab@groupstudy.com
> Subject: OT Alias configuration
>
>
> Quesiton
>
> Is it possible to have an alias that is multiple words
> i.e you type int e0 and the alias turns that into end, or exit?
>
>
> As far as I can see, the alias allows for it to be only 1 word
> i.e. alias exec c1 clear line 1
>
> What I'd like to do is
>
> alias configure int e0 end
>
> Is there a different way to do this?
>
>
> Thanks
>
>
> Bryan
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 10:30:51 GMT-3