
4.2.3 help
Syntax: help
Description: To show available commands.
Some commands are the combination of more than two words. When you enter this command, the CLI would show the complete commands. Besides, the command would help you classify the commands between the local commands and the global ones.
Argument: None.
Possible value: None.
Example:
SP1659P# ip
SP1659P(ip)# help
Commands available:
set ip | Set ip,subnet mask and gateway |
|
| ||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
set dns | Set dns | ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
enable dhcp | Enable DHCP, and set dns auto or manual | ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||
disable dhcp | Disable DHCP | ||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
| |||
show | Show IP Configuration | ||||||||||||||
|
|
|
|
|
|
|
|
|
|
| |||||
|
|
|
|
|
|
|
|
|
|
| |||||
exit | Back to the previous mode | ||||||||||||||
|
|
|
|
|
|
|
|
|
| ||||||
end | Back to the top mode | ||||||||||||||
|
|
|
|
|
|
|
|
| |||||||
help | Show available commands | ||||||||||||||
|
|
|
|
|
|
|
| ||||||||
history | Show a list of previously run commands | ||||||||||||||
|
|
|
|
|
|
| |||||||||
logout | Logout the system | ||||||||||||||
|
|
|
|
|
| ||||||||||
save start | Save as start config | ||||||||||||||
|
|
|
|
| |||||||||||
save user | Save as user config | ||||||||||||||
|
|
|
| ||||||||||||
restore default | Restore default config | ||||||||||||||
|
|
| |||||||||||||
restore user | Restore user config |
4.2.4 history
Syntax: history [#]
Description: To show a list of previous commands that you had ever run.
When you enter this command, the CLI would show a list of commands which you had typed before. The CLI supports up to 256 records. If no argument is typed, the CLI would list total records up to 256. If optional argument is given, the CLI would only show the last numbers of records, given by the argument.
Argument: [#]: show last number of history records (optional).
Possible value: [#]: 1, 2, 3, …., 256
Example:
SP1659P(ip)# history
Command history:
0.trunk
1.exit
2.SP1659P# trunk
3.SP1659P(trunk)# exit
4.SP1659P#
5.?
6.trunk
7.exit
8.alarm
9.events
10. end
67