ACE cli alias configuration

Unanswered Question
Feb 16th, 2010

is there any possibillity to cinfigure an cli alias on ACE ?

I am wondering that a "show alias" is possible:

ACE/Admin# show alias
CLI alias commands
==================
ACE/Admin#

but the "normal" alias configuration doesn´t work, eg:

ACE/Admin(config)# cli alias name shint show interface
                              ^
% invalid command detected at '^' marker.

I use the following SW:

Cisco Application Control Software (ACSW)
  loader:    Version 12.2[120]
  system:    Version A2(1.4a) [build 3.0(0)A2(1.4a) adbuild_12:09:43-2009/04/08_/auto/adbu-rel2/rel_a2_1_4_throttle/REL_3_0_0_A2_1_4A]

thx

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
dario.didio Tue, 02/16/2010 - 07:59

Hi,

I don't think that ACE supports alias commands.

Indeed, the show alias command works, but is a hidden commandP:

ACE/Admin# show  a
aaa          access-list  accounting   acl-merge    arp
ACE/Admin# show  alias
CLI alias commands
==================
ACE/Admin#

also in config mode, no command to configure aliases.

Looking in the command reference guide, no alias commands either.

So I don't think you can create alias commands (maybe in the future?)

I'm running A2(2.2)

HTH,

Dario

venkatkr Tue, 02/16/2010 - 09:09

Hi,

Though ACE software works on Linux kernel 2.4, it does not have all the linux functionality.There is no Alias command. Even if i login to the kernel mode, you will not have a alias command.

Thanks

Venky

sthon-dbsys Wed, 02/17/2010 - 00:46

I know that "show alias" is a hidden command, so I thought there are also hodden config commands

Gilles Dufour Wed, 02/17/2010 - 00:57

The CLI code is shared between different devices.

The 'show alias' is something we forgot to remove.

switch/Admin# show a?
aaa          access-list  accounting   acl-merge    arp
switch/Admin# show a

However, as can be seen above, this is normally a hidden command.

There is no option to create alias on ACE

Thanks,

Gilles.

sthon-dbsys Wed, 02/17/2010 - 01:25

so it´s possible to misuse the script functionality to define some "alias" ?

... or can I start the "script procedure" only in configured probes ?

Gilles Dufour Wed, 02/17/2010 - 04:02

there is no alias on ACE.  The command 'show alias' will be removed. (it is currently just hidden).

Script can only be called from probes.

Gilles.

Actions

This Discussion