Requirement:
Aruba controllers or VMware should be running minimum AOS 8.x
Solution:
LLDP-MED is an extension to LLDP that supports interoperability between VoIP and video streaming devices and other networking clients. LLDP-MED network policy discovery lets end-points and network devices advertise the VLAN, priority levels, and DSCP values used by a voice or video application.
LLDP-MED application types:
guest-voice: If the AP services a separate voice network for guest users and visitors.
guest-voice-signaling: If the AP is part of a network that requires a different policy for guest voice signaling than for guest voice media. Do not use this application type if both the same network policies apply to both guest voice and guest voice signaling traffic.
softphone-voice: If the AP supports voice services using softphone software applications on devices such as PCs or laptops.
streaming-video: If the AP supports broadcast or multicast video or other streaming video services that require specific network policy treatment. This application type is not recommended for video applications that rely on TCP with buffering.
video-conferencing: If the AP supports video conferencing equipment that provides real-time, interactive video or audio services.
video-signaling: If the AP is part of a network that requires a different policy for video signaling than for the video media. Do not use this application type if both the same network policies apply to both video and video signaling traffic.
voice: If the AP services IP telephones and other appliances that support interactive voice services. This is the default application type.
voice-signaling: Select this application type if the AP is part of a network that requires a different policy for voice signaling than for the voice media. Do not use this application type if both the same network policies apply to both voice and voice signaling traffic.
LLDP-MED application VLAN:
Specify a VLAN by VLAN ID (0-4094) or VLAN name.
LLDP-MED application VLAN tagging:
Select this check box if the LLDP-MED policy applies to a to a VLAN that is tagged with a VLAN ID or untagged. The default value is untagged.
NOTE: When an LLDP-MED network policy is defined for use with an untagged VLAN, then the L2 priority field is ignored and only the DSCP value is used.
LLDP-MED application Layer-2 priority:
Specify a 802.1p priority level for the specified application type, by entering a value from 0 to 7, where 0 is the lowest priority level and 7 is the highest priority.
LLDP-MED application Differentiated Services Code Point:
Select a DSCP priority value for the specified application type by specifying a value from 0 to 63, where 0 is the lowest priority level and 63 is the highest priority
Configuration:From WebUI:
1. After creating and enabling the required options Click Submit.
2. Click Pending Changes.
3. In the Pending Changes window, select the check box and click Deploy changes.
From CLI:
Syntax:
(host) [md] (config) #ap lldp med-network-policy-profile <profile>
(host) ^[md] (AP LLDP-MED Network Policy Profile "default") #application-type {guestvoice| guest-voice-signaling|softphone-voice|streaming-video|video-conferencing|videosignaling|
voice|voice-signaling}
(host) ^[md] (AP LLDP-MED Network Policy Profile "default") #clone <profile>
(host) ^[md] (AP LLDP-MED Network Policy Profile "default") #dscp <dscp>
(host) ^[md] (AP LLDP-MED Network Policy Profile "default") #l2-priority <l2-priority>
(host) ^[md] (AP LLDP-MED Network Policy Profile "default") #no ...
(host) ^[md] (AP LLDP-MED Network Policy Profile "default") #tagged
(host) ^[md] (AP LLDP-MED Network Policy Profile "default") #vlan <vlan>
Example:
The following commands create a LLDP MED network policy profile for streaming video applications and marks streaming video as high-priority traffic:
(Aruba) [md] (config) #ap lldp med-network-policy-profile vid-stream
(Aruba) ^[md] (AP LLDP-MED Network Policy Profile "vid-stream") #application-type video-conferencing
(Aruba) ^[md] (AP LLDP-MED Network Policy Profile "vid-stream") #dscp 48
(Aruba) ^[md] (AP LLDP-MED Network Policy Profile "vid-stream") #l2-priority 6
(Aruba) ^[md] (AP LLDP-MED Network Policy Profile "vid-stream") #tagged
(Aruba) ^[md] (AP LLDP-MED Network Policy Profile "vid-stream") #vlan 10
(Aruba) ^[md] (AP LLDP-MED Network Policy Profile "vid-stream") #write memory
Now, the LLDP MED network policy profile should be assigned to an LLDP profile, and the LLDP profile is associated with an AP wired-port profile:
(Aruba) [md] (config) #ap lldp profile Test-video1
(Aruba) ^[md] (AP LLDP Profile "Test-video1") #lldp-med-network-policy-profile vid-stream
(Aruba) ^[md] (AP LLDP Profile "Test-video1") #!
(Aruba) ^[md] (config)#ap wired-port-profile Test-LLDP-corp2
(Aruba) ^[md] (AP wired port profile "Test-LLDP-corp2")#lldp-profile Test-video1
Verification(Aruba-MM) [md] (config) #show ap lldp med-network-policy-profile vid-stream
AP LLDP-MED Network Policy Profile "vid-stream"
--------------------------------------------
Parameter Value
--------- -----
LLDP-MED application type video-conferencing
LLDP-MED application VLAN 10
LLDP-MED application VLAN tagging tagged
LLDP-MED application Layer-2 priority 6
LLDP-MED application Differentiated Services Code Point 48