This command has varied uses to display commands and parameters, depending on the operation in which it is used.
The following table lists each operation and provides a basic example. Following the table are detailed examples and display results for each operation.
Example |
Operation |
Basic Example |
Example 1 |
Display the Command List |
[Device Name]>? |
Example 2 |
Display commands that start with specified letters |
[Device Name]>s? |
Examples 3a and 3b |
Display parameters for set and show Commands |
[Device Name]>show ?
[Device Name]>show ipa? |
Example 4 |
Prompt to enter successive parameters for Commands |
[Device Name]>download ? |
Example 1: Display Command list
To display the Command List, enter only "?"
[Device Name]>?
show
set
download
upload
reboot
passwd
help
quit
done
exit
history
search
Example 2: Display specific Commands
To show all commands that start with specified letters, enter one or more letters, then the "?" with no space between letters and "?".
[Device Name]>s?
show set search
Example 3: Display parameters for set and show
Example 3a allows you to see every possible parameter for the set (or show) commands. Notice from example 3a that the list is very long. Example 3b shows how to display a subset of the parameters based on initial parameter letters.
Example 3a: Display every parameter that can be changed
[Device Name]>set ?
sysctemail
sysctphone
etherspeed
ipaddrtype
.
.
.
iparpfltipaddr
Example 3b: Display parameters based on letter sequence
This example shows entries for parameters that start with the letter "i". The more letters you enter, the fewer the results returned. Notice that there is no space between the letters and the question mark.
[Device Name]>show i?
ipaddrtype iappstatus iappannint
ip iapphandtout iapphandretx
ipgw iapp ipttl
iappannreqstart ipaddr ipsubmask
iparpstatus iparpfltstatus iparpfltipaddr
iparpfltsubmsk iparp
[Device Name]>show ip?
ipaddrtype ip ipgw
ipttl ipaddr ipsubmask
iparpstatus iparpfltstatus iparpfltipaddr
iparpfltsubmsk iparp
[Device Name]>show ipa?
ipaddrtype ipaddr iparpstatus
iparpfltstatus iparpfltipaddr iparpfltsubmsk
iparp
[Device Name]>show ipar?
iparpstatus iparpfltstatus iparpfltipaddr
iparpfltsubmsk iparp
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 ?
<TFTP IP Address>
[Device Name]>download 10.0.0.2 ?
<File Name>
[Device Name]>download 10.0.0.2 apimage ?
<file_type (config/bin)>
[Device Name]>download 10.0.0.2 apimage bin
|