def METHOD_NAME(dut):
    cli_type = st.get_ui_type(dut)
    if cli_type == 'click':
        st.config(dut, "config erase -y")
    else:
        st.config(dut, 'do write erase', type='klish', confirm='y')
    post_init_config(dut)
    st.reboot(dut, cli_type='klish')