UCS 5.1.1 officially added a remote packet capture option to the phone in order to troubleshoot issue and provide wireshark traces if required.
<capture diags.pcap.enabled="1" diags.pcap.remote.enabled="1" />
Above Parameters activate the feature on the Phone.
The UCS 5.1.0 Admin Guide describes this on page 170 in the Remote Packet Capture for Logs section.
VLAN or additional Network Interfaces:
In the above photo the Phone uses a VLAN 242 but on a Trio as an example the WiFi interface can be displayed and selected.
In addition to the above Wireshark can also be configured to capture a rolling trace with options to set a duration or a certain file size or the amount of files to be captured.
Settings > Logging > Module Log Level Limits > Packet Capture > Event 1
0814203258|pcap |3|00|Successful RPCAP authentication 0814203259|pcap |3|00|Received RPCAP_MSG_OPEN_REQ 0814203259|pcap |3|00|Received RPCAP_MSG_STARTCAP_REQ 0814203259|pcap |3|00|Foreground Start event in Idle state 0814203259|pcap |1|00|RPCAP filter intruction: code=0x6 jf=0 jt=0 k=0x40000 0814203259|pcap |0|00|RPCAP data thread started 0814203259|pcap |3|00|Received RPCAP_MSG_UPDATEFILTER_REQ 0814203259|pcap |1|00|RPCAP filter intruction: code=0x28 jf=0 jt=0 k=0xc
Wireshark Error Message "Can't get list of Interfaces":
Using the functionality may cause this error
To resolve this use Explorer and browse to
and delete “recent” and “Recent_common”