Cisco IP phones find the required TFTP server through the DHCP option 150. In this article I’m going to walk you through the steps for defining the option 150 on a Windows Server 2012 DHCP Server.
Follow me

DHCP option 150

DHCP option 150

One of the bigger systems that I find myself supporting in my infrastructure is our Unified Communications system from Cisco Systems. With Cisco’s IP phone system the end phone devices are dumb devices, they store no configuration at all and have to be fed up to date firmware revisions. All of this is fed to the device via the transfer of a configuration file from the TFTP server integrated into Cisco Call Manager.

So how does the phone know where to find this TFTP server? That information is passed to the device as an option when it receives its IP address from the DHCP server, much in the same way it learns the default gateway and DNS servers. The problem is the option for TFTP server, option 150, is not built a default option on any DHCP servers that I’ve ever worked with.

I’m going to proceed here as if you’re working with a bare server that is already a member of the domain. If you already have done some of these steps, please feel free to skip ahead to the parts you need.

  1. Set Predefined OptionsFrom Server Manager choose to add a role and choose DHCP Server.
  2. Once you have the DHCP Server installed and authorized, launch DHCP Manager.
  3. Next you’ll need to go ahead and create a scope for your Cisco IP telephony devices. As I’m sure your voice guys will tell you the IP phones will need to go on their own VLAN and defined through the network, an item for another post. Setup the scope as you normally would with all the relevant information.
  4. Now you will need to right click on IPv4 and choose “Set Predefined Options…” Here you will find all of the options are predefined like Router and DNS Servers, but it also lets you create new ones.
  5. Now click the “Add…” button in the Predefined options window. I always enter in the information exactly as shown below, but honestly the Option number, type as IP address and array checked are the only things that matter, the rest you set as you like.
    Option Type
  6. Once done, OK through the Predefined Options windows until you are back at DHCP Manager. Now you will need to right click Scope Options under your scope and choose “Configure Scope Options…”
  7. Scroll down until your see option 150 and check the box, and finally enter in the IP address(es) of your TFTP server(s) and you should be good to go.
15 Comments
  1. Dave Marriott 8 years ago

    You are a life saver! I seriously thought I have bricked a brand new company phone. Thank you so much for a perfect write-up that has saved me big time!

  2. Yaseen Parker 6 years ago

    Thanks a lot. After searching through lot of websites, finally I got a SIMPLE Walk-through in your article. You have saved my time. Thank you 🙂

  3. Rajeev 6 years ago

    Thanks a bunch. I keep coming back to this article time and again... 🙂

  4. Anonymous 6 years ago

    Awesome!!!!!!

  5. Matt 6 years ago

    Excellently done!!!

    • Paulos 6 years ago

      THANK YOU VERY MUCH!

  6. Carl Abel 6 years ago

    Is there a way to edit option 150 that was not created as an array to make it an array without deleting and recreating it?

    • Author
      Jim Jones (Rank: 1)
      6 years ago

      Hi Carl, I just checked and it doesn't look like you can. I think I ran into this as well. To be honest though it probably wouldn't be that big of a deal to delete it and recreate. If you really needed to propagate out the change afterwards you could just do a select all of your phones and tell them to reset after hours.

      • Carl Abel 6 years ago

        Thanks for the clarification....here's a little more information.  We are doing a phone migration.  Existing phones are in scopes using option 150 with a single TFTP server (i.e. 1.1.1.1).  The new phones will be in new scopes that need option 150 to be an array with multiple servers that are different from the current server (2.2.2.2 and 3.3.3.3).  If I delete the pre-defined option 150 so that I can recreate it with the array option, what will be the impact to all the current scopes that are using option 150 with a single server?

        • Hi Carl,

          you can test this with one scope by using Scope Options.

          Just expand the scope, right-click Scope options and click Configure Options. Check option 150 and add the servers.

           

          Regards,

          Tim

          • Carl Abel 6 years ago

            The real question is what will happen to the existing scopes that have a single server in option 150 when I delete the pre-defined option and recreate it as an array?  I have hundreds of scopes currently using option 150 to worry about.

  7. Collins 5 years ago

    Sir, can I set up option 150 on mikrotic router for Cisco ip phones.

  8. Abhi 5 years ago

    I have a question...   I have environment that has a Voice VLAN already DHCP scope is configured with option 66 pointing to TFTP server e.g: 10.28.2.20 and Avaya phone are running.  We need to put cisco phone on the same vlan.  So i configured DHCP scope with option 150 pointing to TFTP server e.g. 10.14.10.25 on the same voice vlan.  Most of my cisco phones are working..  Couple of phone are picking OPTION 66 which leads to wrong TFTP leading to registration error..  My question is can i force cisco 7841, 7811 phone always use option 150.  Please let me know

  9. Tippu Nadaf 4 years ago

    Hi Jim,

    Nice information, I agree with Dave really Life saver.

    Regards

    Tippu

  10. Amir Onsori 9 months ago

    Hi god

    please tell me where can I put the firmware file on the DHCP server?

Leave a reply

Please enclose code in pre tags

Your email address will not be published. Required fields are marked *

*

© 4sysops 2006 - 2021

CONTACT US

Please ask IT administration questions in the forums. Any other messages are welcome.

Sending

Log in with your credentials

or    

Forgot your details?

Create Account