clear

Clears parameters, cache entries, table entries, and other similar entries. The clear command is available for specific commands only. The information cleared using this command varies depending on the mode where executed.

Supported in the following platforms:

Syntax

clear event-history

Parameters

clear event-history

event-history

Clears the event history file

Examples

nx9500-6C8809(config)#show event-history
EVENT HISTORY REPORT
Generated on '2019-02-21 14:21:03 UTC' by 'admin'

2019-02-21 14:20:50     nx9500-6C8809  SYSTEM     LOGIN                Successfully logged in user 'admin' with privilege 'superuser' from 'ssh'
2019-02-21 14:12:46     nx9500-6C8809  DIAG       PWRSPLY_FAIL         Power supply redundancy failure
2019-02-21 14:02:42     nx9500-6C8809  DIAG       PWRSPLY_FAIL         Power supply redundancy failure
2019-02-21 13:52:38     nx9500-6C8809  DIAG       PWRSPLY_FAIL         Power supply redundancy failure
2019-02-21 13:42:33     nx9500-6C8809  DIAG       PWRSPLY_FAIL         Power supply redundancy failure
2019-02-21 13:32:29     nx9500-6C8809  DIAG       PWRSPLY_FAIL         Power supply redundancy failure
2019-02-21 13:22:25     nx9500-6C8809  DIAG       PWRSPLY_FAIL         Power supply redundancy failure
2019-02-21 13:12:21     nx9500-6C8809  DIAG       PWRSPLY_FAIL         Power supply redundancy failure
2019-02-21 13:02:18     nx9500-6C8809  DIAG       PWRSPLY_FAIL         Power supply redundancy failure
2019-02-21 12:52:10     nx9500-6C8809  DIAG       PWRSPLY_FAIL         Power supply redundancy failure
--More--
nx9500-6C8809(config)#
nx9500-6C8809(config)#clear event-history
nx9500-6C8809(config)#show event-history
EVENT HISTORY REPORT
Generated on '2019-02-21 14:21:40 UTC' by 'admin'

nx9500-6C8809(config)#