beautypg.com

American Fibertek SM8P-SFP User Manual

Page 235

background image

223

Rev.A1

18-May-11

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:
SM8P-SFP(ip)# history

Command history:

1. trunk

2. exit

3. SM8P-SFP# trunk

4. SM8P-SFP(trunk)# exit
5. SM8P-
SFP# 5. ?
6. trunk

7. exit

8. alarm

9. events

10. end

11. ip

12. help

13. ip
14. history

SM8P-SFP(ip)# history 3

Command history:
13. ip

14. history
15. history 3

SM8P-SFP(ip)#