Thursday, October 1, 2009

Changing VLANs for Tanjay (CX700 / ip8540) phones

The only info from Microsoft on how to set the VLAN on a Tanjay phone I could find was fromt he Communicator Phone Edition Relase notes:

From "Communicator_Phone_Edition_2007_Release_Notes"

IT administrators can configure VLAN by following below instructions:

1. At startup, Communicator Phone Edition sends a DHCP request to the native VLAN
     o Communicator Phone Edition sends Vendor ID option "60" with value "CPE-OCPhone"
     o Communicator Phone Edition requests Vendor Specific Option parameter "43"

2. The DHCP server responds with a native VLAN address and standard options. It must also respond with the Vendor Specific parameters:
    o Vendor Specific Option "10" should be set to the VLAN ID.
            Communicator Phone Edition will store the VLAN ID and immediately release the address lease.
            Communicator Phone Edition will make a new DHCP request, with the packet's VLAN ID set to the ID specified in step 2.

---

After struggling a bit and taking some network traces - there was on error in the instructions - the Tanjay phones look for "CPE-OCPHONE" - and case does matter for the ID.

If you are using Microsoft's DHCP, here are some steps.

1) Create a Vendor Class by right-clicking on the name of the server and selecting  "Define Vendor Classes"

2) Click on Add
3) Display name can be anything - I put in "Microsoft Phone Edition"
4) Description can be anything as well - I used "VLAN Tagging"
5) On the right hand side under "ASCII" - put in     "CPE-OCPHONE"


When done, it should look like the above.


And now you have a Vendor class for your phones.

The next step is to edit the Class, and add the option 10 code for the VLAN.


1) Right click on the server name, and pick “Pre-defined options”.
2) Pick the “Microsoft Phone Edition” class
3) Click on “Add” and put in anything for name and description
4) Make sure the type is set to “WORD” (default is byte)
5) Make sure the code is “10”
6) Leave the default value to blank or the most common VLAN being used by phones


The final step is to add the option to scope optiosn for the subnets where phones need to be moved.  
 
I've noticed that some phones required to be hard reset (reset button) rather than just powered down to get the new address, but YMMV.

1 comment:

  1. What about using BIND/DHCP for unix? We have

    option vendor-class-identifier "CPE-OCPHONE";

    But are having issue with

    option vendor-encapsulated-options "*VLAN*"

    And then where should "option code 10" go?

    thanks in advance

    ReplyDelete