4
Accessing the CLI online help
The CLI online help is context sensitive. You can enter a question mark at any point of a command to
display all available options.
To access the CLI online help, use one of the following methods:
• Enter a question mark at a view prompt to display the first keywords of all commands available in
the view. For example:
<Sysname> ?
User view commands:
archive Specify archive settings
backup Backup next startup-configuration file to TFTP server
boot-loader Set boot loader
bootrom Update/read/backup/restore bootrom
cd Change current directory
…
• Enter some keywords of a command and a question mark separated by a space to display
available keywords and arguments.
{ Example 1: The question mark is in the place of a keyword, and the CLI displays all possible
keywords with a brief description for each keyword.
<Sysname> terminal ?
debugging Send debug information to terminal
logging Send log information to terminal
monitor Send information output to current terminal
trapping Send trap information to terminal
{ Example 2: The question mark is in the place of an argument, and the CLI displays the
description of the argument.
<Sysname> system-view
[Sysname] interface vlan-interface ?
<1-4094> VLAN interface
[Sysname] interface vlan-interface 1 ?
<cr>
[Sysname] interface vlan-interface 1
The string <cr> indicates that the command is complete, and you can press Enter to execute the
command.
• Enter an incomplete keyword string followed by a question mark to display all keywords starting
with the string. For example:
<Sysname> f?
fixdisk
format
free
ftp
<Sysname> display ftp?
ftp
ftp-server
ftp-user