Command Line Interface (CLI) History Expansion

The history expansion character ‘!‘ can be used to specify a command from the history that is substituted into the command line. All occurrences of the form “!n:w” in the command are replaced with the w‘th word from the n‘th line in the command history. Specification of the word is optional.

Supported Platforms

Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.

New CLI Commands

enable cli history expansion {session | permanent}

disable cli history expansion {session | permanent}

Changed CLI Commands

The following show command now shows the CLI history expansion status:

show management