Reply
Polycom Employee & Community Manager
Posts: 13,985
0

[FAQ] Utilizing VLAN's with Polycom phones

[ Edited ]

Polycom phones have the ability to utilize VLAN's

 

Note: If CDP or LLDP is active on a Switchport the DHCP VLAN discovery will not be used!

 

For a more detailed information about the network please check => here <=

 

An extract from the UCS 4.0.1 Admin Guide page 366:

 

To assign a VLAN ID to a phone using DHCP:


In the DHCP menu of the Main setup menu, set VLAN Discovery to Fixed or Custom.

 

• When set to Fixed, the phone will examine DHCP options 128,144, 157 and 191 (in that order) for a valid DVD string.
• When set to Custom, a value set in the VLAN ID Option will be examined for a valid DVD string.

 

DVD string in the DHCP option must meet the following conditions to be valid:

 

• Must start with “VLAN-A=” (case-sensitive)
• Must contain at least one valid ID
• VLAN IDs range from 0 to 4095
• Each VLAN ID must be separated by a “+” character
• The string must be terminated by a semi colon “;”
• All characters after the semi colon “;” will be ignored
• There must be no white space before the semi colon “;”
• VLAN IDs may be decimal, hex, or octal


The following DVD strings will result in the phone using VLAN 10:

 

VLAN-A=10;
VLAN-A=0x0a;
VLAN-A=012;

 

The Phone would as a factory setting utilize a fixed VLAN discovery

 

VLAN_00.PNG

 

Step 1 Setting the VLAN Option via DHCP

 

Below example is from a Windows 2003 Server

 

Setting a predefined option:

 

VLAN.PNGVLAN_01.png  VLAN_02.png


Above Example shows how one of the predefined Polycom options 144 is added to the DHCP server.

 

VLAN_04.png VLAN_03.png

 

The above example shows how the newly created predefined option is assigned to the scope with the data entry value as suggested in the admin guide.

 

VLAN 111 should be assigned via DHCP once the phone queries the Options.

 

Phone Factory Default:

 

A wireshark trace shows the Phone (factory default) sending in its DHCP Discovery

 

VLAN_05.png

 

Option 55 queries 128, 144, 157 and 191 and the first Value will be used to set the VLAN ID.

 

VLAN Discovery Custom:

 

If the VLAN Discovery Menu has been set to Custom the phone will only query 129 within Option 55:

 

VLAN_06.png

 

VLAN Discovery disabled:

 

If VLAN discovery is deactivated or CDP/LLDP is discovered the Phone will not query any pre-defined options:

 

VLAN_07.png

 

 

Step 2 Setting/Changing VLAN Options on the phone

 


VLAN_01.PNG

  • Select the Menu Key

VLAN_02.PNG

  • Select Settings

VLAN_03.PNG

  • Select Advanced and add the Password (Standard would be 456)

VLAN_04.PNG

  • Select Administrator Settings

VLAN_05.PNG

  • Select Network Configuration

VLAN_06.PNG

  • Select Ethernet Menu 

VLAN_07.PNG

  • Select VLAN Menu 

VLAN_08.PNG

 

 

Above example screen capture from a VVX500 shows the VLAN menu on a VVX500 within the Ethernet settings.

 

The same can be done using the Web Interface (UC Software 4.0.0 or later)

 

VLAN_09.PNG

 

Manual assignement of a VLAN via Configuration

 

Via your Provisioning Server you can provision VLAN settings via the device.set parameters.

 

Example 1:

 

<vlan device.set="1" device.dhcp.dhcpVlanDiscUseOpt.set="1" device.dhcp.dhcpVlanDiscUseOpt="Custom" 
device.dhcp.dhcpVlanDiscOpt.set="1" device.dhcp.dhcpVlanDiscOpt="222" />

 Above example would set the DHCP VLAN Discovery to custom and  to the custom value of 222.

 

Example 2:

 

<vlan device.set="1"device.dhcp.dhcpVlanDiscUseOpt.set="1" device.dhcp.dhcpVlanDiscUseOpt="Disabled" device.net.vlanId.set="1" device.net.vlanId="111"/>

 Above example would set the DHCP VLAN Discovery to disabled and and set a fixed VLAN ID of 111.

 

Note: Please consult your Admin Guide for further details on the above!

 

Troubleshooting

 

The Phone sends in its initial DHCP Discover an request for Option 55 with the pre-defined sub Options:

 

DHCP_VLAN_01.png

 

DHCP Server answering the DHCP Discover (Option 55 as factory default) with a DHCP Offer containing an Option 128 for VLAN 111.

 

DHCP_VLAN_02.PNG

 

VLAN_01.PNG

 

  • Example SSIP6000 UC Software 4.0.9

 

VLAN_02_SSIP6000.PNG

 

or

 

<logging log.level.change.cfg="3" />

Results in this:

 

000015.486|cfg  |3|3014|RT|DHCP VLAN Discovery obtained VLAN list (VLAN-A=111;)
000015.486|cfg  |3|3014|RT|DHCP VLAN Discovery released initial DHCP lease.
000015.486|cfg  |3|3014|RT|Setting 802.1Q VLAN Id from LLDP/CDP.
000015.486|cfg  |3|3014|RT|Enabling 802.1Q tagging, VLAN Id = 111

 

  • Example VVX600 UC Software 5.4.0

 

 

VLAN_04_vvx600.PNG

 

or

 

<logging log.level.change.cfg="3" log.level.change.dhcpc="3" />

 

Should show in the logs:

 

000023.054|dhcpc|3|00|dhcListener: Read succeeds: eth0 option: o-128 VLAN-A=111;.
000023.080|dhcpc|3|00|dhcListener: Read succeeds: eth0 state: BOUND.
000023.083|cfg  |3|00|RT|DHCP CfgRtMsgDhcpUp is received.
000023.084|cfg  |3|00|RT|DHCP VLAN Discovery obtained VLAN list (VLAN-A=111;)
....
....
000024.826|dhcpc|3|00|dhcListener: Read succeeds: eth0.111 state: PREINIT

 

Wireshark

 

The Phone would then release the DHCP IP from the native VLAN via a DHCP Release

 

VLAN_Release.PNG

 

And send a new DHCP Discover in the new VLAN 111

 

VLAN_03.PNG

 

Depending on the Network card and operating system a registry change may be required to see tagged vlan packets as explained => here <=

Please be aware:

The purpose of these forums is to allow community members collaborate and help each other.
Questions posted here do not follow Polycom’s SLA guidelines.
If you require assistance from Polycom technical support, please open a
web service request or call us .

The above is necessary in order to track issue internally within Polycom.

You are welcome to post more questions or configuration or logs for other community members to look at but if your issue requires a fix via Polycom you must go via the official support structure.

Please ensure you always check the VoIP , Video Endpoint , Skype for Business , PSTN or RPM FAQ's

Please remember, if you see a post that helped you , and it answers your question, please mark it as an "Accept as Solution".

This forum reply or post is based upon my personal experience and does not reflect the opinion or view of my employer.
Polycom employee participation within this community is not mandatory and any post or FAQ article provided by myself is done either during my working hours or outside working hours, in my private time, and may be answered on weekends, bank holidays or personal holidays.