Cisco ACNS Software Configuration Guide for Locally Managed Deployments, Release 5.2
Chapter 7: Configuring WMT Streaming Media Services on Standalone Content Engines

Table Of Contents

Configuring WMT Streaming Media Services on Standalone Content Engines

Overview of WMT Streaming and Caching with Standalone Content Engines

About the Components of Windows Media Services

About the MMS Protocol

How Standalone Content Engines Process WMT Requests

About Fast Streaming with Windows Media Services 9 Series

About WMT Streaming and Caching Services with Standalone Content Engines

About Caching Policies in WMT Streaming Media Caching

About WMT Proxy Caching

About WMT Transparent Caching

About Live Splitting with WMT

About Proxy Authentication for a WMT-Enabled Content Engine

Configuring WMT Streaming and Caching Services for Standalone Content Engines

Guidelines for Configuring WMT Streaming and Caching Services

About WMT Variable Bit Rate Support

WMT Proxy Server Requirements

Adding or Removing WMT HTTP Allowed Filename Extensions

Configuring WMT Streaming and Caching Services

Checklist for Configuring WMT Streaming and Caching Services for Standalone Content Engines

Enabling WMT on Standalone Content Engines

Configuring WMT Redirection with Standalone Content Engines

Enabling and Configuring Nontransparent WMT Proxy Caching on Standalone Content Engines

Enabling and Configuring WMT Transparent Caching on Standalone Content Engines

Configuring Outgoing WMT Proxy Servers for Standalone Content Engines

Configuring Standalone Content Engines to Distribute WMT VOD Files

Verifying That Preloading WMT VOD Files Are Cached and Properly Distributed to Clients

Displaying WMT Configurations on Standalone Content Engines

Configuring Fast Start on Standalone Content Engines

Configuring Fast Cache on Standalone Content Engines

Configuring WMT Bandwidth Settings on Standalone Content Engines

Disallowing Specific Client Protocols

Configuring Standalone Content Engines to Deliver WMT Live Streams

Configuring Standalone Content Engines to Multicast Live WMT Streams

Configuring Multicast-In Multicast-Out on Standalone Content Engines

Configuring Unicast-In Multicast-Out on Standalone Content Engines

Defining WMT Multicast Stations and Multicast Schedules on Standalone Content Engines

Starting and Stopping WMT Multicast Stations

Configuring Standalone Content Engines to Unicast Live WMT Streams

Configuring Multicast-In Unicast-Out on Standalone Content Engines

Configuring Unicast-In Unicast-Out on Standalone Content Engines

Configuring the Maximum Number of Concurrent Sessions

Clearing WMT Streams on Standalone Content Engines

Using WMT Multicast Logging

Using WMT Transaction Logging with Standalone Content Engines

Log Formats Accepted by Windows Media Services 9

Specifying the Format of the WMT Transaction Logs on Standalone Content Engines

Enabling the Logging of Usernames to the WMT Transaction Log

Using WMT Error Logging with Standalone Content Engines

Logging WMT Client Disconnects

Logging the Clearing of WMT Streams on Standalone Content Engines


Configuring WMT Streaming Media Services on Standalone Content Engines


Streaming is a technology that allows content to be accessed or viewed before all the media packets have been received, whereas with caching, the content must be received in its entirety before it can be accessed. Streaming media can be delivered as live content or as on-demand content, such as video on demand (VOD). Cisco ACNS software supports several types of streaming media services, including Microsoft Windows Media Technologies (WMT), as well as RealNetworks RealMedia and Apple QuickTime that use the Real-Time Streaming Protocol (RTSP).

This chapter provides an overview of the WMT streaming media services, and describes how to use the Content Engine CLI to configure these services on standalone Content Engines. This chapter contains the following sections:

Overview of WMT Streaming and Caching with Standalone Content Engines

Configuring WMT Streaming and Caching Services for Standalone Content Engines

Configuring Standalone Content Engines to Deliver WMT Live Streams

Using WMT Multicast Logging

Using WMT Transaction Logging with Standalone Content Engines

Using WMT Error Logging with Standalone Content Engines


Note The Setup utility allows you to enable the WMT product feature on a standalone Content Engine that is running ACNS software (Release 5.2 or later). After enabling this feature on the Content Engine, you can use the Setup utility to configure WMT proxy caching and WMT transparent caching on the Content Engine. With the Setup utility, you can configure the Content Engine to accept redirected WMT requests from a WCCP Version 2-enabled router. With the Content Engine CLI, you can configure the Content Engine to accept redirected WMT requests from a WCCP Version 2-enabled router or a Layer 4 switch. For information about how to use the Setup utility to configure WMT caching on a standalone Content Engine, see the "Configuring a Basic Configuration on Standalone Content Engines with the Setup Utility" section.


For background information about streaming media services, see the "Understanding Some Basic ACNS Streaming Media Concepts" section. For complete syntax and usage information for the CLI commands used in this chapter, refer to the Cisco ACNS Software Command Reference, Release 5.2 publication. For information about how to configure streaming media services for Content Engines that are registered with a Content Distribution Manager, refer to the Cisco ACNS Software Configuration Guide for Centrally Managed Deployments, Release 5.2.

Overview of WMT Streaming and Caching with Standalone Content Engines

The WMT feature on a standalone Content Engine is licensed software. To enable the licensed WMT feature on a Content Engine, you must have a WMT license key. You must specify a permanent license key that is supplied on a certificate shipped with the Content Engine, or use an evaluation key for a temporary period. If you are downloading ACNS 5.x software, you can purchase a WMT license though the Cisco.com website. You specify the WMT license key as part of enabling the WMT product feature on a standalone Content Engine. See the "Enabling WMT on Standalone Content Engines" section.

ACNS software, Release 5.2 or later, interoperates with the following software:

Windows Media Services (WMS) 9 Series—Includes the Windows Media Player 9 Series, Windows Media Encoder and Windows Media 9 server. Note that the Content Engine does not provide the full functionality of a Windows Media 9 server (for example, Microsoft Media Service [MMS]-over-RTSP is not supported) and so cannot fully replace the Windows Media 9 server in this release.

Windows Media Services 4.1 Series—Includes the Windows Media Player 4.1 Series, Windows Media Encoder, and Windows Media 4.1 server.


Note ACNS software, Release 5.1 or earlier, interoperated with Windows Media Services (WMS) 4.1 and WMS 9.0. However, ACNS 5.1 software did not support the Windows Media Services 9 Series features (for example, the Fast Start, Fast Cache, Fast Reconnect, and XML logging from the player to the Content Engine) that were added in ACNS 5.2 software.


Content Engines that use a Content Service Switch (CSS) to load balance streaming traffic cannot stream UDP traffic (such as MMSU and RTSPU), because the Content Service Switch does not support UDP traffic.

About the Components of Windows Media Services

Windows Media Services is Microsoft's set of streaming solutions for creating, distributing, and playing back digital media files on the Internet.

Table 7-1 describes the major components of Windows Media Services 9 Series and Windows Media Services 4.1

Table 7-1 Components of Microsoft Windows Media Services 

Component
Description

Windows Media Player

Desktop application that the end user runs to play requested digital media files (for example, Windows Media Players Versions 6.4 and 7.0, or the Windows Media Player 9 Series).

These clients can take advantage of the VCR-like controls in the Windows Media Player to pause the stream or to skip backward or forward (in the case of stored content [video on demand]).

Windows Right Manager
and Encoder

Content-creation application.

Windows Media Server

Server and distribution application that uses an application-level protocol called Microsoft Media Server (MMS) (for example, Windows Media 9 server and Windows Media 4.1 server) to send active streaming format (ASF) files across the Internet.


A URL that points to a streaming ASF file includes MMS as its protocol, as shown in the following example:

mms://servername/filename.asf

Windows Media Services 9 Series is the new Windows Media solutions from Microsoft. With Windows Media Services 9 Series, Microsoft introduced a major change in the streaming protocol. Whereas the earlier versions of the Windows Media Players and servers use the MMS-over-UDP (MMSU) or MMS-over-TCP (MMST) protocol, Windows Media Services 9 Series by default uses a new RTSP-based protocol for streaming. In other words, the streaming protocols used by Windows Media Services 9 players are now:

Windows Media Services 9 Series RTSP/RTP-based protocol

Windows Media Services 9 Series-over-HTTP (similar to the MMS-over-HTTP protocol supported by earlier versions of Windows Media players and servers)

MMS-over-TCP (MMST) and MMS-over-UDP (MMSU)


Note In ACNS 5.x software, MMS-over-RTSP is not currently supported.


About the MMS Protocol

MMS is a proprietary protocol designed by Microsoft for streaming media content. The media content format used by Microsoft is called the active streaming format (ASF). MMS protocol is an application-level protocol that runs over UDP, TCP, or HTTP. MMS can also utilize IP multicast in order to broadcast media contents.

The MMS protocol automatically looks for the optimal transport method to deliver the streaming media in the following order:

User Datagram Protocol (UDP)

Transmission Control Protocol (TCP)

HTTP

MMSU is the Microsoft Media Server protocol with transport over UDP. UDP is a connectionless, transport-layer protocol that is ideal for real-time media because it does not guarantee delivery. Although this sounds like a drawback rather than an advantage, it is a characteristic particularly suited for streaming media. Unlike data such as files or e-mail, which must be delivered in their entirety no matter how long the transmission time, the value of streaming media data is constrained by time. If a frame of video is lost, it is worthless because it will not arrive within the correct time frame.

MMST is the Microsoft Media Server protocol with transport over TCP.

WCCP Version 2 supports two redirection services (the MMST service and the MMSU service) that allow you to configure WCCP Version 2 routers to redirect WMT requests transparently to a Content Engine (functioning as a transparent proxy server that is configured to support WMT transparent caching).

The client (the Windows Media Player) attempts to retrieve a file using all of these protocols (MMS-over-UDP [MMSU], MMS-over-TCP [MMST], and MMS-over-HTTP). The general rule is the following:

If the URL is http://xxx, the Windows Media Player attempts to retrieve the file using MMS-over-HTTP (also called "streamed HTTP").

If the URL is mms://xxx.asf, the player attempts to retrieve the file using MMSU, then MMST, and then finally MMS-over-HTTP, in that order.

If the URL is http://xxx.nsc, then the player first fetches the xxx.nsc file through regular HTTP, and then fetches the stream described in the xxx.nsc file using MMS-over-IP multicast.

Because the MMS protocol can also run over HTTP, the Content Engine needs to distinguish MMS requests from regular HTTP requests. The Content Engine accomplishes this by examining the User-Agent header in the request. If the User-Agent is the Windows Media Player, then the Content Engine assumes that it is an MMS request; otherwise, it considers it a regular HTTP request.


Tip For live streaming, Content Engines always obtain the live stream from an external WMT server; the Content Engine is never the originator of the live content. For a standalone Content Engine to deliver WMT live streams, you need WMT caching proxy and server capabilities on the standalone Content Engine. The WMT product is licensed software and requires a WMT license key. For more information about this license key, see "Enabling WMT on Standalone Content Engines" section.


How Standalone Content Engines Process WMT Requests

Standalone Content Engines can receive WMT requests directly from WMT clients, or from WCCP Version 2 routers or Layer 4 CSS switches (through WMT transparent redirection).

The actual protocol used is negotiated between the WMT client and the server. If both the client and the server are Windows Media Services 9 Series, then the RTSP protocol is used if the URL starts with mms://, and the HTTP protocol is used if the URL starts with http://.

