A Unified Communication Blog
Get Adobe Flash player

As a continuation to my previous post (Use Location Service on Wifi in Lync), I will in this post tell you what is hot and what is not so hot when using location service on a wired network.


So as I my previous post a customer asked me to enable location service in Lync so that the colleagues could locate each other in there fine new building.

Before I started, I might have promised the customer that Location Service was the 8 wonder in world and it was SO cool – I knew only the theory – or most of it K

Back to the customer, which is located in Denmark, Europe – so we can’t use location service for cool stuff like E911 (it’s a wonder that the ambulance can find us J)

As I have shown, you can use location service when you know the BSSID on your wifi access point, but it is also possible to use it on a wired network if you switches support LLDP – Go ask you network Guy to enable LLDP on the switches (I wouldn’t tell you how to do it J – basically because I don’t know how to).

When using LLDP you can define the location on the switch and/or port level:

Use this command for the switch level:

Set-CsLisSwitch (http://technet.microsoft.com/en-us/library/gg412823.aspx)

The parameter –ChassisID is the MAC address of the switch. An example of a command looks like this:

Set-CsLisSwitch -ChassisID f8-4f-57-2f-bb-80 -Description ‘HQ 1st floor’ -Location ‘1st Floor’ -Companyname ‘Exchangepro’ -housenumber 2027 -Streetname ‘Somewhere’ -City ‘Haslev’ -Postalcode 90210 -Country DK

Note: -Location can be max 20 characters K

The next way, which is more precise, is to define the Port where the patch cable is plugged in, which essential gives you the possibility to map a user to an exact location like a room or small office.

Set-CsLisPort -ChassisID 99-99-99-99-99-99 -PortID 4200 -PortIDSubType 1 (http://technet.microsoft.com/en-us/library/gg398700.aspx)


An example from a Cisco switch could look like this:

Set-CsLisSwitch -ChassisID f8-4f-57-2f-bb-80 -PortID Gi1/0/44 -PortIDSubType 5 -Description ‘HQ 1st floor, room 230′ -Location ‘1st fl. Room 230′ -Companyname ‘Exchangepro’ -housenumber 2027 -Streetname ‘Somewhere’ -City ‘Haslev’ -Postalcode 90210 -Country DK

When you add switches and ports with the above commands, you must also publish the information to the lis database with this command


So when you are trying to configure this, it can be difficult to verify if you have the right information for the ports etc. and here Wireshark can be very helpful, because the switch broadcasts the LLDP information on the ports, and Wireshark can help you find it.


So if your are going for mapping all the ports to for example rooms you will have a big task making sure that you know which room (patch cables) is connected to which switch port – good luck with that J

Also there is a catch – LLDP is NOT supported on Windows 7 – it’s simply not build into the protocol stack, so even though that the switch broadcast the information and you can see it in Wireshark, you will not be able to use it on Windows 7 pc’s. – simply because the OS can’t pick up the information so that Lync can use it. But It’s natively supported on Windows 8.


So what can you do for Windows 7 ?

Instead of using LLDP on Windows 7 pc’s, you can instead define the location by subnet with this command:

Set-CsLisSubnet -Subnet -Description ‘HQ 1st floor’ -Location ‘1st Floor’ -Companyname ‘Exchangepro’ -housenumber 2027 -Streetname ‘Somewhere’ -City ‘Haslev’ -Postalcode 90210 -Country DK


Or you can configure a MACResolerURL in Lync (http://technet.microsoft.com/en-us/library/gg412972.aspx), which allows Lync to make a lookup though SNMP in a database. Here it will lookup the MAC address of the computer and get a location for that computer.

As I know it ‘s only http://www1.911enable.com/ which has an device which can provide you with this service url, and again then you will need to know the mac addresses of all computers and map them to a location – so in my opinion this is not a very useful option (also I don’t know the price of the device from 911enable).

If you know of any other solution to get it to work on Windows 7, I would be very happy to know.



The conclusion to using location service on a wired network is in my opinion, great if you are running Windows 8, because you can use LLDP and map your computers to a switch and/or switch port to get an exact location. In Windows 7, you are stuck with only location service on subnet or wifi access point.

As a last point location service don’t work in Lync StoreApp and on Lync Mobile devices – you will need the “fat” client.

But when it’s configured and up and running it’s a very cool feature although you might not be able to using it for E911 but only as an information for your colleagues.





One Response to Use Location Service on a Wired Network

  • Great blog here! Also your web site loads up
    fast! What host are you using? Can I get your affiliate link to your host?

    I wish my web site loaded up as fast as yours lol

Leave a Reply

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

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>


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

Join 77 other subscribers

Follow me on Twitter