def METHOD_NAME(con_obj, cmd=""):
    """
    Api to configure with redis-cli using connection object
    :param con_obj:
    :param cmd:
    :return:
    """
    prompt = con_obj.find_prompt()
    result = con_obj.send_command(cmd, expect_string=prompt, max_loops=50, delay_factor=5)
    if "permission denied" in result:
        st.log("Configuration failed using redis-cli")
        return False
    else:
        st.log("Successfully configured using redis-cli")
        return True