Enabling and disabling CLI message prefixes
When message prefixes are enabled, a CLI command returns a message that is prefixed with “Error”, “Warning”, or “Information” to indicate the type of message.
Procedure
- Type “session show-message-type enable” to enable the display of prefixes with the returned message.
- Type “session show-message-type disable” to disable the display of prefixes with the returned message.
The syntax is as follows:
session show-message-type [enable|disable]
The message prefixes setting is not saved when the switch is rebooted. The message prefixes are disabled on all CLI sessions by default.
The following example shows returned messages of each of the three message types.
To determine if message labeling is enabled, enter the show session command.