!(command number)

Executes a previously used command that displays it in the output of the show history command. Specify the number that displays it before the command in the show history output. You must be in the correct mode to reuse the command.

Syntax

Default

None

Command Mode

Privileged EXEC