Command Line (CLI) Reference > Using the Command Line Interface > Configure command line options

Configure command line options

Configure the command line interface to meet your needs.

  1. Use the following command to set the terminal character width and number of lines:

    hostname (config)# cli session terminal width <number of characters>

    hostname (config)# cli session terminal length <number of lines>

  2. Auto logout is enabled by default. To change the auto logout time use the following command:

    hostname (config)# cli default auto-logout <minutes>

    To disable auto-logout, set the minutes to 0.

  3. To enable or disable paging use the following command:

    hostname (config)# [no] cli default paging enable

  4. Use the show cli command to see current CLI settings.

  5. To save the running configuration, type configuration write.