Execute configuration commands at the root Admin CLI prompt

You can execute the config command at the root Admin CLI prompt with any appropriate parameters. When the config command is used in this way, changes to the device's configuration are automatically saved when the command is executed.

For example, to disable the SSH service from the root prompt, enter the following command:

> config service ssh enable false
>

The Connect EZ 16/32 device's ssh service is now disabled.

Note When the config command is executed at the root prompt, certain configuration actions that are available in configuration mode cannot be performed. This includes validating configuration changes, canceling and reverting configuration changes, and performing actions on elements in lists. See Configuration mode for information about using configuration mode.

Display help for the config command from the root Admin CLI prompt

Display additional configuration commands, as well as available parameters and values, by entering the question mark (?) character after the config command.

  1. For example:
    > config ?

    Will display the following help information:

    > config ?
    
    Additional Configuration
    --------------------------------------------------------------------------
    application               Custom scripts
    auth                      Authentication
    cloud                     Central management
    firewall                  Firewall
    monitoring                Monitoring
    network                   Network
    serial                    Serial
    service                   Services
    system                    System
    vpn                       VPN
    
    Run "config" with no arguments to enter the configuration editing mode.
    
    > config

  2. You can then display help for the additional configuration commands. For example, to display help for the config service command:
    > config service ?
    Services
    
    Additional Configuration
    --------------------------------------------------------------------------
    dns                       DNS
    mdns                      Service Discovery (mDNS)
    multicast                 Multicast
    ntp                       NTP
    remote_control            Remote control
    snmp                      SNMP
    ssh                       SSH
    telnet                    Telnet
    web_admin                 Web administration
    
    > config service
  3. Next, display help for the config service ssh command:
    > config service ssh ?
    
    SSH: An SSH server for managing the device.
    
    Parameters                Current Value
    --------------------------------------------------------------------------
    enable                    true           Enable
    key                       [private]      Private key
    port                      22             Port
    
    Additional Configuration
    --------------------------------------------------------------------------
    acl                       Access control list
    mdns
    
    > config service ssh
  4. Lastly, display the allowed values and other information for the enable parameter:
    > config service ssh enable ?
    
    Enable: Enable the service.
    Format: true, false, yes, no, 1, 0
    Default value: true
    Current value: true
    
    > config service ssh enable