Creating an alias for a CLI command
An alias serves as a shorthand version of a longer CLI command. For example, you can create an alias called shoro for the show ip route command. You can then enter te shoro alias at the command prompt and the show ip route command is issued.
To create an alias called shoro for the CLI command show ip route, enter the alias shoro = show ip route command.
device(config)# alias shoro = show ip route
Syntax: [no] alias alias-name = cli-command
The alias-name must be a single word, without spaces.
After the alias is configured, entering shoro in the privileged EXEC mode or in the global configuration mode issues the show ip route command.
Enter the command copy running-config with the appropriate parameters to create an alias called wrsbc.
device(config)#alias wrsbc = copy running-config tftp 10.10.10.10 test.cfg
To remove the wrsbc alias from the configuration, enter one of the following commands.
device(config)#no alias wrsbc
or
device(config)#unalias wrsbc
Syntax: unalias alias-name
The specified alias-name must be the name of an alias already configured on the Ruckus device.
To display the aliases currently configured on the Ruckus device, enter the following command in the Privileged EXEC mode or in the global configuration mode.
device# alias
wrsbc copy running-config tftp 10.10.10.10 test.cfg
shoro show ip route
Syntax: alias