Configuring global aliases

Global aliases (command shortcuts) are accessible to any logged-in user.

  1. In privileged EXEC mode, enter the configure terminal command.
    device# configure terminal
    
  2. Enter the alias-config command to access alias configuration mode.
    device(config)# alias-config
    
  3. Enter the alias command, specifying the alias and its corresponding command.
    device(config-alias-config)# alias ck "show clock"
    
  4. Verify the alias.
    device(config-alias-config)# exit
    device(config)#  exit
    device# ck 
    device#  show clock
    2016-06-14 13:03:55 Etc/GMT