!(command number)

Executes a previously used command that appears in the output of the show history command. Specify the number that appears 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