Command Line Interface (CLI)
Example 4. Display Prompts for Successive Parameters
Enter the command, a space, and then
?
. Then, when the parameter prompt appears, enter the parameter value.
Result: The parameter is changed and a new CLI line is echoed with the new value (in the first part of the following
example, the value is the IP Address of the TFTP server).
After entering one parameter, you may add another
?
to the new CLI line to see the next parameter prompt, and so on
until you have entered all of the required parameters. The following example shows how this is used for the
download
Command. The last part of the example shows the completed
download
Command ready for execution.
[Device-Name]>
download ?
<TFTP IP Address>
[Device-Name]>
download 192.168.0.101 ?
<File Name>
[Device-Name]>
download 192.168.0.101 apimage ?
<file type (config/img/bootloader)>
[Device-Name]>
download 192.168.0.101 apimage img
<CR>
done, exit, quit
Each of the following commands ends a CLI session:
[Device-Name]>
done
[Device-Name]>
exit
[Device-Name]>
quit
download
Downloads the specified file from a TFTP server to the Access Point. Executing
download
in combination with the
asterisks character (“*”) will make use of the previously set TFTP parameters. Executing download without parameters
will display command help and usage information.
1.
Syntax to download a file:
Device-Name]>
download <tftp server address> <path and filename> <file type>
Example:
[Device-Name]>
download 192.168.1.100 APImage2 img
2.
Syntax to display help and usage information:
[Device-Name]>
download
3.
Syntax to execute the download command using previously set (stored) TFTP Parameters:
[
Device-Name]>
download *
help
Displays instructions on using control-key sequences for navigating a Command Line and displays command
information and examples.
1.
Using help as the only argument:
[Device-Name]>
help
C-6