c
Configuring Aliases
KHAWAR BUTT
CCIE # 12353 [R/S, SECURITY, SP, DC, VOICE, STORAGE & CCDE]
Overview
Aliases
Commonly Used Commands
Configuring Aliases c
Lab Diagram
PC PC
Switch Switch
c
192.168.1.0/24 192.168.2.0/24
Ethernet 0/0 Ethernet 0/0
Serial 1/0 Serial 1/0
Console R1 192.168.12.0/24 R2
MGMT
PC
Alias
Alias allows you the ability to create shortcuts for long and commonly used
commands.
c
You create the Aliases in Global Configuration Mode.
Generally Aliases are created for commonly used Verification commands.
Commonly used Commands
Configure Terminal – Moves you to the Global Configuration Mode.
Show running-config – Displays thecrunning config.
Show startup-config – Displays the startup config.
Show IP interface brief – Displays the status of the interfaces.
Show ip route – Displays the routing table. We will use this a lot in this
course.
Configuring Aliases for the Commonly Used Commands
Aliases for the commonly used commands on R1 & R2.
R1
R1(config)#alias exec sr show running-config c
R1(config)#alias exec ss show startup-config
R1(config)#alias exec cc configure terminal
R1(config)#alias exec sib show ip interface brief
R1(config)#alias exec sir show ip route
___________________________________________
R2
R2(config)#alias exec sr show running-config
R2(config)#alias exec ss show startup-config
R2(config)#alias exec cc configure terminal
R2(config)#alias exec sib show ip interface brief
R2(config)#alias exec sir show ip route
Whiteboard