CLI properties are options that you can configure and customize in the CLI, such as the command prompt, command completion, banner messages, and session idle timeout.
The following table lists CLI properties configuration commands.
Task | Command |
---|---|
Modify the command prompt | set prompt prompt-string |
Enable or disable the CLI command completion function. When enabled, this allows you to complete a unique CLI command fragment using the keyboard spacebar. | set cli completion {enable | disable} [default] |
Set the banner message for pre and post session login. | set banner {login message | motd message} |
Clear the banner message displayed at pre and post session login to a blank string. | clear banner {login | motd} |
Set the number of columns for the terminal connected to the device‘s console port. | set width screenwidth [default] |
Set the number of lines the CLI will display. | set length screenlength [default] |
Set the time (in minutes) an idle console or Telnet CLI session will remain connected before timing out. | set logout timeout [default] |
Set the current and default line editing mode or the way the Delete character is treated by the line editor. You can also set the persistence of your line editing selections. | set line-editor {emacs | vi | default | delete {backspace | delete}} [default] |
Refer to the S-, K-, and 7100 Series CLI Reference Guide for more information about each command.