beautypg.com

User manual – LevelOne ProCon GSW-2690 User Manual

Page 149

background image

User Manual

Publication date: June, 2005

Revision A1

145

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:
GSW-2690(ip)# history
Command history:
0. ?
1. trunk
2. exit
3. GSW-2690# trunk
4. GSW-2690(trunk)# exit
5. GSW-2690#
6. trunk
7. exit
8. alarm
9. events
10. end
11. ip
12. help
13. history

GSW-2690(ip)# history 3
Command history:
12. help
13. history
14. history 3

GSW-2690(ip)#