34
6620-3201
4.14 Confi gure
>
Command Mappings
It is possible to specify a small number of command “aliases” on your unit. This allows you to specify
substitute strings for text commands entered at the command line.
Using the Web Page(s)
The
Confi gure
>
Command Mappings
page contains a table that allows you to specify up to four
aliases for commands entered at the command prompt. Each table entry has the following
fi
elds:
Command to Map:
This column speci
fi
es the command that you want substituted.
Command Mapping:
This column speci
fi
es the corresponding replacement command.
Using Text Commands
From the command line, use the
cmd
command to con
fi
gure or display the command mappings.
To display the current command mappings enter the following commands:
cmd <n> cmdmapo ?
cmd <n> cmdmapi ?
where
<n>
is the table entry number, i.e. 0 to 3. The
cmdmapi
parameter shows the command to be
substituted, and the
cmdmapo
parameter shows the replacement command.
To change a command mapping use the following commands:
cmd <n> cmdmapo <string>
cmd <n> cmdmapi <string>
Note:
If either string contains blank characters you must enclose it with double quotes. When substituting
a command, upper case characters are considered the same as the corresponding lower case
characters.
For example, to substitute the command “type ana.text” with “tana”, use the commands:
cmd 0 cmdmapo “type ana.txt”
cmd 0 cmdmapi tana
After you have done this, typing “
tana
” at the command line will have the same effect as typing
“
type ana.txt
”.