How To: Reset Lost Password on Polycom VVX IP Phone
I ordered a few used Polycom VVX 500 phones from ebay and not to my surprise the default admin passwords was changed. I consulted with the seller and they did not have the passwords so I was left with the task of figuring out how to factory reset the phones. After reading many, many tutorials none of which helped I was ready to throw in the towel when I decided to try a last-ditch effort to use a TFTP server with a DHCP option to over ride the existing config. Luckily that fixed it without much effort. Below is how to do a quick step by step using an AstLinux PBX, but that could be done with any FTP/TFTP server.
1. First you need to create a config file with the filename using the MAC address of the phone, so such as one of my files was 0004f283345b.cfg. This file should contain the following text as seen below. You will need a file for each phone you need to reset.
0004f283345b.cfg contents below:
<?xml version="1.0" standalone="yes"?> <APPLICATION CONFIG_FILES="reset-password.cfg" LOG_FILE_DIRECTORY=""/>
2. The second file needed is what will actually overwrite the admin password. This file is referenced in the above file as, CONFIG_FILES=”reset-password.cfg” so make sure you have the same file name for this config. There are extra settings but the key is the device.auth settings for the admin password, make sure those are kept intact.
reset-password.cfg contents below:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <PHONE_CONFIG> <ALL tcpIpApp.sntp.address="us.pool.ntp.org" tcpIpApp.sntp.gmtOffset="-18000" device.set="1" device.auth.localAdminPassword.set="1" device.auth.localAdminPassword="123" /> </PHONE_CONFIG>
3. These files now need to be put in an FTP or TFTP directory and published by a server, I choose to use the AstLinux FTP server so I stored the files in the /root directory. You can use your own knowledge of FTP servers to configure this on your own.
4. The last step is to configure your DHCP server for option 66 to force the phone to download the config files. I use Cisco/Meraki equipment and so I have attached a screenshot of how to do that with a Meraki MX 60 but the settings apply to any other type of DHCP server. The string I am using is how the phone will login to the FTP server, the format is as follows ftp://username:password@ip-address of server.
Once that is all setup reboot your phone and watch the logs on your FTP/TFTP server to make sure it downloads the files. It really is very easy and I was able to reset a handful of phones in less than 10 minutes. Once you can login to the web interface with the new default password just go to the menu option to do a factory reset on the phone.