Configuring an Alias Introduction
1-13
Software Reference for SwitchBlade x3100 Series Switches (Setting Up the Switch)
maximum of 200 alias commands may be created and stored with the maximum name length being 40 char-
acters and the maximum substitution string being 256 characters.
• If there are existing alias commands that conflict with a new verb/action, by overriding it, that was intro-
duced as a result of system software upgrade, the alias will be automatically removed during the upgrade.
For instance if there was an existing alias:
CREATE ALIAS=”clear” STRING=”PURGE USERS”
and the upgrade introduces a new command with the verb/action CLEAR, for example:
CLEAR DATABASE
then the “clear” alias would override the CLEAR verb/action, causing the command to be interpreted as
“
PURGE USERS DATABASE”, which is invalid. Therefore, during the upgrade, checks are made for conflicts and
any alias commands that would result in a conflict are destroyed.
If an existing command that is referenced in an alias has changed syntax, thereby causing an invalid syntax, no
correction is taken. Once a user attempts to use the alias, an “Unable to Parse” error is displayed.
1.4.6 Configuring an Alias
This section describes configuration information, procedures, and commands for a Command Alias.
1.4.6.1 Default Configuration
Certain aliases will be created by the Allied Telesis Network Access product upon system start-up. These
default aliases are illustrated below (they are displayed using the SHOW ALIAS command):
>SHOW ALIAS
--- Alias Commands ------------------------------------------------------------
Alias Name Substitution String
----------------------- ------------------------------------------------------
showcfg................ show config
showdebug.............. showoamp
$1;showint;showtraf;showigmp;showvlan;showlag;showswit
ch;showstp;showdhcp;showepsr;showrtp;showvc;showuser;s
howsys;showcfg
showdhcp............... show dhcprelay
showepsr............... show epsr all;
showigmp............... show igmp;show igmpsnooping count
messageresponse;show igmpsnooping card all full;show
igmpsnooping interface all full
showint................ show interface all queuecount;show interface all
counter;show ip arp all;show ip connections;show ip
interface all;show ip interface all full;show ip
route all;
showlag................ show lag all
showoamp............... show card $1 software;show card $1 ports;show card
actcfc cpu;show card inactcfc cpu;show card actcfc
memory heap;show card memory quickheap;show card
actcfc memory messagebuffers;show card inactcfc
memory messagebuffers;
showrtp................ show rtp interface all full;
showstp................ show stp;show stp counter;
showswitch............. show switch;show switch fdb;show switch counter
showsys................ show system;show system cooling;show fanmodule;show
sntp;show bootserver;show alarms all;show