Users Guide

Table Of Contents
Configuring alias command
You can configure shorter alias names for singleline command input using the alias command.
To configure the alias name, perform the following steps:
1. Configure the terminal to enter the Global Configuration mode.
EXEC Privilege mode
DellEMC#configure terminal
2. Configure the system to enter the alias-definition mode.
CONFIGURATION mode
DellEMC(conf)#alias-definition
3. Create the alias name followed by the singleline CLI.
ALIAS DEFINITION CONFIGURATION mode
DellEMC(conf-alias-definition)#alias sr show running-config
4. Display the aliases and its definition.
EXEC Privilege mode
show alias
Example of the show alias Command
DellEMC# configure terminal
DellEMC(config)# alias-definition
DellEMC(conf-alias-definition)# alias ns no shutdown
DellEMC(conf-alias-definition)# alias 10gint interface wentyFiveGigE $1
Viewing alias configuration
To view the Alias configurations, use the following commands:
1. Display the complete list of aliases and its definitions.
EXEC Privilege mode
DellEMC#show alias
DellEMC# show alias
-----------------------------------------------------------------
Alias Name Definition
-----------------------------------------------------------------
showipbr10 show ip interface brief | .
showipbr40 show ip interface brief | .
shboot show bootvar
cr-vlan interface vlan $1 ..
-----------------------------------------------------------------
Total Alias Configured : 4
-----------------------------------------------------------------
NOTE:
The alias definition displays upto 40 characters and you can view the detailed list of definitions using the
details option.
2. Display the details of all the aliases that are configured on the system.
EXEC Privilege mode
DellEMC#show alias details
DellEMC# show alias details
------------------------------------------------------------------
Name: showipbr10
Definition:
show ip interface brief | grep tengig ignore-case
------------------------------------------------------------------
------------------------------------------------------------------
Configuration Fundamentals
41