![]() ![]() ![]() |
Following are some of the command line features supported by the CLI Agent in String Mode and also in Multi-Protocol CLI Agent.
History option enables CLI Agent to record all the commands which are executed till now.
You can use UP-Arrow or DOWN-Arrow keys to traverse the history list.
While traversing the history list, you can execute the same command or you can modify the required command and execute it
Note: For security reasons the commands (adduser,edituser,editpasswd) with passwords should not be available in command history. |
If you typed a command wrongly, then you can use the LEFT arrow key and RIGHT arrow key to traverse through that command and change the parameter values or the command name as required.
DEL key can be used to delete a character available in the current cursor position.
BACKSPACE key can be used to delete a character available in the previous position to the current cursor position.
To know the list of commands available / registered in the CLI Agent, press TAB key from the CLI prompt
To know the list of commands starting with the specific character, type that character and on pressing the TAB key, the CLI Agent lists the available CLI command starting with that character and will wait for the further input
Command completion is available for Commands and also for Sub-commands
Question mark ( ? ) key can be used to know the list of commands registered with the CLI Agent
When Question mark ( ? ) key is used after typing a character, then the agent will list the available CLI commands starting with that character and will return to the CLI prompt and not as like TAB key functionality
To know the syntax or usage of a command registered in the CLI Agent, type the couple of characters of that command and press TAB key from the CLI prompt.
Alternatively, you can also type the entire command name and press the ENTER key.
If there are sub commands / objects in the commands that you have executed, the usage will be shown based on the level from where the return key is pressed.
For example, suppose you
have a command in the following format
show ip tcp header_compresssion route summary supernets_only interface brief switches [--userinfo] [ipaddress param<STR>] protocols |
CLI>>show Usage:show ip tcp header_compression route summary supernets_only interface brief traffic switches [--userinfo] [ipaddress param(STR)] protocols CLI>> Here the command is executed with only show
CLI>>show ip Usage: show ip interface brief route summary supernets_only tcp header_compression traffic CLI>>
Here the command is executed with only show ip
CLI>>show ip route Usage: show ip route summary supernets_only CLI>>
Here the command is executed with only show ip route |
For deleting the entire line or all the characters typed-in in the present line, ESC - Escape Key can be used
Note: For details on the limitations of Command line features, please refer to Known Issues and Limitations topic. |
![]() ![]() ![]() |