I used this command from the OLT for my CPE (Huawei EG8145V5):
ont tr069-server-profile add profile-id 2 url http://x.x.x.x:7547/ user admin foofoo auth-realm auth
ont tr069-server-config 0 0 profile-id 2
And it only set the ACS url, username and password but not the connection request username and password. So, when I try to refresh the device it returns: “Incorrect connection request credentials”.
While this works, it’s using a fixed set of credentials for all devices which is not ideal. By default the values in ConnectionRequestUsername/Password parameters are used for authentication. So you can simply set those parameters via a preset. The initialization wizard in 1.2 already configures unique credentials per device and that should work out of the box.