Citrix ADC

Media classification

了解交通网络中的h的类型elps network administrators to manage bandwidth consumption for optimal network performance. The media classification mode monitors and displays the statistics of media traffic going through the Citrix ADC appliance.

With this mode enabled, a network administrator can collect stats showing the amount of data accessed, and the types of devices from which the media files have been accessed. The Citrix ADC appliance also supports byte-range requests in this mode.

Currently the Citrix ADC appliance can monitor and display statistics for the following media file types:

Media File type
Microsoft Smooth Streaming Video
Apple Live Streaming Video
Audio Data Transport Stream (ADTS) Audio
Advanced Audio Coding (AAC) Audio
Flash Video (FLV) Audio and Video
3GP Audio and Video

The appliance can display stats for the following devices:

Device Platform Device Type
iOS iPad and iPod
Android Mobiles and tablets
Laptop or Desktop Windows laptop and desktop computers
Others Other mobile devices (mobiles and tablets)

The network administrators can check the following stats counters to know the amount of data accessed through the Citrix ADC appliance for various media traffic types.

Media File Name 圣ats Counter
Microsoft Smooth Streaming mcmssmthstrmvid—This counter records the total number of Microsoft Smooth Streaming videos served by the Citrix ADC appliance;Mcmssmthstrvidpl—This counter records the total number of Microsoft Smooth Streaming video playlists served by the Citrix ADC appliance;Mcmssmthstrmvidbytes—This counter records the total number of data bytes served for Microsoft Smooth Streaming media traffic on the Citrix ADC appliance;Mcmssmthstrmplvidbytespl—This counter records the total number of Microsoft Smooth Streaming playlist bytes served by the Citrix ADC appliance.
Apple Live Streaming mccaplelivestrmngvid—This counter records the total number of Apple Live Streaming videos served by the Citrix ADC appliance. Mccapplelivestrmngvidpl—This counter records the total number of Apple Live Streaming video playlists served by the Citrix ADC appliance.Mcapplelivestreamingvidbytes—This counter records the total number of data bytes served for Apple Live Streaming media traffic on the Citrix ADC appliance.Mcapplelivestreamingplaylistvidbytespl—This counter records the total number of Apple Live Playlist bytes served by the Citrix ADC appliance.
Audio Data Transport Stream (ADTS) mcadtsaudio—This counter records the total number of ADTS audio clips served by the Citrix ADC appliance.Mcadtsaudiobytes—This counter records the total number of data bytes served for ADTS media traffic on the Citrix ADC appliance.
Advanced Audio Coding (AAC) Mcaacaudio—This counter records the total number of AAC audio clips served by the Citrix ADC appliance.Mcaacaudiobytes—This counter records the total number of data bytes served for AAC media traffic on the Citrix ADC appliance.
Flash Video (FLV) Mcflvvid—This counter records the total number of flash videos served by the Citrix ADC appliance.Mcflvvidbytes—This counter records the total number of data bytes served for flash videos on the Citrix ADC appliance.
3GP mc3gpvidbytes—This counter records the total number of data bytes served for 3GP media traffic on the Citrix ADC appliance.

The Citrix ADC appliance detects media file types by their signatures in theinitial body bytesof the responses. For example, the initial body bytes for an mp4 file have the following signature in the response:

**....ftypmp42** ....isommp42....moov...lmvhd.....c.\!.c.\!..

The Citrix ADC appliance detects the client device type by theuser agent stringthat the client device includes in the HTTP GET request. For example, a window phone using a UC browser has the following user agent string in the HTTP GET request:

User-Agent: **UCWEB**/2.0 (**Windows**; U; wds 8.10; en-US; HTC; 8X by HTC) U2/1.0.0

Enable media classification

默认情况下,媒体对th分类是禁用的e Citrix ADC appliance. You have to enable the mode before using it.

To enable media classification by using the command line interface

At the command prompt, type:

enable ns mode Mediaclassification

To enable media classification by using the GUI

Enable media classification on Citrix ADC appliance

Navigate toSystem>Settings>Configure Modesand selectMedia Classification.

To view media traffic statistics on the Citrix ADC appliance

Navigate toOptimizationand clickMedia Classificationto view the media traffic statistics.

Verify media classification statistics

You can view the media traffic statistics in the dashboard utility or using the command line interface. The dashboard utility displays summary and detailed statistics in a tabular and graphic format.

NoteFor more information about statistics and charts, see the Dashboard help on your Citrix ADC appliance.

To View media classification statistics by using the command line interface

At the command prompt, type one of the following commands to display a summary of media classification statistics, display detailed statistics, or clear the display:

stat Mediaclassification

stat Mediaclassification -detail

stat Mediaclassification -clearstats

To view Media Classification statistics on the Dashboard

In theDashboardutility, you can display the following types of media classification statistics:

  1. SelectMedia Classificationto display a summary of the media traffic statistics.
  2. To display detailed media traffic statistics, click theDetails.
  3. To clear the media traffic statistics, clickClear.
Media classification