Navigation
Table of Contents
Guide That Contains This Content
[+] Expand All
[-] Collapse All
Related Documentation
- None
alias
Syntax
[no] alias name expansion command
Description
This command creates an alias for an existing command.
Options
Parameter | Description | Range | Default Value |
---|---|---|---|
name | The name of the alias | A character string | None |
expansion command | The command being aliased. Use quotation marks (") if the command includes a space. | An existing command | None |
Required Privilege Level
Related Documentation
- None
Sample Output
The following example configures ss as the alias of the command show system:
bti7800(config)# alias ss expansion "show system"
bti7800(config-alias-ss)# commit Commit complete. bti7800(config-alias-ss)# exit bti7800(config)# exit bti7800# ss bti7800# show system Model : BTI 7800 Network Element Type : WDM Software Version : 4.1.0 25448 Software Branch : trunk Config DB Version : 0.1 Time Boot : 2017-02-22T15:38:41-05:00 Current : 2017-02-24T11:02:30-05:00 Uptime : 1 days, 19:23:49 Time Zone : America/New_York Management Address : 10.75.0.5/16 Management Sources : Management Gateway : NTP : DNS : Name : Contact : Location : UNKNOWN Active Controller : cmm:1/A Backup Controller : cmm:1/B HA Status : In Sync Shelf Mgr F/W autoupgrade : disabled Proxy ARP : disabled Auto Warm Boot : CMM(enabled) PLD(enabled)