Viewing Command History (Journal)

The operating system retains a list of the most recently executed CLI commands (journal). The journal retains as many as 200 commands along with the timestamp and user name. Commands are saved even after logging off, rebooting, or switch crashes.

To view the list of recent CLI commands, use the command show cli journal.

To configure command list size, use the command configure cli journal size size.

To view the currently configured command list size, use the command show switch management.

To remove the list, use either of the following commands: unconfigure switch all or unconfigure switch erase all.

Limitations

  • Commands executed using North Bound interfaces (For example: SNMP, web) are not supported.
  • The command show cli journal is not checkpointed in backup slot.