EasyManua.ls Logo

Cisco Nexus 5500 Series - H Commands

Cisco Nexus 5500 Series
160 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
The Cisco NX-OS software provides one default alias, alias, which is the equivalent to the show cli
alias command that displays all user-defined aliases.
You cannot delete or change the default command alias alias.
You can nest aliases to a maximum depth of 1. One command alias can refer to another command alias
that must refer to a valid command, not to another command alias.
A command alias always replaces the first command keyword on the command line.
You can define command aliases for commands in any command mode.
If you reference a CLI variable in a command alias, the current value of the variable appears in the alias,
not the variable reference.
You can use command aliases for show command searching and filtering.
Defining Command Aliases
You can define command aliases for commonly used commands.
SUMMARY STEPS
1.
configure terminal
2.
cli alias name alias-name alias-text
3.
exit
4.
(Optional) alias
5.
(Optional) copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enters global configuration mode.configure terminal
Example:
switch# configure terminal
switch(config)#
Step 1
Configures the command alias. The alias name is an
alphanumeric string that is not case sensitive and must begin
cli alias name alias-name alias-text
Example:
switch(config)# cli alias name ethint
interface ethernet
Step 2
with an alphabetic character. The maximum length is 30
characters.
Exits global configuration mode.exit
Example:
switch(config)# exit
switch#
Step 3
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
OL-30890-01 57
Understanding the Command-Line Interface
Defining Command Aliases

Table of Contents

Other manuals for Cisco Nexus 5500 Series

Related product manuals