cli-alias

This command configures the CLI Aliases table, which lets you define aliases that act as shortcuts for CLI commands.

Syntax

(config-system)# cli-settings
(cli-settings)# cli-alias <Index>
(cli-alias-<Index>)# 

Command

Description

Index

Defines the table row index.

alias-command

Defines the command for which you want to create an alias.

alias-name

Defines the alias for the command.

Note: The value is case-sensitive and cannot include spaces.

Command Mode

Privileged User

Related Commands

show alias

Example

This example configures the alias "CopyF" for the command copy firmware from:

(config-system)# cli-settings
(cli-settings)# cli-alias 0
(cli-alias-0)# alias-command 'copy firmware from'
(cli-alias-0)# alias-name CopyF