# VQP

> Mediated Wiki article. Canonical URL: https://mediated.wiki/source/VQP
> Markdown URL: https://mediated.wiki/source/VQP.md
> Source: https://en.wikipedia.org/wiki/VQP
> Source revision: 1251391125
> License: Creative Commons Attribution-ShareAlike 4.0 International (https://creativecommons.org/licenses/by-sa/4.0/)

{{Short description|VLAN Query Protocol}}
{{multiple|
{{no footnotes|date=May 2018}}
{{primary sources|date=May 2018}}
}}

The '''VLAN Query Protocol''' ('''VQP''') was developed by [Cisco](/source/Cisco) and allows end-devices on [LAN](/source/LAN)s to be authenticated via their [MAC address](/source/MAC_address) and an appropriate [VLAN](/source/VLAN) attributed to the port, using a [VLAN Management Policy Server](/source/VLAN_Management_Policy_Server) (VMPS). VQP is a Cisco-only protocol that is supported only by older [switches](/source/network_switch) running [CatOS](/source/CatOS). Many vendors (including Cisco) have turned to support dynamic VLAN assignments using the [802.1X](/source/802.1X) authentication protocol with a [Radius server](/source/Radius_server) that has additional attributes designating the VLAN.

==Details==
Upon physically connecting a device to a port of a switch configured as a VLAN Management Policy Server (VMPS) client, the switch begins listening for [packets](/source/network_packet), and encapsulates and rebroadcasts the first packet received into a VQP packet, which is sent to one of up to two configured VMPS servers on port udp/1589. The VMPS server will give one of 4 responses (<code>Allow</code>, <code>Deny</code>, <code>Shutdown</code>, <code>Wrong_Domain</code>) and the switch will either assign the port to the appropriate VLAN, put the port back into the pre-confirmation state, shut down the port until the device or another one is physically reconnected, or log an error indicating that it is incorrectly configured. The latter result is often due to Cisco documentation failing to mention that the domain name in the VMPS configuration file must match the [VLAN Trunking Protocol](/source/VLAN_Trunking_Protocol) (VTP) domain name.

If reconfirmation of VLAN assignment is required, it is done in the same manner as initial confirmation, with the exception of including the currently assigned VLAN for the port in the VQP packet. Reconfirmation is done periodically based on configuration directives of the client switches, or can be forced with a switch command line directive.

The VQP Protocol has no [checksum](/source/checksum)s, [encryption](/source/encryption) or [authentication](/source/authentication) of either the [client](/source/client_(computing)) or the switch messages. The protocol also does not include scope to send a message to the [server](/source/server_(computing)) informing that a device has been disconnected. 

==References==
{{Reflist}}

==External links==
*[http://www.filewatcher.com/n/vqpcli.pl.4941.0.0.html Perl VQP Client]

Category:Internet Protocol based network software

---
Adapted from the Wikipedia article [VQP](https://en.wikipedia.org/wiki/VQP) by Wikipedia contributors ([contributor history](https://en.wikipedia.org/wiki/VQP?action=history)). Available under [Creative Commons Attribution-ShareAlike 4.0 International](https://creativecommons.org/licenses/by-sa/4.0/). Changes may have been made.
