
The commands we use in our daily work can sometimes feel repetitive. To streamline our workflow and save time, we can use aliases on our devices. As with other operating systems, creating an aliases on Cisco devices is relatively straightforward.
Cisco devices have default aliases, which we can view using the following command.
Switch# show aliases
For example, we can use “p” instead of the “ping” command for pinging.
Switch# p 192.168.1.10To create a new alias on the device, we can use the following command.
Switch(config)# alias exec siib show ip interface briefIn this example, we create an alias for the “show ip interface brief” command. After configuring the alias, we can use “siib” as a shortcut for “show ip interface brief”.
Both “show ip interface brief” and “siib” commands will give the same output on the same device.
To delete the alias that we create use the following command.
Switch(config)# no alias exec siib show ip interface briefStay tuned for more computer network content.

Leave a Reply