Start a conversation

Configuring Command Line Interface Options

 

 The following commands are used to configure CLI options:

 

  • To save the running configuration, type:

    configuration write

     

  • For the administrator to set the terminal character width and number of lines if required are as follows:

    • cli session terminal width <number of characters>
    • cli session terminal length <number of lines>

     

  • Auto logout is enabled by default, to change the auto-logout time use the following command:

    cli default auto-logout <minutes>

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

     

  • To enable or disable paging, use the following command:

    [no] cli default paging enable

     

  • Use the below command to see the current CLI settings:

    show cli

    A sample output of the above command is as follows:

    CLI current session settings:

    Maximum line size: 5600000
    Terminal width: 79 columns
    Terminal length: 26 rows
    Terminal type: xterm
    X display setting: (none)
    Auto-logout: 15 minutes
    Paging: enabled
    Progress tracking: enabled
    Prefix modes: disabled

    CLI defaults for future sessions:

    Auto-logout: 15 minutes
    Paging: enabled
    Progress tracking: enabled
    Prefix modes: disabled

    Settings for both this session and future ones:

    Show hidden config: yes
    Confirm losing changes: yes
    Confirm reboot/shutdown: no
    Confirm factory reset: yes
    Prompt on empty password: yes

    Exinda-3062NH (config) #

 

Back to Top

Choose files or drag and drop files
Was this article helpful?
Yes
No
  1. Priyanka Bhotika

  2. Posted

Comments