disable cli history expansionNEW!

disable cli history expansion {session | permanent}

Description

Disables command line history expansion.

Syntax Description

cli Command line interface settings.
history Command history settings.
expansion Substitute occurrences of '!n:w' with the corresponding line 'n' and word 'w+1' from command history (default disabled).
session Configures history expansion for this CLI session only (default ).
permanent Configures history expansion for this CLI session, and all future sessions.

Default

CLI history expansion is disabled by default.

Usage Guidelines

To view the status of CLI history expansion on the switch, use the show management command.

Example

The following command disables CLI history expansion for this session and all future sessions:

disable cli history expansion permanent

History

This command was first available in ExtremeXOS 22.7.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.