In ACNS 5.2 software, MMS-over-HTTP is supported with Windows Media Services 9 Series; MMS-over-RTSP is not currently supported. Because MMS-over-RTSP is not supported by a Content Engine that is running ACNS 5.x software, when the Content Engine receives an MMS request from a client, the Content Engine acts as a Windows Media 4.1 server instead of a Windows Media 9 server. For example, if a Content Engine that is running ACNS 5.2 software receives an MMS request (one beginning with mms://) from the client, the Content Engine acts as a Windows Media 4.1 server and establishes an MMST connection with the origin server.

In the case of MMS-over-HTTP with Widows Media Services 9 Series, a standalone Content Engine that is running ACNS software, Release 5.2 and later, supports the Fast Start and Fast Cache features for preloaded VOD, live-split, and on-demand (cache-hit) content. For more information on these features, see the "Configuring Fast Start on Standalone Content Engines" section and the "Configuring Fast Cache on Standalone Content Engines" section.


Note Support for the Fast Start and Fast Cache features was added in ACNS 5.2 software. These features are only available in MMS-over-HTTP streaming with Windows Media Services 9 Series.


In ACNS 5.2 software, the WMT streaming module contains two sets of processes that handle client requests:

The mms_server processes that handle MMS requests over UDP (MMSU) and TCP (MMST), and MMS-over HTTP

The mcast_mms processes that handle MMS requests over IP multicast

In ACNS 5.2 software, standalone Content Engines use the Fast Start and Fast Cache features to stream live stream-split content or on-demand (cache-hit) content to the client; a Windows Media 9 server cannot stream content to a Content Engine using Fast Start or Fast Cache.

About Fast Streaming with Windows Media Services 9 Series

Windows Media Services 9 Series offers a set of Fast Streaming features that combine streaming, downloading, and caching features for web client acceleration improving the user experience by accelerating delivery of streaming content to the client. In versions earlier than Windows Media Services 9 Series, content was streamed at a constant bit rate to clients.

ACNS 5.2 software supports the following Fast Streaming features: Fast Start, Fast Cache, and Fast Reconnect. This support is for MMS-over-HTTP only; ACNS software does not currently support MMS-over-RTSP.

Table 7-2 lists the Fast Streaming features that are supported by Content Engines that are running ACNS software, Release 5.2 or later.

Table 7-2 Fast Streaming Features Supported by Standalone Content Engines 

Feature
More Information

Fast Start

See the "Configuring Fast Start on Standalone Content Engines" section.

Fast Cache

See the "Configuring Fast Cache on Standalone Content Engines" section.

Fast Reconnect

Enables the Windows Media 9 server to automatically restore client connections (including encoders, distribution servers, and Windows Media Player 9 Series) that are lost during a broadcast because of network conditions. Depending on the type of content (for example, video on demand or a live broadcast), the user may experience a gap in the broadcast. This feature is a client-side feature, so there is no configuration required on the server side (that is, the Content Engine that is functioning as a Windows Media 9 server for the Windows Media Player 9 Series).


Table 7-3 lists the types of content that are supported with the Fast Start and Fast Cache features.

Table 7-3 Fast Start and Fast Cache Support for Standalone Content Engines 

Feature
Preloaded VOD Files
Live Content

Fast Start

Yes

Yes

Fast Cache

Yes

Not applicable


With preloaded VOD files, if the Windows Media 9 server (the Content Engine) determines that the client (Windows Media Player 9 Series) supports the Fast Start and Fast Cache features, it uses the Fast Start and Fast Cache features to send the packets to the clients. Otherwise, the Windows Media 9 server transmits the packets at its regular speed.

With a cache hit, the Windows Media 9 server (the Content Engine) use the Fast Start and Fast Cache features to serve the content when the content is cached or partially cached in its local storage.

With a cache miss, the Windows Media 9 server (the Content Engine) masquerades as a Windows Media Version 7 player and communicates with the remote origin server. Although the origin server supports Fast Start and Fast Cache, the packets must come from the remote server and will still be in the normal pace. After the content is cached on the Content Engine (cache hit or partial hit), the Fast Start and Fast Cache features are supported for MMS-over-HTTP.

With live content, the Windows Media 9 server (the Content Engine) needs to hold the content in its buffer for a few seconds. When the first client requests the live stream, the buffer fills up. This buffer is used to serve Fast Start packets to subsequent clients that request the same stream. Note that the first client does not experience any benefit from the Fast Start feature. However, the first client triggers the process of having data come into the Content Engine's buffer. Subsequent clients who request the same live content will see the benefit of Fast Start when the Content Engine pushes the buffered content to these clients at a faster pace.


Note The Fast Start feature is only used by Windows Media Player 9 Series clients that connect to a unicast stream.


About WMT Streaming and Caching Services with Standalone Content Engines

Table 7-4 lists the types of WMT streaming and caching services that are supported with standalone Content Engines that are running ACNS software (Release 5.2 or later).

Table 7-4 WMT Streaming and Caching Services with Standalone Content Engines 

Operation
Description

WMT proxy caching

The Content Engine receives WMT requests directly from a Windows Media Player. The Content Engine retrieves the requested content if it is not already stored in its local cache, stores a copy locally whenever possible, and sends the requested content to the client. For more information, see the "About WMT Proxy Caching" section.

WMT transparent
caching

The Content Engine receives WMT requests that are transparently redirected to it by a WCCP Version 2 router or a Layer 4 switch. The Content Engine retrieves the requested content if it is not already stored in its local cache, stores a copy locally whenever possible, and sends the requested content to the client. For more information, see the "About WMT Transparent Caching" section.

Distribution of
WMT live streams
(common)

The Content Engine serves WMT live streams to all local users (Windows Media Players) whose WMT traffic it receives. The WMT live streams can be unicast or multicast live feeds. The Content Engine splits the live feeds into multicast or unicast to relay the stream to the WMT client. For more information, see the "About Live Splitting with WMT" section.

Distribution of
preloaded VOD
files (rare)

VOD files are preloaded on the Content Engine for on-demand delivery of these files to the Windows Media Players. VOD caching is similar to HTTP caching; however, VOD files are cached in a different file system (mediafs) on the standalone Content Engine.

To configure a standalone Content Engine to distribute VOD files, follow these steps:

1. Preload the VOD files on this Content Engine, as described in the "Configuring Content Preloading for Standalone Content Engines" section.

2. Publish the URLs of the preloaded VOD files that clients can now access through their WMT media players.


About Caching Policies in WMT Streaming Media Caching

In contrast to HTTP caching, caching policies in WMT streaming media caching are much simpler, because streaming media is mostly large static content. The caching policy in WMT caching is straightforward. All responses are cacheable, including partial responses. All WMT requests result in communication between the Content Engine and the origin server, even if the request is a cache hit.

By establishing the streaming control session, the Content Engine can verify that its cached content is fresh, and the client can access the content. Because streaming objects are typically very large in size, the overhead of establishing the control session with the server is negligible and does not reduce the bandwidth savings from the cache hits.

About WMT Proxy Caching

If direct proxy routing is being used to direct WMT requests to the standalone Content Engine, then you can configure the Content Engine to support WMT proxy caching. In direct proxy mode, the standalone WMT-enabled Content Engine accepts incoming WMT streaming requests directly from WMT clients (end users who are using the Windows Media Player to request WMT content) and acts on behalf of these clients, communicating with the origin WMT server. This type of caching is referred to as "WMT proxy caching." The Content Engine accepts and serves the streaming requests over MMS as well HTTP. MMS is the protocol that WMT uses for communication between media players and servers. (See Figure 7-1.)

Figure 7-1 WMT Proxy Caching (Direct Proxy Routing)


Note If a firewall is positioned between a Content Engine and a requesting client, make sure that you assign the external IP address of the Content Engine when explicitly configuring the Windows Media Player proxy settings on the end users' desktops to point to directly to this Content Engine.


You can use the Setup utility or the Content Engine CLI to enable and configure WMT proxy caching on a standalone Content Engine that is running ACNS software, Release 5.2 or later.

For information about how to use the Setup utility to configure WMT proxy caching on a standalone Content Engine, see the "Using the Setup Utility to Configure a Basic Configuration on a Standalone Content Engine" section.

For information about how to use the Content Engine CLI to configure WMT proxy caching, see the "Enabling and Configuring Nontransparent WMT Proxy Caching on Standalone Content Engines" section.

About WMT Transparent Caching

If transparent redirection (WCCP or Layer 4 switching) is being used to direct WMT requests to a standalone Content Engine, then you can configure the Content Engine to support WMT transparent caching. In this case, the standalone Content Engine is acting as a transparent proxy server for clients who are requesting WMT content, and the Content Engine is not visible to these clients. After receiving a transparently redirected WMT request, the Content Engine retrieves the requested content if it is not already stored in its local cache, stores a copy locally whenever possible, and sends the requested content to the requester (client media player).

You can use the Setup utility or the Content Engine CLI to enable and configure WMT transparent caching on a standalone Content Engine that is running ACNS software, Release 5.2 or later. If you use the Setup utility, you can only configure the Content Engine to accept redirected WMT requests from WCCP Version 2 routers, whereas if you use the Content Engine CLI, you can configure the Content Engine to accept redirected WMT requests from Layer 4 switches as well as from WCCP Version 2 routers.

For information about how to use the Setup utility to configure WMT transparent caching on a standalone Content Engine, see the "Using the Setup Utility to Configure a Basic Configuration on a Standalone Content Engine" section. For information about how to configure WMT transparent caching on a standalone Content Engine through the Content Engine CLI, see the "Enabling and Configuring WMT Transparent Caching on Standalone Content Engines" section.

About Live Splitting with WMT

The WMT-enabled Content Engine also supports live splitting. By splitting requests for live streams. A single stream from the origin streaming server is split to serve each client that requested the stream. (See Figure 7-2.) If a WMT client requests a publishing point on a remote streaming server without specifying an ASF file, the Content Engine dynamically creates an alias file that references the remote streaming server. All further requests to that remote streaming server are served by having the Content Engine split the stream and serve it to the WMT clients.

Note that when the first client (Client 1) that requested the original stream disconnects from the network, the Content Engine continues to serve the other clients (Client 2 and Client 3), until all clients disconnect from the network.

Figure 7-2 How a Standalone Content Engine Supports Live Splitting

By having the Content Engine perform the live splitting, you potentially save considerable network bandwidth between the client and the origin streaming server because the Content Engine is closer to the clients.


Note Live splitting is supported for different data packet transport protocols (HTTP, MMST, and MMSU).


About Proxy Authentication for a WMT-Enabled Content Engine

The WMT-enabled Content Engine supports both basic and NTLM authentication by the origin server. When a client requests content that needs user authentication, the Content Engine acts as an agent, conveying the authentication information to and from the client and server to authenticate the client. Once the client is authenticated, the content is streamed as usual. The authentication is performed for both cached content as well as noncached VOD content.

The two types of proxy authentication methods are:

Basic authentication—An authentication scheme in which the server requests the client's identification in the form of an encoded username and password. If the authentication fails, the client is informed accordingly, in which case the client retries or disconnects. If the authentication is successful, then the streaming media is served to the client. This is supported in nontransparent proxy mode (direct proxy routing) as well as transparent proxy mode, over both HTTP and MMS.

Windows NTLM authentication—A connection-based challenge-response authentication scheme. Because the NTLM protocol authenticates every connection, the proxy cannot arbitrarily create new connections with the origin server, and the proxy must reuse connections initiated by the client.

A file is served from the cache only if it is a complete cache hit; that is, the complete file is present on disk. If the file is not a complete hit, then the entire file is fetched from the origin server in the case of NTLM. NTLM authentication is supported in nontransparent proxy mode (direct proxy routing) as well as transparent proxy mode, over both HTTP and MMS. The proxy supports caching and delivery of Digital Rights Management (DRM)-protected Windows Media files. Access control lists (ACLs) enforced by the origin server are automatically enforced by the proxy.


Note Filtering based on user identification is also supported. The proxy only supports authentication by the origin server. Proxy authorization, or authentication of the user to use the proxy, will be supported in a future release. Live streams that are split to clients are also authenticated with the origin server in ACNS software, Release 5.1 or later.


In ACNS software, Release 5.2, pass-through authentication support for WMT requests was added. For more information on this topic, see the "Configuring Pass-Through Authentication for WMT Requests" section.

Configuring WMT Streaming and Caching Services for Standalone Content Engines

This section describes how to configure WMT streaming and caching services for standalone Content Engines. The section covers the following topics:

Guidelines for Configuring WMT Streaming and Caching Services

Configuring WMT Streaming and Caching Services

See Figure 7-3 and Figure 7-4 for a detailed view on how to configure WMT streaming and caching initially for standalone Content Engines. See the Table 7-5 for a checklist of tasks for configuring these services on a standalone Content Engine.

Guidelines for Configuring WMT Streaming and Caching Services

When configuring WMT streaming and caching services with standalone Content Engines, note the following important points:

Windows Media Services 9 Series is a set of streaming solutions for creating, distributing, and playing back digital media files on the Internet. WMT includes the end user application (Windows Media Player 9 Series), the server and distribution application (Windows Media 9 server) and the encoder application (Windows Media Encoder).


Note ACNS software, Release 5.1 or later interoperates with Windows Media Services 9 Series; however the Content Engine does not provide the full functionality of a Windows Media 9 servers, and so cannot fully replace the server in ACNS software 5.1 or 5.2 releases.


If the WMT proxy server fails to serve a request that uses MMS-over-HTTP, the Windows Media Player Version 9 will bypass the proxy and serve the request from the origin server. Previous versions of Windows Media Player (Versions 6.4 and 7.0) did not support this feature. Typically, proxy servers fail to serve a request for one of these reasons:

The requested media file exceeds the configured values in the Content Engine (bandwidth, maximum number of sessions, or maximum bit rate).

The URL fails to comply with the rules or URL filter configured in the Content Engine.

The proxy server is down.

You can use the show statistics wmt requests EXEC command to display WMT request statistics.

About WMT Variable Bit Rate Support

A content provider can create streaming media files at different bit rates to ensure that different clients who have different connections—for example, modem, DSL, or LAN—can choose a particular bit rate. The WMT caching proxy can cache multiple bit rate or variable bit rate (VBR) files, and based on the bit rate specified by the client, it serves the appropriate stream. Another advantage of creating variable bit rate files is that a single URL is all that must be specified for the delivery of streaming media.

Use the wmt max-bitrate global configuration command to set the maximum streaming bit rate that can be delivered to a client that is requesting WMT content. The range of values is between 0 and 2,147,483,647 kilobits per second. The default value is 0 (no bit rate limit).

WMT Proxy Server Requirements

The following are requirements for a standalone Content Engine that will be functioning as a WMT proxy server:

Interoperability is the most important requirement for WMT software components. The WMT proxy server is required to work with all versions of Microsoft Windows Media Player, Windows Microsoft Media Server (MMS), Windows Media Encoder, and third-party Windows Media applications.

In order to support WMT transparent caching, WCCP Version  2 must be running on the standalone Content Engine.

You must configure disk space to include mediafs storage with the disk config command before you can cache streaming media using WMT.

The Content Engine is running ACNS 5.2 or later software.

The mediafs partitions is mounted on the standalone Content Engine. This is the storage partition that is used to store any WMT streaming media content that is cached on the Content Engine.

You have a Microsoft WMT license key. The Microsoft WMT product is licensed software. To enable the licensed WMT product feature on a standalone Content Engine, you must have a WMT license key, which is supplied on a certificate shipped with the Content Engine. For information about how to specify the WMT license key, see the "Enabling WMT on Standalone Content Engines" section.


Note If you are downloading ACNS 5.x software, you can purchase a WMT license though the Cisco.com website.


If the WMT license key is no longer needed on the Content Engine because the WMT licensed product feature is not needed, you can uninstall the WMT license key by entering the no wmt license-key global configuration command. After a license key is uninstalled on one Content Engine, it can be used on another device if that device supports the WMT license key.


Note You must disable the WMT feature using the no wmt enable global configuration command before uninstalling the WMT license key on a standalone Content Engine.


You have the IP address of the standalone Content Engine that will be configured as a WMT proxy server.

You have the IP address of the WCCP Version 2-enabled routers if you want to use transparent WCCP redirection.

Adding or Removing WMT HTTP Allowed Filename Extensions

Content Engines use a list of filename extensions to decide whether a type of media file should be served by WMT. Typically, Content Engines are shipped with a default list of filename extensions to be served by WMT. The default list in the Content Engine contains the following file name extensions: asf, none, nsc, wma, and wmv.


Note The default list of filename extensions includes none in order to enable a Content Engine to serve media files without file extensions (for example, broadcast aliases or URLs of live encoders). The filename extension nsc is included in the list to enable a Content Engine to multicast media files.


Use the wmt http allow extension global configuration command to add filename extensions to this list. Use the no version of this command (no wmt http allow extension) to remove a filename extension from the list.


Note In ACNS 5.2 software, the wmt mms allow extension EXEC command was replaced with the wmt http allow extension EXEC command. The show wmt mms allow extension EXEC command was also replaced with the show wmt http allow extension EXEC command.


The following restrictions apply to adding new file extensions to the list:

You cannot have more than 20 extensions in the list of allowed file extensions.

File extensions must be alphanumeric, and the first character of every extension should be an alphabetic one.

You cannot have more than 10 characters in a file extension.

The following example adds the file extension mp3 to the list of file extensions to be served by WMT:

ContentEngine(config)# wmt http allow extension mp3
ContentEngine(config)#

You can use the show wmt http allow extension EXEC command to see the file extensions included in the list after you add or delete file extensions.


Tip The show wmt http allow extension EXEC command does not display anything if you have not modified the default list.


In the following example of the show wmt http allow extension EXEC command, the default list of file extension has not been modified:

ContentEngine# show wmt http allow extension
ContentEngine#

In the following example of the show wmt http allow extension EXEC command, the file extension mp3 has been added to the list of file extensions:

ContentEngine# show wmt http allow extension
WMT mms extensions allowed :
asf mp3 none nsc wma wmv
ContentEngine(config)#

Configuring WMT Streaming and Caching Services

This section describes how to use the Content Engine CLI to configure WMT streaming and caching services on a standalone Content Engine. Figure 7-3 and Figure 7-4 provide a detailed view on how to configure WMT streaming and caching initially for standalone Content Engines. Table 7-5 provides a checklist of tasks for configuring these services on a standalone Content Engine.

This section also describes how to perform the necessary configuration changes to the client media players (if direct proxy routing is to be used) and the necessary configuration changes to WCCP Version 2 routers (if WMT redirection will be used).


Note The Setup utility allows you to enable WMT on a standalone Content Engine and then configure WMT proxy caching and WMT transparent caching on the Content Engine. With the Setup utility, you can configure the Content Engine to accept redirected WMT requests from a WCCP Version 2 router.

With the Content Engine CLI, you can configure the Content Engine to accept redirected WMT requests from a WCCP Version 2 router or a Layer 4 switch. For information about how to use the Setup utility to configure WMT caching on a standalone Content Engine, see the "Configuring a Basic Configuration on Standalone Content Engines with the Setup Utility" section.


Figure 7-3 Configuring WMT Streaming and Caching Services for Standalone Content Engines (Part 1)

Figure 7-4 Configuring WMT Streaming and Caching Services for Standalone Content Engines (Part 2)

Checklist for Configuring WMT Streaming and Caching Services for Standalone Content Engines

Table 7-5 is a checklist of tasks for configuring WMT streaming and caching services for standalone Content Engines that are running ACNS software, Release 5.2 or later. This checklist includes the steps involved in configuring these services on a standalone Content Engine, as well as how to configure how the WMT requests are routed to this standalone Content Engine.


Note The Setup utility allows you to enable WMT on a standalone Content Engine that is running ACNS software (Release 5.2 or later), and then configure WMT proxy caching and WMT transparent caching on the Content Engine. For information on this topic, see the "Configuring a Basic Configuration on Standalone Content Engines with the Setup Utility" section.


Table 7-5 Checklist for Configuring WMT Streaming and Caching Services for Standalone Content Engines  

Task
Additional Information and Instructions

1. Enable the WMT feature on the standalone
Content Engine.

a. Accept the WMT license agreement.

b. Accept the evaluation WMT license, or
specify your Cisco permanent WMT license.

c. Enable the licensed WMT feature on the standalone Content Engine.

See the "Enabling WMT on Standalone Content Engines" section.

2. Configure one or more of the following
routing methods to direct client requests for
WMT content to this standalone Content Engine:

Direct proxy routing (nontransparent)

Transparent redirection (WCCP Version 2
routing or Layer 4 switching)

With direct proxy routing, the client WMT media players send their requests directly to this Content Engine (nontransparent forward proxy server). With direct proxy routing, you must point the WMT clients directly to the Content Engine, as described in the "Pointing Windows Media Players Directly to a Standalone Content Engine" section.

With WCCP routing or Layer 4 switching, you must configure the WCCP routers or Layer 4 switches and the Content Engine (transparent proxy server) for WMT transparent redirection, as described in the "Configuring WMT Redirection with Standalone Content Engines" section.

3. For direct proxy routing, enable and configure
WMT proxy caching on the Content Engine.

See the "Enabling and Configuring Nontransparent WMT Proxy Caching on Standalone Content Engines" section.

4. For transparent redirection, enable and configure
WMT transparent caching on the Content Engine.

See the "Enabling and Configuring WMT Transparent Caching on Standalone Content Engines" section.

5. Choose which types of WMT streaming content
that this standalone Content Engine will be
distributing to clients:

Video-on-demand (VOD) files

Live WMT streams

For VOD files, see the "Configuring Standalone Content Engines to Distribute WMT VOD Files" section.

For live WMT streams, choose which methods this Content Engine will use to relay live WMT streams to WMT clients:

If multicast out will be used, then to go to task 6.

or

If multicast out will be used, then go to task 7.

6. Configure the Content Engine to relay live content
to WMT clients through multicasting.

See the "Configuring Standalone Content Engines to Multicast Live WMT Streams" section.

7. Configure the Content Engine to relay live content
to WMT clients through unicast.

See the following sections in this chapter:

Configuring Multicast-In Unicast-Out on Standalone Content Engines

Configuring Unicast-In Unicast-Out on Standalone Content Engines


Enabling WMT on Standalone Content Engines

Before enabling licenses for streaming media services on a Content Engine, make sure that your Content Engine clock and calendar settings are correct; otherwise, you will see an error message and the services will fail to install. Use the show clock EXEC command to display the system clock. To set the system clock, use the clock set EXEC command.

To use the Content Engine CLI to enable the Microsoft WMT licensed product feature on a standalone Content Engine, follow these steps:


Step 1 Use the show wmt license-agreement EXEC command to view the WMT license agreement.

ContentEngine# show wmt license-agreement

Step 2 After reading the license agreement, enter global configuration mode and accept the license agreement.

ContentEngine# configure terminal
ContentEngine(config)# wmt accept-license-agreement

Step 3 Enter your Cisco license key for the WMT product.

ContentEngine(config)# wmt license-key licensekey

Alternatively, accept an evaluation WMT license by using the wmt evaluate global configuration command.

ContentEngine(config)# wmt evaluate

Step 4 Turn on the WMT feature on this Content Engine with the wmt enable global configuration command.

ContentEngine(config)# wmt enable


The next step is to choose one or more of the following routing methods to direct client requests for WMT content to this standalone Content Engine:

WCCP routing or Layer 4 switch (WMT transparent redirection)

Direct proxy routing (nontransparent)

With direct proxy routing, the client WMT media players send their requests directly to this Content Engine (acting as a nontransparent forward proxy server). For instructions on how to configure Windows Media Player on the end user desktops to point directly to this Content Engine as their proxy server, see the "Pointing Windows Media Players Directly to a Standalone Content Engine" section.

Configuring WMT Redirection with Standalone Content Engines

With WMT transparent redirection, a WCCP Version 2-enabled router or a Layer 4 switch transparently redirects WMT requests to the Content Engine (acting as a transparent proxy server). WMT transparent redirection is used to support WMT transparent caching on a standalone Content Engine. With WMT transparent redirection, you must configure WMT redirection on the WCCP Version 2-enabled routers or the Layer 4 switch as well as on the standalone Content Engine that will receive these redirected WMT requests.

To configure WMT transparent redirection through WCCP Version 2, you must perform both of these tasks:

Configure WMT redirection on the WCCP Version 2 routers that will support this Windows Media service

Configure WMT redirection on the standalone Content Engine

The following scenario shows how to use the Content Engine CLI to configure redirection of WMT requests through WCCP Version 2.

This scenario assumes that you have enabled the licensed WMT feature on the standalone Content Engine, as described in the "Enabling WMT on Standalone Content Engines" section.


Step 1 Turn on WCCP Version 2 on the router (Router A).

RouterA# configure terminal
RouterA(config)# ip wccp version 2

Step 2 Use the ip wccp global configuration command to turn on the WCCP Version 2 services 81 and 82.

a. Turn on the MMST redirection service on Router A.

RouterA(config)# ip wccp 81

b. Turn on the MMSU redirection service on Router A.

RouterA(config)# ip wccp 82


Note MMS works on two transport protocols: TCP and UDP. To perform WCCP redirection of MMS traffic, the router must redirect both TCP and UDP traffic. You must therefore enable two WCCP Version 2 services on the router: service 81 for TCP (MMST redirection), and service 82 for UDP (MMSU redirection).


Step 3 Use the interface global configuration command to specify an interface on which the MMST and MMSU redirection services will run on Router A.

RouterA(config)# interface type number

The following shows how to configure the outgoing interface to the Internet as Ethernet 0 on Router A.

RouterA(config)# interface Ethernet 0

Step 4 From interface configuration mode on Router A, enable WCCP redirection to service 81 and 82 on the specified router interface (in this case, the outgoing interface).

Specify the inbound or outbound interface for the MMST redirection service (the mmst service [service 81]) and MMSU redirection service (the mmsu service [service 82]).

RouterA(config-if)# ip wccp 81 redirect out
RouterA(config-if)# ip wccp 82 redirect out


Note Although typical router configuration in a branch office scenario involves configuring the outgoing interface, you can also configure the incoming interface on the router for traffic redirection (using the ip wccp service number redirect in interface configuration command). This depends primarily on your network topology.



Step 5 Enable WMT redirection through WCCP on the standalone Content Engine that will be functioning as the transparent proxy server for redirected WMT requests from Router A.

a. Enable WCCP Version 2 on the Content Engine.

ContentEngine(config)# wccp version 2

b. Create the numbered router list that you want to associate with this WCCP Version 2 service.

In the following example, there is one WCCP Version 2-enabled router (Router A) associated with router list 1. Router A has an IP addresses of 172.16.25.25.

ContentEngine(config)# wccp router-list 1 172.16.25.25

c. Enable the router list (router list 1) that you just created in Step b.

ContentEngine(config)# wccp wmt router-list-num 1

Step 6 Turn on transaction logging on the standalone Content Engine.

ContentEngine(config)# transaction-log enable


Tip You can configure standalone Content Engines to log usernames for any authenticated WMT requests. For more information, see the "Enabling the Logging of Usernames to the WMT Transaction Log" section.



Step 7 Save the new configuration on the Content Engine.

ContentEngine# copy running-config startup-config

Step 8 Use the show wmt EXEC command to verify that WMT is now running on the Content Engine.

ContentEngine# show wmt

Step 9 Configure WMT parameters (for example, configure the WMT bandwidth) as needed using CLI commands or the Content Engine GUI.

Step 10 After starting the media player, use the following CLI command to display all WMT statistics:

ContentEngine# show statistics wmt all


Note The WMT statistics relate only to objects transported over MMS that were requested by a WMT client. Objects transported over HTTP are counted in the HTTP statistics.



After configuring the routers and Content Engine to support WMT redirection through WCCP Version 2, enable and configure WMT transparent caching on the Content Engine, as described in the "Enabling and Configuring WMT Transparent Caching on Standalone Content Engines" section.

To enable transparent redirection through a Layer 4 switch instead of through WCCP, enter the following command.

ContentEngine(config)# wmt l4-switch enable

The wmt l4-switch enable global configuration command enables the Content Engine to receive WMT requests that are transparently redirected to it by a Layer 4 switch (for example, a CSS switch). The Layer 4 switch intercepts the client's request for WMT content and transparently redirect that request to the Content Engine (acting as the WMT proxy server).

Enabling and Configuring Nontransparent WMT Proxy Caching on Standalone Content Engines

With direct proxy routing, the client WMT media players send their requests directly to the Content Engine that is acting as a nontransparent forward proxy server. Direct proxy routing is used to support WMT proxy caching on a Content Engine. By default, WMT proxy caching is enabled, and the Content Engine listens for incoming WMT requests from clients on port 1755. With direct proxy routing, you must point the client WMT media players directly to the Content Engine, as described in the "Pointing Windows Media Players Directly to a Standalone Content Engine" section

To use the Content Engine CLI to enable and configure WMT proxy caching on a standalone Content Engine, follow these steps:


Step 1 Use the wmt cache enable global configuration command to enable WMT caching on the standalone Content Engine if it is not already enabled.

ContentEngine(config)# wmt cache enable

Step 2 Use the wmt cache max-obj-size global configuration command to specify the maximum size of a single object that the Content Engine should store in its WMT cache. The range of values is between 1 and 1,000,000 megabytes. The default value is 1024 megabytes.

ContentEngine(config)# wmt cache max-obj-size size

Step 3 Configure the Content Engine to listen for incoming WMT traffic on a specific port (port 1755 is the default).

ContentEngine(config)# wmt incoming portnumber

Step 4 Use the wmt proxy outgoing global configuration command to specify the external WMT server that the Content Engine is to use as an upstream WMT server (the outgoing HTTP proxy server for MMS-over-HTTP, or an MMS outgoing server for MMS). For more information on this topic, see the "Configuring Outgoing WMT Proxy Servers for Standalone Content Engines" section.



Enabling and Configuring WMT Transparent Caching on Standalone Content Engines

With WCCP routing or Layer 4 switching, you must configure the WCCP Version 2-enabled routers or Layer 4 switches and the Content Engine (transparent proxy server) for WMT transparent redirection, as described in the "Configuring WMT Redirection with Standalone Content Engines" section.

To use the Content Engine CLI to enable and configure WMT transparent caching on a standalone Content Engine, follow these steps:


Step 1 Use the wmt cache enable global configuration command to enable WMT caching on the standalone Content Engine if it is not already enabled.

ContentEngine(config)# wmt cache enable

Step 2 Use the wmt cache max-obj-size global configuration command to specify the maximum size of a single object that the Content Engine should store in its WMT cache. The range of values is between 1 and 1,000,000 megabytes. The default value is 1024 megabytes.

ContentEngine(config)# wmt cache max-obj-size size

Step 3 Specify the list of routers from which this Content Engine will accept redirected WMT requests.

ContentEngine(config)# wccp wmt router-list number

Step 4 If you have not yet created a list of routers from which you want this Content Engine to accept redirected WMT requests, then create the router list now:

ContentEngine(config)# wccp router-list number

In the following example, there are two WCCP Version 2-enabled routers associated with router list 1. These routers have the IP addresses 172.16.25.25 and 172.16.26.26.

ContentEngine(config)# wccp router-list 1 172.16.25.25 172.16.26.26

Step 5 If you have not yet enabled the router list (for example, router list 1) that includes the WCCP Version 2-enabled routers that will redirect WMT requests to this Content Engine, then use the wccp wmt router-list num global configuration command to enable it.

ContentEngine(config)# wccp wmt router-list-num number

Step 6 If WCCP Version 2 is not already enabled on the Content Engine, enable it:

ContentEngine(config)# wccp version 2

Step 7 Use the wmt proxy outgoing global command to specify the external WMT server that the Content Engine should use as its upstream WMT server (the outgoing HTTP proxy server for MMS-over-HTTP, or an or MMS outgoing server for MMS).

For more information on this topic, see the next section, "Configuring Outgoing WMT Proxy Servers for Standalone Content Engines."


Configuring Outgoing WMT Proxy Servers for Standalone Content Engines

ACNS 5.x software allows you to specify the external WMT server that the Content Engine should use as its upstream WMT server (outgoing HTTP proxy server for MMS-over-HTTP, or an MMS outgoing server for MMS). The Content Engine contacts the specified HTTP or MMS outgoing proxy server upon a cache miss (that is, if the Content Engine does not have the requested WMT content already stored in its local cache).


Note The MMS protocol can run on top of three different data protocols: MMS-over-TCP (MMST), MMS-over-UDP (MMSU), and MMS-over-HTTP.


You can configure a Content Engine to send all of its MMS cache miss traffic to a specific HTTP or MMS outgoing proxy server without using ICP or WCCP. To configure direct outgoing requests on a standalone Content Engine for all MMS cache miss traffic, use the wmt proxy outgoing global configuration command.

wmt proxy outgoing {http | mms} host {hostname | ip-address} port

where:

http is the keyword for an outgoing MMS-over-HTTP proxy configuration.

mms is the keyword for an outgoing MMS proxy configuration.

host is the keyword for the outgoing proxy server.

hostname is the host name or ip-address is the IP address of the outgoing proxy server.

port is the port number of the outgoing proxy server (the default MMS port is 1755).

In the following example, a Content Engine at a branch office is configured to use MMS-over-HTTP to send all its WMT cache miss traffic to a central Content Engine at 172.16.30.30 through port 8080.

ContentEngine(config)# wmt proxy outgoing http host 172.16.30.30 8080

In the following example, a Content Engine at a branch office is configured to send all its MMS cache miss traffic to a central Content Engine at 172.16.30.31 through port 1700.

ContentEngine(config)# wmt proxy outgoing http host 172.16.30.31 1700

In the following example, a Content Engine at a branch office is configured to use MMS instead of MMS-over-HTTP to send all its MMS cache miss traffic to a central Content Engine at 172.16.30.31 through port 1755.

ContentEngine(config)# wmt proxy outgoing mms host 172.16.30.31 1755

Configuring Standalone Content Engines to Distribute WMT VOD Files

You can preload WMT video-on-demand (VOD) files on the Content Engine for on-demand delivery of these files to WMT clients. VOD caching is similar to HTTP caching; however, VOD files are cached in a different file system (mediafs) on the standalone Content Engine. WMT transparent caches and WMT proxy caches both support VOD caching.

To configure a standalone Content Engine to distribute VOD files to WMT clients, do the following:

1. Preload the VOD files on this Content Engine.

a. Enable content preloading on the Content Engine.

b. Use a preload URL list file to indicate which WMT content is to be preloaded on the Content Engine.

c. Configure bandwidth control for preloading.

d. Schedule or force an immediate preloading of the content.

2. Publish the URLs of the preloaded VOD files that clients can now access through their WMT media players.

For instructions on how to preload files on a standalone Content Engine, see the "Configuring Content Preloading for Standalone Content Engines" section. For information about how you can verify that the preloaded WMT VOD files are being cached and properly distributed to clients, see the next section, "Verifying That Preloading WMT VOD Files Are Cached and Properly Distributed to Clients."

Verifying That Preloading WMT VOD Files Are Cached and Properly Distributed to Clients

This section describes how you can verify that a standalone Content Engine has stored the preloaded VOD files in its WMT cache, and is distributing these VOD files to WMT clients upon request. This scenario assumes the following:

Preloading has been configured on the Content Engine, the preload URL list includes some WMT files, and the Content Engine has completed the preload operation. For more information on this topic, see the "Configuring Content Preloading for Standalone Content Engines" section.

A WMT media player on at least one of your client desktops has been configured to point directly to the Content Engine (the nontransparent forward proxy server for this WMT client). For information on this topic, see the "Pointing Windows Media Players Directly to a Standalone Content Engine" section.

This scenario shows how to point to a VOD source and verify that both WMT proxy caching and WMT transparent caching are working properly on the standalone Content Engine.


Step 1 From one of your client's personal computers (Client A) that is configured to point directly to the Content Engine (nontransparent forward proxy server), launch the WMT media player.

Step 2 From the WMT media player, choose File > Open URL.

Step 3 Enter a URL that points to a WMT streaming file (for example, a *.asf or *.wmv file) that has been preloaded on the Content Engine.

The specified preloaded video should start playing in the WMT media player on the client's desktop.

Step 4 Verify the statistics on the WMT media player by clicking Edit > Statistics Advanced.

The protocol should be shown as MMS (UDP). This indicates that the stream is being delivered in a streaming fashion instead of reverting to HTTP, which occurs if the WMT streaming proxy or WMT server is not available.

Step 5 From another of your client's personal computers (Client B) that is not configured to point directly to the Content Engine, launch the WMT media player.

Step 6 From Client B's desktop, use the WMT media player to replay the same video that you just played from Client A's desktop. In this case, because this media player is not configured to point directly to the Content Engine and WMT redirection through WCCP is configured in this environment, WMT redirection through WCCP Version 2 is used to direct the WMT request to the Content Engine.

Step 7 From any of the WCCP Version 2-enabled routers that are configured to redirect WMT requests to this Content Engine (acting as a transparent proxy server), enter the show ip wccp EXEC command to check that WMT packets are being redirected on that router through the MMST redirection service (the mmst service [service 81]) and the MMSU redirection service (the mmsu service [service 82]).

The following shows how to check the number of WMT packets that were redirected on the router through MMST redirection (service 81):

Router# show ip wccp 81
Global WCCP information:
    	Router information:
        	Router Identifier:                   10.150.1.3
        	Protocol Version:                    2.0

    	Service Identifier: 81
        	Number of Cache Engines:             1
        	Number of routers:                   1
        	Total Packets Redirected:            260
        	Redirect access-list:                -none-
        	Total Packets Denied Redirect:       0
        	Total Packets Unassigned:            0
        	Group access-list:                   -none-
        	Total Messages Denied to Group:      0
        	Total Authentication failures:       0

Step 8 Enter the following show stat wmt EXEC commands on the standalone Content Engine to see the WMT caching statistics for this standalone Content Engine:

ContentEngine# show stat wmt savings
ContentEngine# show stat wmt request
ContentEngine# show stat wmt usage

Step 9 Enter the type-tail EXEC command to check the WMT transaction log on this standalone Content Engine.

ContentEngine# type-tail "/local1/logs/export/working.log"


Displaying WMT Configurations on Standalone Content Engines

To display the current WMT proxy configuration for a standalone Content Engine, use the 
show wmt proxy EXEC command. 
ContentEngine# show wmt proxy
Incoming Proxy-Mode:
Configured proxy mode WMT on port: 1755
WMT Transparent Proxy (WCCP):
  Configured for port: 1755
WMT Transparent Proxy (L4 Switch):
  Not configured.

Outgoing MMS-over-HTTP Proxy-Mode:
  Not configured outgoing MMS-over-HTTP proxy mode.

Outgoing MMS Proxy-Mode:
  Not configured outgoing MMS proxy mode.

To display the current WMT configuration for a standalone Content Engine (including the WMT proxy configuration), use the show wmt EXEC command. As the following sample output shows, information about the WMT bandwidth, Microsoft Media Server (MMS), proxy mode configuration, and WMT license information is displayed. If the license-agreement option is included in the command string, the full text of the WMT license agreement is displayed.

ContentEngine# show wmt
--------- WMT Server Configurations -----------------
WMT version: ce507-001.000

WMT is enabled
WMT disallowed client protocols: none
WMT end user license agreement accepted
WMT license key not installed
WMT evaluation is not enabled
WMT outgoing bandwidth configured is 1 Kbits/sec
WMT incoming bandwidth configured is 15 Kbits/sec
WMT incoming port: 1755
WMT max sessions configured: 1 
WMT max sessions platform limit: 2500 
WMT max sessions enforced: 1 sessions
WMT max outgoing bit rate allowed per stream has no limit
WMT max incoming bit rate allowed per stream has no limit
WMT cache is not enabled
WMT cache max-obj-size: 1024 MB
WMT cache unique-stream-key is enabled
WMT debug level: 0
WMT L4 switch is not enabled
WMT debug client ip not set
WMT debug server ip not set
WMT/REAL cache space partition: wmt 70%, real 30%
wmt multicast station-configuration mcast_station 224.1.1.1 8080 mms://localhost
/media.asf  
wmt multicast schedule-start mcast_station 0 0 1 1
wmt broadcast alias-name wmt source http://abc
wmt broadcast alias-name wmt1 source ftp://mms1*
WMT Stripping ? from Live URL is not enabled
WMT Live-split using streaming engine is enabled
WMT Proxy cache using streaming engine is enabled
WMT fast-start is enabled
WMT fast-start max. bandwidth per player is 3500 (Kbps)
WMT fast-cache is enabled
WMT fast-cache excelleration factor is 5
WMT Extended Transaction Log is not enabled
WMT Transaction Log format is Windows Media Services 4.1 logging

--------- WMT HTTP Configurations --------------------
WMT http extensions allowed: 
asf none nsc wma wmv mpg 

--------- WMT Proxy Configurations ------------------
Incoming Proxy-Mode:
Configured proxy mode WMT on port: 1755
WMT Transparent Proxy (WCCP):
  Configured for port: 1755
WMT Transparent Proxy (L4 Switch):
  Not configured.

Outgoing MMS-over-HTTP Proxy-Mode:
  Not configured outgoing MMS-over-HTTP proxy mode.

Outgoing MMS Proxy-Mode:
  Not configured outgoing MMS proxy mode.

Configuring Fast Start on Standalone Content Engines

The Fast Start feature allows the server to push the beginning portions of a stream to the client at the maximum available bandwidth. This reduces the amount of time that is required to fill the player's internal buffer, and reduces the amount of time that users (the WMT clients) need to wait before they can start to view the stream in their player (Windows Media Player 9 Series).

The Windows Media 4.1 server and Windows Media Player Version 4.1 do not support the Fast Start feature.

A media player must fill its internal buffer (the default is 5 seconds) before it starts rendering the video. For example:

Without the Fast Start feature, if the player's buffer is set to 5 seconds and the stream-encoding bit rate is 100 kbps, the server will send data at 100 kbps. In this case, it takes 5 seconds for the player to fill up the internal buffer. Consequently, it takes 5 seconds before users can view the video in their players.

With the Fast Start feature, the server can push the data at a faster pace (for example, 500 kbps). In this case, it takes only 1 second for the player to fill up its internal buffer and to start rendering the video. Consequently, it takes only 1 second before users can start to view the video in their player.


Note In ACNS 5.2 software, the Fast Start feature is only available for MMS-over-HTTP requests with Windows Media Services Version 9.0. It is not supported for MMS-over-RTSP.


Standalone Content Engines that are running ACNS software, Release 5.2 or later, use the Fast Start feature for preloaded video-on-demand files, cache hits, and live content. This feature is not supported for cache misses and is used only by clients that connect to a unicast stream.

To configure the Fast Start feature on a standalone Content Engine that is running ACNS software, Release 5.2 or later, use the wmt fast-start global configuration command.

wmt fast-start {enable | max-bandwidth number}

Table 7-6 describes the command parameters.

Table 7-6 Parameters for the wmt fast-start CLI Command

Parameter
Description

fast-start

Configures the Fast Start feature.

enable

Enables the Fast Start feature.

max-bandwidth

Maximum amount of bandwidth in kilobits per second (kbps) that a single player can use for accelerated initial buffering of the streaming content.

number

Maximum burst bandwidth allowed per player. The default is 3500.


The increased bandwidth that the Fast Start feature initially uses to send data to the player can overburden a network if many players connect to the stream at the same time. Use the wmt fast-start max-bandwidth option to specify the maximum burst bandwidth allowed for a single WMT client.

Configuring Fast Cache on Standalone Content Engines

With the Fast Cache feature, the stream rendering rate is decoupled from the stream delivery rate on the network. This allows a Windows Media 9 server to send the stream content faster than the client's rendering speed. The extra data is then buffered at the Windows Media Player 9 Series client to allow the player to better withstand fluctuations in network bandwidth later on.


Note In ACNS 5.2 software, the Fast Cache feature is only available in MMS-over-HTTP requests; MMS-over-RTSP is not supported.


A Windows Media 9 server informs a Windows Media Player 9 Series client that it supports the Fast Cache feature. The player then indicates to the server how fast it is for Fast Start and Fast Cache features. When Fast Cache is configured on a Content Engine that is running ACNS software, Release 5.2 or later, the Content Engine uses the smaller value of the following to serve the content to the Windows Media Player 9 Series client:

The bit rate specified in the client request

The maximum delivery rate configured for Fast Cache in the Content Engine

Standalone Content Engines that are running ACNS software, Release 5.2 or later, use the Fast Cache feature for preloaded video-on-demand files and for cache hits. The Fast Cache feature is not supported for cache misses, and is not applicable for the delivery of live content.

To enable the Fast Cache feature on a standalone Content Engine that is running ACNS software, Release 5.2 or later, use the wmt fast-proxy-cache enable global configuration command.

Configuring WMT Bandwidth Settings on Standalone Content Engines

To configure WMT bandwidth settings on standalone Content Engines, use the wmt bandwidth incoming bypass-list global configuration command.

wmt bandwidth incoming bypass-list {ip-address | hostname} [ip-address | hostname]

Table 7-7 describes the command parameters.

Table 7-7 Parameters for the wmt bandwidth incoming bypass-list CLI Command 

Parameter
Description

bandwidth

Configures WMT bandwidth settings on the Content Engine.

incoming

Allows bypassing of incoming bandwidth restrictions for broadcast alias and multicast stations.

bypass-list

Configures a list of up to four Content Engines that will be exempted from checking for incoming bandwidth.

ip-address

IP address of an exempt Content Engine.

hostname

Host name of an exempt Content Engine.


The increased bandwidth that the Fast Start feature initially uses to send data to the Windows Media Player 9 Series client can overburden a network if many players connect to the stream at the same time. Use the wmt fast-start max-bandwidth number global configuration command to specify the maximum burst bandwidth allowed for a single WMT client. For more information, see the "Configuring Fast Start on Standalone Content Engines" section.

Disallowing Specific Client Protocols

To configure standalone Content Engines to disallow specific WMT client protocols for streaming, use the wmt disallowed-client-protocols global configuration command.

wmt disallowed-client-protocols {HTTP | TCP | UDP}

Table 7-8 describes the command parameters.

Table 7-8 Parameters for the wmt disallowed-client-protocols CLI Command 

Parameter
Description

disallowed-client-
protocols

Specifies disallowed WMT client protocols.

HTTP

Disallows MMS-over-HTTP (streaming over http://).

TCP

Disallows MMS-over-TCP (mmst://).

UDP

Disallows MMS-over-UDP (mmsu://).


Configuring Standalone Content Engines to Deliver WMT Live Streams

Based on the capabilities and limitations of the network, standalone Content Engines can receive live WMT streams and then deliver WMT streaming content through multicast out or unicast out. This section describes how to configure standalone Content Engines to deliver WMT live streams, and includes the following sections:

Configuring Standalone Content Engines to Multicast Live WMT Streams

Configuring Standalone Content Engines to Unicast Live WMT Streams

Configuring Standalone Content Engines to Multicast Live WMT Streams

You can configure standalone Content Engines to relay live content to WMT clients through multicasting or unicast. This section describes how to configure standalone Content Engines to relay live content through multicasting, as follows:

Configuring Multicast-In Multicast-Out on Standalone Content Engines

Configuring Unicast-In Multicast-Out on Standalone Content Engines

Defining WMT Multicast Stations and Multicast Schedules on Standalone Content Engines

Starting and Stopping WMT Multicast Stations


Note You must enable WMT on the Content Engine before you can use the wmt multicast and wmt broadcast global configuration commands. See the "Enabling WMT on Standalone Content Engines" section.


Use the wmt multicast {schedule-start name minute hour day month | station-configuration name dest_addr dest_port media_source [play-forever]} command to enable WMT multicasting for unicast-in multicast-out ("Configuring Unicast-In Multicast-Out on Standalone Content Engines" section) and multicast-in multicast-out ("Configuring Multicast-In Multicast-Out on Standalone Content Engines" section) on a standalone Content Engine.


Tip You can also configure WMT multicasting parameters with the Content Engine GUI. Click the WMT Config button to access these parameters.


For information about how to configure standalone Content Engines to relay live content to clients through unicast, see the "Configuring Standalone Content Engines to Unicast Live WMT Streams" section.

Configuring Multicast-In Multicast-Out on Standalone Content Engines

The multicast-in multicast-out multicast receive feature enables you to receive multicast WMT streams delivered through IP multicasting, and then relay them to end users through another delivery channel (unicast or multicast). The two WMT multicast-out features combined enable you to receive and deliver WMT streaming media content through IP multicasting, and to do conversions from multicast to unicast (and vice versa).

In this multicasting scenario, a description file *.nsc is created that is accessible through multicast-out to clients. This is similar to the unicast-in multicast-out scenario except that the input source is multicast. The clients use this description file to subscribe to the multicast.

To configure a standalone Content Engines to use multicast-in multicast-out to relay live WMT streams to WMT clients, follow these steps:


Step 1 Use the wmt multicast station-configuration global configuration command to configure a multicast station on the Content Engine:

where:

station-configuration configures the WMT multicast station on the Content Engine.

name specifies the name of the WMT multicast station.

dest_add is the destination IP address (multicast IP address) of the WMT multicast station.

dest_port is the destination port (1-65535) of the WMT multicast station.

media_source is the media source of the multicast.

In the following example, a multicast station named acme is configured and used by the Content Engine as the multicast source file. Its Class D multicast IP address is 233.33.33.34, and the multicast port is 6667. The multicast stream stops playing once the end of the source.nsc file is reached, unless the play-forever option is specified.

ContentEngine(config)# wmt multicast station-configuration acme 233.33.33.34 
6667 http://172.16.30.31/source.nsc
ContentEngine(config)# 

Step 2 Use the wmt multicast-station start EXEC command to start the multicast.

ContentEngine# wmt multicast-station start acme
ContentEngine# 

Step 3 Open your WMT media player and choose File > Open URL.

Step 4 Enter the following URL:

http://ContentEngineIPaddress/acme.nsc

Step 5 Click OK.

The WMT media player should receive the MMS media file specified in Step 1.


Configuring Unicast-In Multicast-Out on Standalone Content Engines

The Content Engine supports several different sources for a unicast-in multicast-out stream, otherwise known as stream splitting. A unicast input can be from a video-on-demand (VOD) publishing point, a live unicast publishing point, an encoder, or a streaming media source from a local disk. The ASF header obtained from the unicast input and the parameters used to configure the multicast station are used by the Content Engine to automatically create the multicast description.nsc file. The clients use this easily accessible file to subscribe to the multicast.


Tip If a live stream is interrupted on the server side, you must stop the multicast station and then restart the same station to resume live multicasting. Use the wmt multicast-station stop name EXEC command to stop this station. Use the wmt multicast-station start name EXEC command to restart the same station.


The unicast-in multicast-out multicast delivery feature enables you to distribute streaming media efficiently by allowing different devices on the IP multicast to receive a single stream of media content from the Content Engine simultaneously. This can save significant network bandwidth consumption, because a single stream is sent to many devices, rather than sending a single stream to a single device every time that this stream is requested.

This multicast delivery feature is enabled by setting up a multicast address on the Content Engine to which different devices, configured to receive content from the same channel, can subscribe. The delivering device sends content to the multicast address set up at the Content Engine, from which it becomes available to all subscribed receiving devices.

To configure a standalone Content Engines to use unicast-in multicast-out to relay live WMT streams to WMT clients, follow these steps:


Step 1 Use the wmt multicast station-configuration global configuration command to configure a multicast station on the Content Engine:

ContentEngine(config)# wmt multicast station-configuration test1 239.33.33.33 
3333 mms://172.16.30.31/source.asf play-forever
ContentEngine(config)# 

In this example a multicast station named test1 is configured and used by the Content Engine as the multicast source file. Its Class D IP address is 239.33.33.33, and the multicast port is 3333. The play-forever option is used. When the input source.asf file is a VOD file, this option automatically restarts playback of the file from the beginning of the source.asf file once the end of this file has been reached.


Note This source file source.asf can be located on any Windows WMT server.


Step 2 Use the wmt multicast-station EXEC command to start the multicast.

ContentEngine# wmt multicast-station start test1
ContentEngine# 

Step 3 Open your WMT media player and choose File > Open URL.

Step 4 Enter the following URL:

http://ContentEngineIPaddress/test1.nsc

Step 5 Click OK.

The WMT media player should retrieve the multicast description .nsc file and join the multicast station that is specified in Step 1.


Note The use of port 80 is implied in the URL for WMT multicasting, such as http://ContentEngineIPaddress:80/test1.nsc.




Defining WMT Multicast Stations and Multicast Schedules on Standalone Content Engines

To configure a WMT multicast station on a standalone Content Engine, use the wmt multicast station-configuration global configuration command.


Note A multicast station is a defined location (a multicast IP address and multicast port) from which a player can receive streams. This multicast IP address is not related to the IP address of the Content Engine.


The wmt multicast station-configuration name dest_addr dest_port media_source command specifies a multicast station name, a multicast IP address, port number, and media source for the multicast station created. Each WMT multicast station needs a multicast IP address. You must enter a valid Class D IP address multicast address in the range 224.0.0.0 to 239.255.255.255, except for the reserved IP ranges based on RFC 1700 and related documents as follows:

224.0.0.0-224.0.6.255

224.0.13.0-224.0.13.255

224.1.0.0-224.2.255.255

232.0.0.0-232.255.255.255


Note You must choose a multicast IP address that does not conflict internally within the same multicast-enabled network configuration. For a complete table of unusable multicast address ranges, see Table B-8 in the "Unusable Multicast Address Assignments" section.


The destination port of the WMT multicast station is specified by the dest_port option. Valid options are 1 through 65535. However, the multicast-enabled network may impose certain restrictions on your choice of port. Normally, port numbers below 1024 should be avoided, but the Content Engine does not enforce any restrictions.

The media_source option determines the source of the multicast. The source can be any valid WMT URL. In other words, if you can play the URL on your Windows Media Player, then you can make this URL the source of your multicast.

The play-forever option configures the stream to loop and restart. The default is to play the stream once and stop.

For example:

ContentEngine(config)# wmt multicast station-configuration acme 239.33.33.33 
3333 mms://172.16.30.31/source.asf play-forever

where:

The name of the WMT multicast station is acme.

The multicast IP address of the WMT multicast station is 239.33.33.33.

The destination port of the WMT multicast station is 3333.

The source of the multicast is mms://172.16.30.31/source.asf, and it will play forever.

To configure multicasting schedules for WMT multicast stations, use the wmt multicast schedule-start EXEC command. The schedule-start name minute hour day month option creates a scheduling option to allow the Content Engine to start a multicast at a specified time. The wmt multicast schedule-start EXEC command only works if you have configured a multicast station first, using the wmt multicast station-configuration global configuration command.

wmt multicast {schedule-start name minute hour day month |
station-configuration name dest_addr dest_port media_source [play-forever] [unicast-url url] | time-to-live ttl}

Table 7-9 describes the command parameters.

Table 7-9 Parameters for the wmt multicast schedule-start Command 

Parameter
Description

multicast

Configures multicasting and scheduling.

schedule-start

Configures an automatic start schedule.

name

Name of the WMT multicast station for which you are creating the schedule.

minute

Start time minute (0-59).

hour

Start time hour (0-23).

day

Start time day (1-31).

month

Start time month (1-12).

station-configuration

Configures WMT multicast stations on the Content Engine.

name

Name of the WMT multicast station.

dest_addr

Multicast IP address of the WMT multicast station.

dest_port

Multicast port of the WMT multicast station (1-65535).

media_source

Media source of the multicast.

play-forever

(Optional) Configures the stream to loop and restart. The default is to play the stream once and stop.

unicast-url

(Optional) Unicast rollover URL if the station is unable to receive the multicast.

url

Fully qualified unicast rollover URL.

time-to-live

Configures the maximum number of hops needed to reach the Content Engine that functions as the multicast server.

ttl

Number of hops (0-255). The default is 5 hops.


Starting and Stopping WMT Multicast Stations

To start or stop particular WMT multicast stations on a standalone Content Engine, use the wmt multicast-station EXEC command.

wmt {multicast-station {start name | stop name}

Table 7-10 describes the command parameters.

Table 7-10 Starting and Stopping WMT Multicast Stations 

Parameter
Description

multicast-station

Sets the WMT multicast stations to start or stop.

start

Starts a WMT multicast station.

name

Name of the WMT multicast station to be started.

stop

Stops a WMT multicast station.

name

Name of the WMT multicast station to be stopped.


The following examples demonstrate the start and stop options on the multicast station named acme.

ContentEngine# wmt multicast-station start acme
ContentEngine# wmt multicast-station stop acme

Configuring Standalone Content Engines to Unicast Live WMT Streams

You can configure standalone Content Engines to relay live content to WMT clients through multicasting or unicast. This section describes how to configure standalone Content engines to relay live content through unicast, as follows:

Configuring Multicast-In Unicast-Out on Standalone Content Engines

Configuring Unicast-In Unicast-Out on Standalone Content Engines

These sections also describe how to configure a WMT broadcast alias on a standalone Content Engine for unicast-out.

For information about how to configure standalone Content Engines to relay live content to clients through multicasting, see the "Configuring Standalone Content Engines to Multicast Live WMT Streams" section.

Configuring Multicast-In Unicast-Out on Standalone Content Engines

The multicast-in unicast-out feature enables you to create a broadcasting publishing point to deliver an incoming stream live to requesting clients using multicast as the source of the streaming media. Use the wmt broadcast {alias-name name source url} global configuration command to configure a multicast-in unicast-out broadcast on a standalone Content Engine. With this command, you create a broadcasting alias to deliver an incoming stream live to requesting clients, using multicast as the source of the streaming media.

In this scenario, a unicast-out publishing point is created to deliver the incoming stream live to requesting clients.

To configure a standalone Content Engines to use multicast-in unicast-out (unicasting out) to relay live WMT streams to WMT clients, follow these steps


Step 1 Use the wmt broadcast global configuration command to configure a WMT broadcast alias on the Content Engine:

ContentEngine(config)# wmt broadcast alias-name myunicast source 
http://172.16.30.31/station.nsc
ContentEngine(config)# 

In this step a unicast publishing point with the alias name myunicast is configured with a multicast source station.nsc file. This source is a server sending out WMT multicast streams. The source of an alias in the format http://server/file.nsc signals the Content Engine to treat this source as a multicast input source.

Step 2 Open your WMT media player and choose File > Open URL.

Step 3 Enter the following URL:

mms://ContentEngineIPaddress/myunicast

Step 4 Click OK.

The WMT media player should receive the MMS media source file specified in Step 1. Note that in this scenario an MMS URL is used to access the streaming media, and that only the alias name is specified instead of the *.nsc files as in the multicast-out scenarios.

This converts the multicast stream to unicast and sends it to the requester (the WMT client).


Configuring Unicast-In Unicast-Out on Standalone Content Engines

The unicast-in unicast-out feature provides a point-to-point connection between the client and the Content Engine. The advantage of unicasting when streaming media over a network is that only a single stream needs to be pulled over the network between the origin server and Content Engine, but that stream can be delivered to multiple clients in a nonmulticast environment. A server running Windows Media Services can provide a unicast video stream to multiple clients through a single stream delivered to the Content Engine. Unicast-in unicast-out is typically used to broadcast live events.

In this scenario, unicast-in unicast-out provides a point-to-point connection between the client and the Content Engine. The Content Engine in turn makes a single connection to the media server. Multiple requests for the same stream can be split by the Content Engine so that each client receives a distinct data stream directly from the Content Engine, while the Content Engine maintains its single stream connection to the media server.

The two ways to configure unicast-in unicast-out are:

By live splitting without any configuration. In this case, the Content Engine acts as a proxy. When clients request the same unicast URL, the Content Engine proxy automatically splits the stream from the source to the clients.

By configuring the Content Engine with a broadcast alias. In this case, a client makes the request to the Content Engine as if it were the Windows Media Server, and the Content Engine checks to see whether the incoming stream is present. If it is, then the Content Engine joins the stream and splits it to the new client. If the request is the first client request for this stream, the Content Engine sends the request out to the server and then serves it to the new client.

To configure a standalone Content Engine to use unicast-in unicast-out (unicast out) to relay live WMT streams to clients, follow these steps:


Step 1 From the Content Engine GUI, choose Caching > WMT-Streaming. The WMT Streaming window appears.

Step 2 Click WMT Config. The WMT Configurations window opens.

Step 3 Click the Broadcast Unicast Publishing link. The WMT Broadcast Unicast Publishing window appears.

Step 4 In the Alias Name field, enter a broadcast alias for the live broadcast configuration (for example, broadcast1).

Step 5 In the Source field, enter the broadcast source for the live broadcast configuration. using the following format:

<protocol>://server-name:port-num/path/file-name 

where:

protocol is either MMS or HTTP

path is the full path name

port-num is the port number. The default is port 1755.

file-name is a media filename if the file is in the content root directory.

For example:

mms://wms.company.com/cotv

where wms.company.com is the name of the Windows Media Server, and cotv is the name used when the broadcast alias is created. The MMS protocol is used to retrieve the stream.

Step 6 Click Update to save the settings.

Step 7 Open your WMT player and choose File > Open URL. Enter the following URL:

mms://ContentEngineIPaddress/broadcast1

where

ContentEngineIP address is the IP address or domain name of the Content Engine.

broadcast1 is the broadcast alias specified in Step 4.

Step 8 Click OK.

The WMT player should receive the MMS media source file specified in Step 5. Note that in this scenario, an MMS URL is used to access the streaming media, and that only the broadcast alias (for example, broadcast1) is specified instead of the *.nsc files in the multicast-out scenarios. This converts the multicast stream to unicast and sends it to the WMT client.



Configuring the Maximum Number of Concurrent Sessions

To configure the maximum number of unicast clients that a standalone Content Engine can support concurrently, use the wmt max-concurrent-sessions global configuration command.

wmt max-concurrent-sessions number

where:

max-concurrent-sessions is the maximum number of unicast clients that can be supported concurrently.

number specifies the maximum number of incoming unicast requests that the Content Engine should serve concurrently. This limit is subject to physical resources on the Content Engine (1-8000).

Clearing WMT Streams on Standalone Content Engines

Three Content Engine CLI commands allow you to clear WMT streams on a standalone Content Engine. Table 7-11 describes these three commands.

Table 7-11 CLI Commands for Clearing WMT Streams on Standalone Content Engines 

Command
Description

clear wmt incoming

Clears all incoming WMT streams from the Content Engine. Also stops all of the Content Engine's WMT processes that are associated with incoming WMT streams.

clear wmt outgoing

Clears all outgoing WMT streams from the Content Engine. Also stops all of the Content Engine's WMT processes that are associated with the outgoing WMT streams.

clear wmt stream-id id

Clears the WMT streams that have the specified stream ID. Also stops the Content Engine's WMT process that is associated with the specified stream ID.


In ACNS 5.2 software, the error logs were enhanced to log an error message when WMT streams are cleared and the associated processes are stopped on the Content Engine. For more information, see the "Logging the Clearing of WMT Streams on Standalone Content Engines" section.

Using WMT Multicast Logging

WMT logs are logged to a working log on the local disk in one of the following files, depending upon where the sysfs is mounted on the Content Engine:

The file named /local1/logs/export/working.log

The file named /local2/logs/export/working.log

Use the log option of the wmt multicast station-configuration global configuration command to provide a log of multicast statistics to multicast server administrators. These statistics include the multicast IP address, port number, start time, and number of clients, among other things. When configuring this option, you have the choice to provide either a local URL where the multicast logging statistics can be sent, or an external fully qualified server URL that can receive these statistics. In other words, the multicast logging URL option can point to the multicast server itself or to any web server that is capable of processing the posted information from the users who subscribed to the multicast address.

wmt multicast {station-configuration name dest_addr dest_port media_source  
[log {local | webserver webserver_url}]} 

where:

name is the name of the WMT multicast station.

dest_addr is the WMT multicast station destination IP address.

dest_port is the WMT multicast station destination port (1-65535).

media_source is the WMT multicast media source (for example, http:/live/live).

log enables logging of multicast URLs.

local configures logging of multicast URLs to a local disk.

webserver configures logging of multicast URLs to a web server. Enter the URL to identify the location of the web server.

webserver_url specifies the fully qualified webserver URL.

The following example displays the multicast logging statistics sent to the multicast server.

10.1.101.2 2003-05-11 13:39:21 - asfm://233.0.4.5:4000 0 30 1 200 
{5DC90EEB-CEB1-467C-9F7A-BCF5EEEDE3FF} 10.1.0.3055 en-US - - wmplayer.exe 10.1.0.3055 
Windows_2000 10.0.0.2195 Pentium 0 152543 65389 asfm UDP WINDOWS_MEDIA_AUDIO_V2 
MICROSOFT_MPEG-4_VIDEO_CODEC_V3 http://172.16.192.91/cisco.nsc - 166245 - 176 0 0 0 0 0 01 
0 100 233.0.4.5 - - -

The format of the example shown is as follows:

c-ip date time c-dns cs-uri-stem c-starttime x-duration c-rate c-status c-playerid 
c-playerversion c-playerlanguage cs(User-Agent) cs(Referer) c-hostexe c-hostexever c-os 
c-osversion c-cpu filelength filesize avgbandwidth protocol transport audiocodec 
videocodec channelURL sc-bytes c-bytes s-pkts-sent c-pkts-received c-pkts-lost-client 
c-pkts-lost-net c-pkts-lost-cont-net c-resendreqs c-pkts-recovered-ECC 
c-pkts-recovered-resent c-buffercount c-totalbuffertime c-quality s-ip s-dns 
s-totalclients s-cpu-util CE-action CE-bytes Username

Table 7-12 describes the fields shown in this example.

Table 7-12 wmt multicast logging Field Descriptions 

Field
Descriptions

c-ip

IP address of the client computer. A client that is not connected properly provides a
client proxy server IP address, not the client IP address.

date

Date (according to Greenwich mean time) when an entry is generated in the log file.

time

Time (according to Greenwich mean time) when an entry is generated in the log file.

c-dns

DNS name of the client computer.

cs-uri-stem

Name of the file that is playing, an .asf file for unicast and an .asx file for multicast.

c-startime

Time stamp (in seconds) of the stream when an entry is generated in the log file.

x-duration

Length of time a client played content before a client event (fast forward [FF],
rewind [REW], pause, stop, or jump to marker). A log entry is generated whenever
one of these client events occurs.

c-rate

Mode of Windows Media Player when the last command event was sent.

1 = Windows Media Player was paused or stopped during a play, fast-forward, rewind,
or marker jump operation.

-5 = Windows Media Player was rewound from a play, stop, or pause operation.

5 = Windows Media Player was fast-forwarded from a play, stop, or pause operation.

c-status

Codes that describe client status. Mapped to HTTP/1.1 and RTSP client status codes
described in Request for Comments (RFC) 2068 and RFC 2326. Windows Media Services
includes the extensible client status codes 480 (simultaneous client connections exceeded
the maximum client limit of the server) and 483 (stream exceeded maximum file
bit rate limit of the server).

c-playerid

Globally unique identifier (GUID) of the player.

c-playerversion

Version number of the player.

c-playerlanguage

Language country code of the client computer.

cs(User-Agent)

Browser type used if Windows Media Player was embedded in a browser.

cs(Referer)

URL of the web page in which Windows Media Player was embedded (if it was embedded).

c-hostexe

Host application; for example, a web page in a browser (iexplore.exe), a Microsoft
Visual Basic applet (vb.exe), or standalone Microsoft Windows Media Player (mplayer2.exe).

c-hostexever

Host application version number.

c-os

Operating system of the client computer.

c-osversion

Operating system version number of the client computer.

c-cpu

CPU type of the client computer.

filelength

Length of the file (in seconds). This value is 0 for a live stream.

filesize

Size of the file (in bytes). This value is 0 for a live stream.

avgbandwidth

Average bandwidth (in bits per second) at which the client was connected to the server.

protocol

Protocol used to access the stream: MMS, HTTP, or ASFM (multicast protocol).

transport

Transport protocol used to deliver the stream (UDP, TCP, or UDP over IP multicast).

audiocodec

Audio codec used in the stream.

videocodec

Video codec used to encode the stream.

channelURL

URL to the .nsc file. A unicast client information log file records a dash (-) for this field.

sc-bytes

Bytes sent by the server to the client.

c-bytes

Number of bytes received by the client from the server. For unicast, the c-bytes value and sc-bytes value must be identical. If not, packet loss has occurred.

s-pkts-sent

Total number of packets sent by the server.

c-pkts-received

Number of packets from the server (s-pkts-send) that are received correctly by the client on the first try.

c-pkts-lost-client

Number of packets lost during transmission from server to client and not recovered at the client layer through error correction or at the network layer through User Datagram Protocol (UDP) resends.

c-pkts-lost-net

Number of packets lost on the network layer.

c-pkts-lost-cont-net

Maximum number of continuously lost packets on the network layer during transmission
from server to client.

c-resendreq

Number of client requests to receive new packets. This field contains a value only if the client is using UDP resend.

c-pkts-recovered-ECC

Number of packets repaired and recovered on the client layer. Packets repaired and recovered at the client layer are equal to the difference between c-pkts-lost-net and c-pkts-lost-client.

c-pkts-recovered-
resent

Number of packets recovered because they were resent using UDP.

c-buffercount

Number of times the client buffered while playing the stream.

c-totalbuffertime

Time (in seconds) the client used to buffer the stream. If the client buffers the stream more than once before a log entry is generated, c-totalbuffertime is the total amount of time the client spent buffering the stream.

c-quality

The percentage of packets that were received by the client, indicating the quality of the stream.

If cPacketsRendered is all packets received by the client, including packets recovered by error correction and UDP resend (c-pkts-received + c-pkts-recovered-ECC + c-pkts-recovered-resent), then c-quality can be calculated as: [cPacketsRendered / (cPacketsRendered + c-pkts-lost-client)] * 100.

s-ip

Server IP address.

s-dns

Server DNS.

s-totalclients

Clients connected to the server (but not necessarily receiving streams).

s-cpu-util

Average load on the server processor as a percentage (0-100%). If multiple processors exist, this value is the average for all processors.

CE-action

Action performed by the Content Engine (for example, cache hit or cache miss).

CE-bytes

Number of bytes received by the Content Engine.

Username

Username required to access the streaming media retrieved by the WMT player.


Using WMT Transaction Logging with Standalone Content Engines

For certain companies, streaming media is a source of revenue and therefore needs to be tracked closely. Because these companies charge their customers to stream on-demand content and live broadcasts, they must rely on logged information to track what content a particular customer viewed, how long they viewed it, and the viewing quality. Consequently, the accuracy and reliability of transaction logging is very important to these companies.

The Windows Media Services 9 Series provides a more robust logging model than Windows Media Services Version 4.1. In ACNS 5.2 software, support for Windows Media Services 9 logging was added.

In ACNS 5.2 software, the following logging formats are supported for WMT transaction logging:

Standard Windows Media Services 4.1

Extended Windows Media Services 4.1

Standard Windows Media Services 9.0

Extended Windows Media Services 9.0


Note In ACNS software, Release 5.1 and earlier, only the standard Windows Media Services 4.1 and the extended Windows Media Services 4.1 logging formats were supported.


The extended versions of the logging formats are extensions to the standard logging format and contain additional fields that are Content-Engine specific (for example, the CE-action field that specifies whether it was a cache hit or miss, and the CE-bytes field that specifies the number of bytes that were sent out from the Content Engine.

The Content Engine's transaction logging format for WMT streaming is consistent with that of the Windows Media Services and the World Wide Web Consortium (W3C)-compliant log format. A log line is written for every stream accessed by the client. The location of the log is not configurable. These logs can be exported using FTP. When transaction logging is enabled, daemons create a separate working.log file in /local1/logs/export for WMT transactions.

All client information in the transaction logs is sent to the origin server by default.

Log Formats Accepted by Windows Media Services 9

Windows Media Players connect to a Windows Media server using the following protocols:

Windows Media Players earlier than Version 9.0 use HTTP 1.0 or the MMS protocol.

Windows Media Player Version 9.0 uses HTTP 1.1 and RTSP.

Depending on the version of the Windows Media Player, logs are sent in different formats, such as text, binary, or Extensible Markup Language (XML). See Table 7-13.

Table 7-13 Log Formats Accepted by Windows Media Services 9 

Protocol
Player and Distributor
Log Type

HTTP/1.0

Windows Media Player earlier than Version 9.0

Content Engine (caching and proxy server) is running Windows Media Services Version 9.0 and streaming from a WMT server that is running Windows Media Services 4.1

World Wide Web Consortium (W3C) standard space-delimited text log

MMS

Windows Media Player earlier than Version 9.0

Binary structure log

HTTP/1.1

Windows Media Player Version 9.0

Distribution server is running Windows Media Services 9.0

Content Engine (caching and proxy server) is running Windows Media Services 9.0

XML structure log

RTSP

Windows Media Player Version 9.0

Distribution server is running Windows Media Services 9.0

Content Engine (caching and proxy server) is running Windows Media Services 9.0

XML structure log


In ACNS 5.2 software, support for Extensible Markup Language (XML) logging for MMS-over-HTTP was added. The posted XML log file from the Windows Media Player to the Content Engine (Windows Media server) can be parsed and saved to the normal WMT transaction logs that are stored on the Content Engine. MMS-over-RTPS (RTSP over Windows Media Services 9) is currently not supported in ACNS software.

Specifying the Format of the WMT Transaction Logs on Standalone Content Engines

In ACNS 5.2 software, the wmt transaction-logs format global configuration command was added.

ContentEngine(config)# wmt transaction-logs format ?
  extended  WMT extended transaction log configuration
  wms-41    Windows Media Services 4.1 logging
  wms-90    Windows Media Services 9.0 logging

To specify the format for the WMT transaction logs on standalone Content Engines, use the wmt transaction-logs format global configuration command. By default, the standard Windows Media Services 4.1 logging format is used (no Content Engine-specific details are logged).

wmt transaction-logs format {extended {wms-41 | wms-90} | wms-41 | wms-90}

Table 7-14 describes the command parameters.

Table 7-14 Parameters for the wmt transaction-logs format CLI Command 

Parameter
Description

transaction-logs

Configures the logging format of the WMT transaction logs.

format

Sets the format for WMT transaction logs.

extended

Specifies the WMT extended format for transaction logs. Enables username logging in the
WMT transaction log.

wms-4

Sets WMT to generate transaction logs in extended Windows Media Services 4.1 format.

When this option is used, the Content Engine uses the standard Windows Media Services 4.1 format to generate the transaction log but also includes the following three additional fields
in the transaction log:

CE_action (cache hit or cache miss)

CE-bytes (number of bytes sent from the Content Engine for a cache hit)

username (username of the person who made the WMT request when Microsoft NL LAN Manager (NTLM) authentication, Microsoft Negotiate authentication, Microsoft Digest authentication, and basic authentication are used)

Note Microsoft Negotiate authentication is an authentication method in which the WMS Negotiate Authentication plug-in is used to authenticate the client. this method of authentication uses the client's logon credentials. It uses the encrypted password and username that the user entered during the login process.

Microsoft Digest authentication is an authentication method in which an initial authentication of the client is performed when the server receives the first challenge response from the client. After the server verifies that the client has not been authenticated yet, it accesses the services of a domain controller (DC) to perform the initial authentication of the client. When the initial authentication of the client is successfully completed, the server receives a Digest session key. The server caches the session key and uses it to authenticate subsequent requests for resources from the authenticated client.

wms-90

Sets WMT to generate transaction logs in extended Windows Media Services 9 format.

When this option is used, the Content Engine uses the standard Windows Media Services  9 format to generate the transaction log but also includes the following three additional fields in the transaction log:

CE_action (cache hit or cache miss)

CE-bytes (number of bytes sent from the Content  Engine for a cache hit)

username (username of the person who made the WMT request when NTLM authentication, Microsoft Negotiate authentication, Microsoft Digest authentication, and basic authentication are used)

wms-41

Sets WMT to generate transaction logs in the standard Windows Media Services 4.1 format.

wms-90

Sets WMT to generate transaction logs in the standard Windows Media Services 9 format.


In order to log the username to the WMT transaction log, you must enable the extended WMT logging feature on the Content Engine by entering the wmt extended transaction-log enable global configuration command. For more information, see the next section, "Enabling the Logging of Usernames to the WMT Transaction Log."

Enabling the Logging of Usernames to the WMT Transaction Log

If the Content Engine is configured to use the extended format of WMT transaction logging and the extended WMT logging feature is enabled, then the Content Engine logs usernames for any authenticated WMT requests. Usernames are logged not only for NTLM authentication but also for Negotiate, Digest, and basic authentication.


Note Negotiate and Digest authentication is applicable only for the HTTP protocol and not for the MMS protocol.


By default, the extended WMT logging feature is disabled. If the extended logging format is enabled (using the wmt transaction-logs format extended global configuration command) but the extended WMT logging feature is disabled, the username field in the WMT transaction log will be empty.

To enable the logging of usernames for any authenticated WMT request on standalone Content Engines, follow these steps:


Step 1 Use the wmt transaction-logs format extended global configuration command to configure the Content Engine to use the extended Windows Media Services 4.1 or Windows Media Services 9 format for transaction logging. For more information, see the "Specifying the Format of the WMT Transaction Logs on Standalone Content Engines" section.

Step 2 Use the wmt extended transaction-log enable global configuration command to enable the Content Engine to log the usernames for any authenticated WMT request.

Content Engine(config)# wmt extended transaction-log enable


Using WMT Error Logging with Standalone Content Engines

In ACNS 5.2 software, WMT error logging was enhanced. More information is now logged about the following events:

When a WMT client is abruptly disconnected

When any WMT streams are cleared on the Content Engine

Error logs are in the same format and location as syslogs. The WMT log messages are logged to /local1/errolog/wmt_errorlog.current.

You can configure the Content Engine for WMT error logging by using the debug wmt error EXEC command. This command debugs WMT level 1 functionality.

ContentEngine# debug wmt error ?
  client-ip  Debug request from a specific client
  server-ip  Debug request to a specific server

where:

client-ip cl-ip-address debugs the request from a specific client IP address to level 1 (show error).

server-ip sv-ip-address debugs the request from a specific server IP address to level 1 (show error).

There is also a debug wmt trace EXEC command that debugs WMT level 2 functionality (show error and trace). Content Engine performance is affected when you run the debug wmt trace command. Consequently, we recommend that the debug wmt trace command be used only at the direction of Cisco Systems technical support personnel.

Logging WMT Client Disconnects

When a WMT client is disconnected abruptly, the following information is logged in ACNS software error logs:

Reasons for the client disconnect (for example, the request was blocked by the rules, the maximum incoming or outgoing bit rate limit was reached, the maximum incoming or outgoing bandwidth limit was reached).

Client information (for example, client IP address, server IP address, the requested URL, client protocol, version of the client media player, the number of packets that the client received, and the number of packets that the server sent).

Logging the Clearing of WMT Streams on Standalone Content Engines

In ACNS 5.2 software, the error logs were enhanced to log a message when WMT streams are cleared and the associated processes are stopped on the Content Engine.

See Table 7-11 for a description of the Content Engine CLI commands, which you can use to clear WMT streams on a standalone Content Engine and which result in a message being sent to the error logs.