CLI Command Types
6-6
example 4. display prompts for successive parameters
example 4. display prompts for successive parameters
example 4. display prompts for successive parameters
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 see the next parameter prompt, and so on until
you enter all 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 ?
<CR>
<CR>
<CR>
<CR>
<TFTP IP Address>
[Device Name]>
download 10.0.0.2 ?
<CR>
<CR>
<CR>
<CR>
<File Name>
[Device Name]>
download 10.0.0.2 apimage ?
<CR>
<CR>
<CR>
<CR>
<file type (config/bin/bspbl)>
[Device Name]>
download 10.0.0.2 apimage bin
done, exit, quit
done, exit, quit
done, exit, quit
done, exit, quit
Each command disconnects the CLI Session.
[Device Name]>
done
[Device Name]>
exit
[Device Name]>
quit
download
download
download
download
Downloads the specified file from 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>
download <tftp server address> <path and filename> <file type>
download <tftp server address> <path and filename> <file type>
download <tftp server address> <path and filename> <file type>
Example:
[Device Name]>
download 192.168.1.100 APImage2 bin
download 192.168.1.100 APImage2 bin
download 192.168.1.100 APImage2 bin
download 192.168.1.100 APImage2 bin
2. Syntax to display help and usage information:
[Device Name]>
download
download
download
download
3. Syntax to execute the download Command using previously set (stored) TFTP Parameters:
[
Device Name]>
download *