Introduction
AppleTV and Airplay does not work unless P2P is allowed.
Problem Description
User have WLC 5508's and 1142 and 2602 AP's. AppleTV and Airplay will not work unless P2P is enabled on the WLAN. BYOD is allowed and people are using P2P inappropriately. How they can get AppleTV and Airplay to work but also disable P2P?
More Information
AppleTV and clients are on the same WLAN and managed by a single WLC. The only way we been able to get the clients and AppleTV to work is to select the SSID from the WLC then go to --> advanced and change P2P Blocking Action from enabled to forward-UpStream.
Solution
P2P blocking can't be enabled if you want bonjour to work as it is peer to peer. I believe this has been documented in the WLC bonjour guide also. I don't think there is a way to get bonjour to work if you do want P2P blocking enabled.
Details
Ensure Peer-to-Peer Blocking Is Disabled
Peer-to-peer blocking is configured on a per-WLAN basis and prevents clients on the wireless network from communicating with one another. By default, it is disabled for new WLANs, but if enabled, it can cause issues for services like AirPlay when the AppleTV is on the wireless network. Any Bonjour service that relies on communication between wireless clients can be broken by peer-to-peer blocking.
Under the WLANs tab > Advanced section of the WLAN configuration, make sure P2P Blocking Action is set to Disabled.
Source