0% found this document useful (0 votes)
40 views7 pages

Configuring Aliases: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)

The document discusses configuring aliases on routers to create shortcuts for commonly used verification commands. It describes setting aliases for commands like show running-config, show startup-config, show ip interface brief, and show ip route on routers R1 and R2 using the alias exec command in global configuration mode. Aliases make it easier to run frequently used show commands with simpler aliases like sr, ss, sib, and sir instead of typing out the full commands.

Uploaded by

Avishkar Gote
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
40 views7 pages

Configuring Aliases: Khawar Butt Ccie # 12353 (R/S, Security, SP, DC, Voice, Storage & Ccde)

The document discusses configuring aliases on routers to create shortcuts for commonly used verification commands. It describes setting aliases for commands like show running-config, show startup-config, show ip interface brief, and show ip route on routers R1 and R2 using the alias exec command in global configuration mode. Aliases make it easier to run frequently used show commands with simpler aliases like sr, ss, sib, and sir instead of typing out the full commands.

Uploaded by

Avishkar Gote
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 7

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

You might also like