• Home
  • My Tools
  • Visio Stencils
  • Online Tools
  • PS Scripts
  • PS One Liners
  • Downloads
  • Product Review
  • About

Smarter Together

~ by I.M.H.O.

Smarter Together

Category Archives: CX500

CX500 – Network error

14 Thursday Feb 2013

Posted by Paul Bloem in CX500, CX500 - Network error, Devices, DHCP, Polycom

≈ Leave a comment

As all blogs should, I’ll start this one with a personal experience…

Just recently (sound familiar yet?)..

I had configured the CX500 as per usual as a common area phone. It signed in beautifully once I added the telephone number (without the + of course) and the accompanying PIN.

When I rebooted the phone it showed the boot cycle and then got stuck on a screen saying that there was no network detected. It then presented me with the configure device options as if it had forgotten the telephone number and PIN. Once I re-entered these it logged in as before.

Right so if I have a power outage my device isn’t going to automatically login with the cached credentials…not good.

For giggles I first updated the firmware on the CX500, same behaviour. Checking the device I noticed that the DHCP request was going unanswered and the CX500 wasn’t getting an IP..DHCP problem?? NO!

After much packet capturing and head scratching the culprit was discovered. The switch of course, a Spanning Tree Setting was delaying the DHCP request from reaching the DHCP Server. That should cause the error we are getting you may say…

The CX500 sends only 4 DHCP requests (in rather quick succession), normally 1 will suffice and get a response. In my case the delay injected by the switch prevented a timely answer. The CX500 then goes into “I give UP” mode, and then sits there waiting on the “credentials” page. Once the Credentials are re-entered further DHCP requests are sent.

Changing the switch port solved the issue.

PB

Advertisement

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to print (Opens in new window)

Like this:

Like Loading...

How to configure DHCP for CX500

03 Tuesday Apr 2012

Posted by Paul Bloem in CX500, DHCP, DHCPUtil, Option 120, Option 43, Quick Reference Guide, Scope Options

≈ Leave a comment

What you will need is the DHCPUtil.exe and the DHCPConfigScript.bat (both found at C:\Program Files\Common Files\Microsoft Lync Server 2010 or C:\Program Files\Common Files\Microsoft Lync Server 2013)

I would recommend copying these two files to a PC that is being serviced by the DHCP Server that needs to be configured.

From the cmd run (be sure to use an account that is permitted to modify DHCP)


DHCPUtil -SipServer FEPool01.lynclab.co.nz -WebServer FEPool01.lynclab.co.nz
#Collects the info required to populate Scope Options 43 and 120

DHCPUtil -SipServer FEPool01.lynclab.co.nz -WebServer FEPool01.lynclab.co.nz -RunConfigScript
#Configures the Scope Options using NETSH

DHCPUtil -emulateclient
#Testing – Please remember to wait a few minutes to allow for these options to “kick in”

NOTE
I have seen this script run too fast for the server to keep up, options running too fast consecutively.
I this case I have either run the .bat file manually or added pauses by adding 30 seconds in between the command lines. My edited version of the DHCPConfigScript.bat..

netsh dhcp server delete optionvalue 120
netsh dhcp server delete optiondef 120
sleep 20
netsh dhcp server delete class MSUCClient

if /i %1 EQU Cleanup goto :EOF
sleep 20
netsh dhcp server add optiondef 120 UCSipServer Binary 0 comment=”Sip Server Fqdn”
sleep 10
netsh dhcp server set optionvalue 120 Binary %3
sleep 20
netsh dhcp server add class MSUCClient “UC Vendor Class Id” “%2” 1
sleep 20
netsh dhcp server add optiondef 1 UCIdentifier Binary 0 Vendor=MSUCClient comment=”UC Identifier”
sleep 10
netsh dhcp server set optionvalue 1 Binary vendor=MSUCClient %4
sleep 10
netsh dhcp server add optiondef 2 URLScheme Binary 0 Vendor=MSUCClient comment=”URL Scheme”
sleep 10
netsh dhcp server set optionvalue 2 Binary vendor=MSUCClient %5
sleep 10
netsh dhcp server add optiondef 3 WebServerFqdn Binary 0 Vendor=MSUCClient comment=”Web Server Fqdn”
sleep 10
netsh dhcp server set optionvalue 3 Binary vendor=MSUCClient %6
sleep 10
if not %7 == NULL (netsh dhcp server add optiondef 4 WebServerPort Binary 0 Vendor=MSUCClient comment=”Web Server Port”)
if not %7 == NULL (netsh dhcp server set optionvalue 4 Binary vendor=MSUCClient %7)
sleep 10
netsh dhcp server add optiondef 5 CertProvRelPath Binary 0 Vendor=MSUCClient comment=”Cert Prov Relative Path”
sleep 10
netsh dhcp server set optionvalue 5 Binary vendor=MSUCClient %8
timeout 120 #allows review of success and failure, touch any key to complete or wait for timeout

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)
  • Click to share on LinkedIn (Opens in new window)
  • Click to share on WhatsApp (Opens in new window)
  • Click to share on Reddit (Opens in new window)
  • Click to share on Pocket (Opens in new window)
  • Click to share on Pinterest (Opens in new window)
  • Click to share on Tumblr (Opens in new window)
  • Click to share on Skype (Opens in new window)
  • Click to email a link to a friend (Opens in new window)
  • Click to print (Opens in new window)

Like this:

Like Loading...
Newer posts →

IMHO YouTube Channel

Follow Smarter Together on WordPress.com

Enter your email address to subscribe and receive notifications of new posts.

Join 674 other subscribers

Show your appreciation by donating

Archives

Category

ABS ABServer ADContacts Address Book AddressBook AddressBook Service Communicator contacts CX500 Devices DHCP DNS Edge Server Error Codes event id Exchange UM 2010 GAL Install Guide Lync 2013 Tools Lync Edge Lync Tools Microsoft Teams Monitoring Polycom Powershell Scripts Product Review QOS Quick Reference Guide Reskit RGS RTC Database SIP SIP Options Skype for Business Skype for Business Monitoring Skype for Business Tools SQL Teams TMG Tool Tools Troubleshoot Edge UC Sorted Tools UM Uncategorized Unified Messaging visio Visio Stencil voicemail

Create a free website or blog at WordPress.com.

Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Smarter Together
    • Join 63 other followers
    • Already have a WordPress.com account? Log in now.
    • Smarter Together
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar
%d bloggers like this: