disable cli history expansion

disable cli history expansion {session | permanent}


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.


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.


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

disable cli history expansion permanent


This command was first available in ExtremeXOS 31.7.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, X870, 5320, 5420, and 5520 series switches.