Alias Limitations

The maximum number of characters in an alias is 128.

Aliases cannot contain the following special characters:

Special Character

Description

\

backslash

/

forward slash

:

colon

,

comma

 

space

?

question mark

%

percent sign

"

quotation mark

*

asterisk

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