Configuration Guide Vol. 1


5.2.9 Customizing CLI Settings

Some auto-logout and CLI features can be customized for each user as part of CLI configuration. The following table describes the CLI functions and CLI environment information that can be customized.

Table 5-4: Customizable CLI functions and CLI environmental data

Functionality

Customizable contents and defaults

Auto-logout

Time until the user is automatically logged out.

Default: 60 minutes

Paging

Whether to enable paging.

Default: Paging enabled

Help functionality

List of commands displayed in Help messages.

Default: When you display a Help message for operation commands, a list of all specifiable operation commands appears.

This CLI environment information can be set for each user by executing the username configuration command or the following operation commands:

Settings entered by the username configuration command take priority over settings entered by the operation commands. When any one of the three items of CLI environment information is set for a user by the username configuration command, values set by the three operation commands do not apply to that user. The customizable CLI functions behave as specified in the username configuration command, and the defaults apply to omitted items of CLI environment information.

The operation command settings apply when there are no username settings. When no CLI environment information is set for a user by the username configuration command, the operation command settings apply to that user. Note that you cannot view these settings. Instead, check each function's activity status.

In a session during which an operation command is executed, operation command settings are applied to the behavior of the CLI immediately after the command is executed. For other sessions, the settings are applied at the next login, even if the same user executed the commands. For operations using configuration command settings, the CLI behavior of a temporarily executed session can be changed.

If operation command settings are being used, and you add a user account by the adduser command with the no-flash parameter specified, the CLI environment information for that user reverts to the defaults when the switch is restarted.