Dhcp Options
Phone and network technicians build Mitel option 125 hex in the browser. The length byte is counted for this string.
Open Dhcp OptionsWhat it does
Mitel IP phones that take their address from a DHCP server other than the Mitel controller need option 125 as hex, and the length byte has to be the character count of this string.
- Build the option 125 value as enterprise 1027 (
00 00 04 03), one length byte equal to the character count of the string, then that string as lowercase hex. - Write the string as
id:ipphone.mitel.com;sw_tftp=…;call_srv=…;and addvlan,l2p, anddscponly when those boxes are filled. - Show the built string and the length byte, for example 98 characters so the length byte is
0x62. - Offer five paste lines: Windows Server as continuous hex, Windows Server with a space between bytes, UniFi colon-separated hex, a MikroTik RouterOS add command, and a Cisco IOS
option 125 hexline. - Check the fields as you type and withhold the paste lines while a required field is blank or any field is not accepted.
The reading section below the output names the five groups in the value: enterprise number, length, phone id, servers, and optional marks. It says a length copied from a sample (62 or 5C) is why Cisco IOS reports "Invalid option 125 information" and why FortiGate and Infoblox reject the packet. The page gives no FortiGate or Infoblox paste line.
How to use it
- Open the page. Type the TFTP server and one to three call servers as IPv4 addresses. Fill in a voice VLAN, L2 priority, or DSCP only when the phones should get that pair.
- Read the built string and the line that states its character count and length byte. Each pair on that string ends with a semicolon. Blank optional boxes are left out of the string.
- Copy the paste line for the server you use and paste it into that server's option 125 field yourself. Windows Server has a continuous hex line and a spaced line. UniFi uses colons. MikroTik RouterOS is one add command. Cisco IOS is an
option 125 hexline with a dot every four hex digits.
What it does not do
- It does not upload the addresses, create an account, or take a payment.
- It does not write the addresses or the hex to the address bar, localStorage, sessionStorage, or a cookie. Closing the page clears them.
- This build shows no ads and no cards, sets no ad cookies, and loads no analytics script of its own. The host counts page views with Cloudflare Web Analytics, which sets no cookies. There is no tip link and no paywall.
- It does not build DHCP option 43, 66, 150, 121, 128, or 129, and it does not build a layout for any vendor other than this Mitel string.
- It does not add Mitel keys other than
id:ipphone.mitel.com,sw_tftp,call_srv, and optionalvlan,l2p, anddscp. It does not accept a free-form string, and it does not decode hex you already have. - It does not insert a
01sub-option or a second length between the length byte andid:. - It does not accept a hostname or an IPv6 address. Each IPv4 octet is 0–255 with no leading zero, except
0itself. Call servers are three at most, joined in the string with a comma and no spaces. - Voice VLAN must be a whole number from 1 to 4094 with no leading zero. L2 priority must be a whole number from 0 to 7 with no leading zero. DSCP must be 0 to 63, optionally followed by a
vvalue and ansvalue, such as46or46v46s26. - A fresh page shows "Fill in the TFTP server and at least one call server." and no message under a field. After the first keystroke, the page shows a message under each required field that is still blank and under each field it does not accept, and it shows no paste line. A blank optional field shows no message. The fill-in sentence stays only while both required fields are blank. Any other incomplete or rejected set of fields leaves the output empty.
- It does not write the option onto a DHCP server. It does not produce PowerShell,
netsh, an API call, or the Windows steps that define the option. It does not produce a paste line for FortiGate, SonicWall, Meraki, Palo Alto, ASA, Infoblox, or ISC/Kea. - The MikroTik line is
/ip dhcp-server option add name=mitel-125 code=125 value=0xplus the hex. The page does not run it, does not attach it to a network, and does not check whether the namemitel-125is already in use. - It does not talk to the phones, and it does not check that a server accepted the value.
- The field limits keep the string at 132 characters or fewer. There is no way to type a longer string.
- It is not a Mitel product. The page says it is not affiliated with or endorsed by Mitel. It publishes no contact email.
Open Dhcp Options: it is free and runs in your browser.