When CLI logging is enabled, enables showing fully expanded commands, rather than abbreviations, in the log.
expansion | Enables command expansion in logs. |
Expansion is disabled by default.
When CLI logging is enabled (see enable cli config-logging), this command enables showing fully expanded commands, rather than abbreviations, in the log.
For example, with command expansion enabled, a command entered in abbreviated format, such as
config por 33 auto of spee 10000 duplex ful
appears in the log as:
configure ports 33 auto off speed 10000 duplex full
Whereas, if command expansion is turned off, the command appears in the log in the exact format as it was typed into the command line.
To see the status of command expansion, use show management.
The following example turns on command expansion:
enable cli-config-logging expansion
This command was first available in ExtremeXOS 22.5.
This command is available on the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.