5.28.2 Other Commands

Description:

Use this command to create an alias for any CLI command. You can later call this command by using the alias-string along with any additional parameters, which you need to specify. It will display a list of all the aliases currently defined if no parameter is given.

Command Syntax:

alias [alias-string = aliased-command]

Parameters:

 

Name

 

Description

 

 

 

 

 

 

 

The string, which you will use to refer to the aliased command,

 

alias-string

 

henceforth. It should not match any CLI keyword.

 

 

Type: Optional

 

 

 

 

 

 

Valid values: string of up to 14 characters (‘A’-’Z’, ‘a’-‘z’, ‘0’-‘9’, ’-‘, ’_’)

 

 

 

 

 

 

 

This is the total CLI command length (512 characters).

 

aliased-command

 

Type: Mandatory

 

 

Valid values: Any string (all printable characters except ‘;’) as long as

 

 

 

 

 

 

the total CLI Command length is not exceeded.

 

 

 

 

Mode:

Super-User, User

Output:

With Parameters

$alias abc = modify nbsize Set Done

$abc maxatmport 48 Set Done

Without Parameters

 

$alias

 

Alias

Command

---------------------------

 

abc

modify nbsize

IP DSLAM

687