Dismiss Notice
We would like to remind you that we’re updating our login process for all 3CX forums whereby you will be able to login with the same credentials you use for the Partner or Customer Portal. Click here to read more.

Phone Vlan ID change when provisioned

Discussion in '3CX Phone System - General' started by jhicken, Jan 20, 2011.

Thread Status:
Not open for further replies.
  1. jhicken

    Joined:
    May 21, 2010
    Messages:
    25
    Likes Received:
    0
    Has anyone gotten this to work?
    I have modified the yealink template and everything works except the VLAN change. The phone (DHCP) stays on the default VLAN and gets a default IP address.

    What I want is for the phone to boot, get a default IP, get the new config, reboot on new VLAN with a DHCP address from that VLAN.

    I can set the VLAN manually on the phone and everything works, but I don't want to do that on 150 phones.

    Any ideas?
     
  2. paul1

    Joined:
    Jan 14, 2010
    Messages:
    80
    Likes Received:
    0
    This is working on my system...
    - - - - - - - -
    [ VLAN ]
    path = /config/Network/Network.cfg
    #ISVLAN,VID and USRPRIORITY are used for VLAN on LAN port
    #PC_PORT_VLAN_ENABLE,PC_PORT_VID and PC_PORT_PRIORITY are used for PC port
    ISVLAN = 1
    VID = 6
    #USRPRIORITY = 0
    #PC_PORT_VLAN_ENABLE = 0
    #PC_PORT_VID = 0
    #PC_PORT_PRIORITY = 0
    - - - - - - - -
    Could it be that you have an ISVLAN = 0 somewhere later in the provisioning file?
     
  3. jhicken

    Joined:
    May 21, 2010
    Messages:
    25
    Likes Received:
    0
    Thanks for posting your config!

    Looking at it I realized that I had failed to un-comment the [VLAN] tag!
    :oops:

    Now it's working properly!

    Now if I can just figure out how to provision a custom logo.
    :p
     
  4. paul1

    Joined:
    Jan 14, 2010
    Messages:
    80
    Likes Received:
    0
    My logo file is named SS2.dob. These are the lines in the provisioning file that make it work. It seems like the first time I set this up I found an extra command turning the logo off later in the file. It might have been my sloppy cut-paste job that caused it but if it doesn't work the first time search your provisioning files for an extra LCD_Logo = 0.

    [ Features ]
    path = /config/Features/Phone.cfg
    LCD_Logo = 2

    [ Logo ]
    path = /tmp/download.cfg
    server_address = http://192.168.x.x:80/management/provisioning/SS2.dob
     
Thread Status:
Not open for further replies.