Entering Commands in the CLI
The GigaVUE‑OS provides several conventions that make it easy to identify available commands and enter them quickly:
Technique |
Description |
|||||||||
Context-Sensitive Help |
The? symbol is the key to receiving help wherever you are in the CLI:
For example, if you typed r? in Configure mode, the CLI would return the following possible commands based on what you have entered so far: radius-server Configure RADIUS server settings reload Reboot or shut down the system reset Reset this system to its factory state
For example, if you entered gigastream ?, you would see alias. You can build your way through the entire command tree by entering ? after each new argument. For example, after entering gigastream alias myalias ?, you would see the next valid argument – port-list. Note: Typing ? accesses the help system immediately – you do not need to press <Enter>. |
|||||||||
Partial Command Entry |
For all GigaVUE HC Series commands and arguments, you only need to enter enough characters to distinguish the command from all other available commands. So, for example, you do not have to enter the full command debug – there is only one command starting with the letter d, so you only have to enter d. |
|||||||||
Command Completion |
If you have partially typed a command, you can press Tab, and the CLI will attempt to complete the command based on what has been entered so far. Use the command completion feature with partial command entry – you can press Tab while entering a command to see a list of all available commands matching what you have entered so far. For example, you can press p<Tab> and the node will return: ping ping6 port port-group port-pair ptp Based on this information, you only need to enter pt to distinguish the ptp command from the other commands beginning with the letter p. |