Configuring Cisco IOS shortcuts command are quite easy and neat… just use the exec command “alias”.
command structure: alias
Example in exec mode: sh ip int br (show ip interface brief)
so following, we would get “alias exec s sh ip int br”
Example in configure mode: router ospf
and we would get “alias configure ro router ospf”
More mixed examples [ alias / original command / command to enter ]
shr / show run | inc ip / alias exec shr sh run | inc ip
et0 / interface fa0/0 / alias configure et0 interface fa0/0
reload / sh run / alias exec reload sh run <— rewrite IOS command
I hope that was informative!