Log in Go to the main page Page Discussion History Go to the file list Go to the site toolbox

Show aliases command

From NetworkCommands


Image:Cisco-logo-large.gif

A command available on most Cisco paltforms; used to display command aliases. A command alias is a user-assigned alternative command name that is entered at the CLI instead of the normal command. The user-assigned name would normally be shorter than the original command.

Command aliases accept any variables and keywords that the full command normally would.

Contents

Built-In Aliases

The default 'built-in' aliases (which won't show up in configuration files or the output from a show run) are show in the Typical Output section

Image:Vm-power-on-medium.png Usage Syntax

show aliases [mode]

There are a great deal of modes, some of the most commonly specified modes are;

  • exec - Exec mode commands (usually issued in user or priviledged mode; such as show, clear and debug commands.)
  • interface - Interface configuration mode commands
  • dhcp - DHCP Configuration mode commands
  • line - Line configuration mode commands
  • router - Router configuration mode commands

Image:Vm-power-on-medium.png Usage Examples

show aliases - Display all aliases

show aliases exec - Display all exec mode aliases configured

Image:utilities-terminal-medium.png Typical Output

In this example, three user created aliases are configured (default aliases are shown in blue);

show aliases;

Exec mode aliases:
  h                     help
  lo                    logout
  p                     ping
  r                     resume
  s                     show
  u                     undebug
  un                    undebug
  w                     where
  sipr                  show ip route
  sipib                 show ip interface brief
  sid                   show interface description

Image:accessories-text-editor-v2-medium.png Usage Notes

Note that aliases on Cisco CSS platforms are stored on the local disk (usually a PCMCIA device) and cannot be accessed if the disk has been removed or has failed.

Image:icemon-medium.png Related Commands

The alias command, Cisco can be used to create and configure command aliases.

Image:internet-group-chat-small.png We really do appreciate all feedback so please do send your comments, suggestions or corrections to steve#networkstuff.eu (replacing the # with an @)



Site Toolbox:

Personal tools
This page was last modified on 1 July 2008, at 15:12. - This page has been accessed 21 times. - Disclaimers - About NetworkCommands
Powered by MediaWiki