def proxy_config(commands, **kwargs):
    '''
    Send configuration commands over SSH or NX-API

    commands
        List of configuration commands

    no_save_config
        If True, don't save configuration commands to startup configuration.
        If False, save configuration to startup configuration.
        Default: False

    .. code-block: bash

        salt '*' nxos.cmd proxy_config 'feature bgp' no_save_config=True
        salt '*' nxos.cmd proxy_config 'feature bgp'
    '''
    no_save_config = DEVICE_DETAILS['no_save_config']
    no_save_config = kwargs.get('no_save_config', no_save_config)
    if not isinstance(commands, list):
        commands = [commands]
    try:
        if CONNECTION == 'ssh':
            _sendline_ssh('config terminal')
            single_cmd = ''
            for cmd in commands:
                single_cmd += cmd + ' ; '
            ret = _sendline_ssh(single_cmd + 'end')
            if no_save_config:
                pass
            else:
                _sendline_ssh(COPY_RS)
            if ret:
                log.error(ret)
        elif CONNECTION == 'nxapi':
            ret = _nxapi_request(commands)
            if no_save_config:
                pass
            else:
                _nxapi_request(COPY_RS)
            for each in ret:
                if 'Failure' in each:
                    log.error(each)
    except CommandExecutionError as e:
        log.error(e)
        raise
    return [commands, ret]
Send configuration commands over SSH or NX-API

    commands
        List of configuration commands

    no_save_config
        If True, don't save configuration commands to startup configuration.
        If False, save configuration to startup configuration.
        Default: False

    .. code-block: bash

        salt '*' nxos.cmd proxy_config 'feature bgp' no_save_config=True
        salt '*' nxos.cmd proxy_config 'feature bgp'