104 TimeProvider 5000 User’s Guide
098-00028-000 Revision F – May, 2012
Chapter 3
TimeProvider 5000 CLI Command Set
alias
This command is used to assign an alias for a CLI command (or any character
string). The alias can then be used as a convenient substitution for the CLI
command to which it has been assigned.
The alias command can also be used to display all defined aliases and the
commands to which they have been assigned.
Command Syntax:
To assign an alias name to a command (or any portion of a command):
alias <user-defined-alias> “<character-string>”
To display all defined aliases and the commands to which they have been
assigned:
alias
Example 1:
To set the alias “abc” for the command
show ip status ioc
. The command string
must be contained within double quote marks (“”)
tp5000> alias abc “show ip status ioc”
Example 1a:
To use the alias “abc” to execute the command
show ip status ioc
tp5000> abc
Response 1a:
ETH1 Link encap:Ethernet HWaddr 00:B0:AE:01:32:49
inet addr:192.168.1.11 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:32 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:1920 (1.8 KiB)
ETH2 Link encap:Ethernet HWaddr 00:B0:AE:01:32:4A
inet addr:192.168.2.11 Bcast:192.168.2.255 Mask:255.255.255.0
Summary of Contents for TimeProvider 5000
Page 12: ...Table of Contents 12 TimeProvider 5000 User s Guide 098 00028 000 Revision F May 2012 ...
Page 16: ...List of Figures 16 TimeProvider 5000 User s Guide 098 00028 000 Revision F May 2012 ...
Page 20: ...List of Tables 20 TimeProvider 5000 User s Guide 098 00028 000 Revision F May 2012 ...
Page 56: ...56 TimeProvider 5000 User s Guide 098 00028 000 Revision F May 2012 Chapter 1 Overview Alarms ...
Page 534: ...Index W W 534 TimeProvider 5000 User s Guide 098 00028 000 Revision F May 2012 ...