Alias Limitations
The maximum number of characters in an alias is 128.
Aliases cannot contain the following special characters: {* " ? ; : , / \ % @ }
|
Special Character |
Description |
|
* |
asterisk |
|
@ |
at sign |
|
\ |
backslash |
|
/ |
forward slash |
|
: |
colon |
|
, |
comma |
|
{ |
open curly brace |
|
} |
closed curly brace |
|
" |
double-quote |
|
|
space |
|
? |
question mark |
|
% |
percent sign |
|
; |
semi-colon |
For example, the following error message is displayed:
(config) port 1/3/x12 alias port\1% Invalid alias 'port\1'. '\' is a reserved character.
Note: When backslash (\) and quotation mark (") are used at the very end of an alias, a newline is appended to the alias.
(config) # map ali m\>
(config map alias m^J) # from 1/1/g2



