Accessing the CLI online help
The CLI online help is context sensitive. Enter a question mark at any prompt or in any position 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 keyword of every command available in the view. For example:
<Sysname> ? User view commands: archive Archive configuration arp Address Resolution Protocol (ARP) module backup Backup operation ...
Enter a space and a question mark after a command keyword to display all available keywords and arguments.
If the question mark is in the place of a keyword, the CLI displays all possible keywords, each with a brief description. For example:
<Sysname> terminal ? debugging Enable to display debugging logs on the current terminal logging Display logs on the current terminal monitor Enable to display logs on the current terminal
If the question mark is in the place of an argument, the CLI displays the description for the argument. For example:
<Sysname> system-view [Sysname] interface vlan-interface ? <1-4094> Vlan-interface interface number [Sysname] interface vlan-interface 1 ? <cr> [Sysname] interface vlan-interface 1
<1-4094> is the value range for the argument. <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 that string. The CLI also displays the descriptions for the keywords. For example:
<Sysname> f? fdisk Partition a storage medium fixdisk Check and repair a storage medium format Format a storage medium free Release a line ftp Open an FTP connection <Sysname> display ftp? ftp FTP module ftp-server FTP server information ftp-user FTP user information