Cisco ACNS Software Command Reference, Release 5.1
Chapter 2: Cisco ACNS Software Commands

Table Of Contents

Cisco ACNS Software Commands

access-lists

acquirer

acquirer

acquisition-distribution

asset

authentication

auto-register

autosense

bandwidth

bandwidth

bitrate

bypass

cache

cd

cdm

cdnfs

cdp

cdp

cfs

channel

channel-group

clear

clock

clock

cms

cms

configure

copy

cpfile

debug

delfile

deltree

device

dir

disable

disk

distribution

dns

dns-cache

dnslookup

enable

end

error-handling

exception

exec-timeout

exit

external-ip

find-pattern

ftp

full-duplex

gui-server

half-duplex

help

hostname

http

http custom-error-page

https

https

https server

icap

icap service

icp

inetd

install

interface

ip

ip

ip access-group

ip access-list

kernel

ldap

lls

logging

ls

mediafs-division

mkdir

mkfile

mode

mtu

multicast

multicast connectivity-test

.network-filesystem client

network-filesystem server

no

no

ntlm

ntp

ntpdate

offline-operation

pace

ping

port-channel

pre-load

pre-load force

primary-interface

proxy-auto-config

proxy-auto-config

proxy-protocols

pwd

radius-server

reload

rename

restore

rmdir

rtsp

rtsp

rule

show access-lists

show acquirer

show arp

show authentication

show auto-register

show bandwidth

show bypass

show cdnfs

show cdn-statistics

show cdp

show cfs

show clock

show cms

show content-routing

show debugging

show device-mode

show disks

show distribution

show dns

show dns-cache

show error-handling

show flash

show ftp

show gui-server

show hardware

show hosts

show http

show http-authcache

show https

show icp

show inetd

show interface

show ip access-lists

show ip routes

show ldap

show logging

show mediafs

show memory

show multicast

show network-filesystem

show ntlm

show ntp

show pac-file-server

show pre-load

show processes

show proxy-auto-config

show proxy-protocols

show radius-server

show rtsp

show rule

show running-config

show services

show snmp

show ssh

show standby

show startup-config

show statistics access-lists 300

show statistics acquirer

show statistics authentication

show statistics bypass

show statistics cdnfs

show statistics cfs

show statistics content-routing

show statistics distribution

show statistics dns-cache

show statistics ftp

show statistics http

show statistics http-authcache

show statistics https

show statistics icmp

show statistics icp

show statistics ip

show statistics ldap

show statistics mediafs

show statistics netstat

show statistics ntlm

show statistics pac-file-server

show statistics pre-load

show statistics radius

show statistics replication

show statistics rtsp

show statistics rule

show statistics services

show statistics snmp

show statistics streamstat

show statistics tacacs

show statistics tcp

show statistics transaction-logs

show statistics tvout

show statistics udp

show statistics url-filter

show statistics wmt

show sysfs

show tacacs

show tcp

show tech-support

show telnet

show tftp-server

show transaction-logging

show tvout

show url-filter

show user

show users

show version

show wccp

show websense-server

show wmt

shutdown

snmp-server access-list

snmp-server community

snmp-server contact

snmp-server enable traps

snmp-server group

snmp-server host

snmp-server location

snmp-server mib

snmp-server notify inform

snmp-server user

snmp-server view

speed

sshd

ssh-key-generate

standby

tacacs

tcp

tcpdump

telnet enable

terminal

tftp-server

traceroute

transaction-log force

transaction-logs

tvout

type

type-tail

undebug

url-filter

url-filter

username

wccp custom-web-cache

wccp dns

wccp flow-redirect

wccp ftp

wccp home-router

wccp https-cache

wccp port-list

wccp reverse-proxy

wccp router-list

wccp rtsp

wccp service-number

wccp shutdown

wccp slow-start

wccp spoof-client-ip

wccp version

wccp web-cache

wccp wmt

websense-server

whoami

wmt

wmt

write

show radius-server


Cisco ACNS Software Commands


This chapter contains an alphabetical listing of all the commands in Cisco ACNS 5.1 software. The ACNS software CLI is organized into the following command modes:

EXEC mode—For setting, viewing, and testing system operations. It is divided into two access levels, user and privileged. To use the privileged access level, enter the enable command at the user access level prompt and then enter the privileged EXEC password when you see the password prompt.

Global configuration mode—For setting, viewing, and testing configuration of ACNS software features for the entire device. To use this mode, enter the configure command from privileged EXEC mode.

Interface configuration mode—For setting, viewing, and testing the configuration of a specific interface. To use this mode, enter the interface command from global configuration mode.

Other configuration modes—A number of configuration modes are available from the global configuration mode for managing specific features. The commands used to access these modes are marked with an asterisk (*) in Table 2-1.

See "Command-Line Interface Command Summary," for a complete discussion of using CLI command modes.

Table 2-1 summarizes the ACNS commands and indicates the command mode for each command. The commands used to access configuration modes are marked with an asterisk (*) in Table 2-1. EXEC both indicates that the command is available from either user EXEC or privileged EXEC mode. The same command may have different effects when entered in a different command mode, and for this reason they are listed and documented separately. In Table 2-1, when the first occurrence is entered in EXEC mode, the second occurrence is entered in global configuration mode. When the first occurrence is entered in global configuration mode, the second occurrence is entered in interface configuration mode.

The ACNS software device mode determines whether the ACNS device is functioning as a Content Engine, Content Distribution Manager, Content Router, or IP/TV Program Manager. The commands available from a specific CLI mode are determined by the ACNS device mode in effect. Table 2-1 also indicates the device mode for each command. All indicates that the command is available for every device mode.

When viewing this guide online, click the name of the command in the left column of the table to jump to the command page, which provides the command syntax, examples, and usage guidelines.

Table 2-1 CLI Commands 

Command
Description
CLI Mode
Device Mode

access-lists

Configures access control list entries.

Global configuration

Content Engine

acquirer

Configures the content acquirer.

EXEC privileged

Content Engine

acquirer

Enables authentication when the acquirer obtains content through a proxy server.

Global configuration

Content Engine

acquisition-distribution

Starts and stops the acquisition and distribution database cleanup process and the content acquisition and distribution process.

EXEC privileged

Content Engine

asset

Configures the asset tag name string.

Global configuration

All

authentication

Configures authentication parameters.

Global configuration

All

auto-register

Enables discovery of a Fast Ethernet or Gigabit Ethernet interface device and its automatic registration with the Content Distribution Manager through DHCP.

Global configuration

Content Engine, Content Router

autosense

Sets the current interface to autosense.

Interface configuration

All

bandwidth

Sets allowable bandwidth usage and its duration for Cisco Streaming Engine, RealProxy, RealServer, and WMT streaming media.

Global configuration

Content Engine

bandwidth

Sets the specified interface bandwidth to 10, 100, or 1000 Mbps.

Interface configuration

All

bitrate

Configures the maximum pacing bit rate for large files sent using HTTP and configures WMT bit rate settings.

Global configuration

Content Engine, Content Router

bypass

Configures bypass functions.

Global configuration

Content Engine

cache

Specifies cache commands.

EXEC privileged

All

cd

Changes the directory.

EXEC both

All

cdm

Configures Content Distribution Manager IP address and primary or standby role settings.

Global configuration

All

cdnfs

Manages the ACNS network file system (cdnfs).

EXEC privileged

All

cdp

Enables the Cisco Discovery Protocol (CDP) for the ACNS network device.

Global configuration

All

cdp

Enables Cisco Discovery Protocol (CDP) on an interface.

Interface configuration

All

cfs

Partitions the cache file system.

EXEC privileged

All

channel

Assigns, creates, deletes, adds, modifies, or otherwise configures a channel.

EXEC both

Content Distribution Manager

channel-group

Adds the current interface to an EtherChannel group.

Interface configuration

All

clear

Resets counters and other specified functions.

EXEC privileged

All

clock

Manages the system clock.

EXEC privileged

All

clock

Sets summer daylight saving time of day and time zone.

Global configuration

All

cms

Configures the Centralized Management System (CMS) embedded database parameters.

EXEC privileged

All

cms

Schedules maintenance and enables the Centralized Management System on a given node.

Global configuration

All

*configure

Enters configuration mode from privileged EXEC mode.

EXEC privileged

All

copy

Copies configuration or image files to and from CD-ROM, flash memory, disk, or remote hosts.

EXEC privileged

All

cpfile

Copies a file.

EXEC both

All

debug

Configures debugging options.

EXEC privileged

All

delfile

Deletes a file.

EXEC both

All

deltree

Deletes a directory and its subdirectories.

EXEC both

All

device

Configures mode of operation on a device.

Global configuration

All

dir

Displays files in long list format.

EXEC both

All

disable

Turns off privileged EXEC commands.

EXEC privileged

All

disk

Allocates disk space among the cdnfs, cfs, mediafs, and sysfs file systems.

EXEC privileged

All

distribution

Reschedules and refreshes content redistribution through multicast for all channels, or a specified channel ID or name.

EXEC privileged

Content Engine, Content Router

dns

Configures the Content Engine's memory-based DNS cache.

Global configuration

Content Engine, Content Distribution Manager

dns-cache

Configures the maximum web proxy DNS cache size.

Global configuration

Content Engine, Content Router

dnslookup

Resolves a host name (DNS).

EXEC both

All

*enable

Accesses privileged EXEC commands.

EXEC user

All

end

Exits configuration and privileged EXEC modes.

Global configuration

All

error-handling

Customizes how the Content Engine handles errors.

Global configuration

Content Engine, Content Router

exception

Enables exception debug mode.

Global configuration

Content Engine, Content Router

exec-timeout

Configures the length of time that an inactive Telnet session remains open.

Global configuration

All

exit

Exits from interface, global configuration, or privileged EXEC modes.

All

All

external-ip

Configures up to a maximum of 8 external IP addresses.

Global configuration

All

find-pattern

Searches for a particular pattern in a file.

EXEC privileged

All

ftp

Configures FTP caching services.

Global configuration

Content Engine, Content Router

full-duplex

Sets the current interface to full-duplex mode.

Interface configuration

All

gui-server

Configures and enables the Content Engine GUI server.

Global configuration

Content Engine, Content Distribution Manager

half-duplex

Sets the current interface to half-duplex mode.

Interface configuration

All

help

Provides assistance for the command-line interface.

EXEC both and global configuration

All

hostname

Configures the Content Engine network name.

Global configuration

All

http

Configures HTTP-related parameters.

Global configuration

Content Engine, Content Router

http custom-error-page

Displays custom HTTP error messages.

EXEC both

Content Engine

https

Creates, removes, and imports certificates and private keys when the Content Engine is used as an HTTPS server.

EXEC privileged

Content Engine, Content Router

https

Configures HTTPS-related parameters.

Global configuration

Content Engine, Content Router

*https server

Enables HTTPS caching and allows a Content Engine to act as an origin HTTPS server. Provides access to the HTTPS configuration mode.

Global configuration

Content Engine, Content Router

icap

Enables the Internet Content Adaptation Protocol for supporting third-party software applications and plug-ins.

Global configuration

Content Engine

*icap service

Configures ICAP service configurations. Provides access to the ICAP service configuration mode.

Goal configuration

Content Engine

icp

Configures Internet Cache Protocol parameters.

Global configuration

Content Engine

inetd

Enables TCP/IP TFP, RCP, and TFTP services.

Global configuration

All

install

Installs a new version of the caching application.

EXEC privileged

All

*interface

Configures a Fast Ethernet, Fibre Channel, Gigabit Ethernet, or Port Channel interface. Provides access to interface configuration mode.

Global configuration

All

ip

Configures the Internet Protocol.

Global configuration

All

ip

Configures the IP address, subnet mask, or DHCP IP address negotiation on the Content Engine interface.

Interface configuration

All

ip access-group

Controls connections on a specific interface by applying a predefined access list.

Interface configuration

Content Engine

*ip access-list

Creates and modifies access lists for controlling access to interfaces or applications. Provides access to ACL configuration mode.

Global configuration

Content Engine

kernel

Enables the kernel debugger configuration mode.

Global configuration

All

ldap

Configures LDAP server parameters.

Global configuration

Content Engine

lls

Displays files in long list format.

EXEC both

All

logging

Configures system logging (syslog).

Global configuration

All

ls

Lists files and subdirectories in a directory.

EXEC both

All

mediafs-division

Configures the media file system space allocation for the WMT and RealProxy cache.

Global configuration

Content Engine

mkdir

Makes a directory.

EXEC both

All

mkfile

Makes a file (for testing).

EXEC both

All

mode

Sets the Fibre Channel interface operation mode.

Interface configuration

All

mtu

Sets the interface Maximum Transmission Unit packet size.

Interface configuration

All

multicast

Configures multicast client license and delay timing options.

Global configuration

Content Engine

multicast connectivity-test

Generates multicast packets and tests connectivity through multicast routers.

EXEC both

Content Engine, Content Router

.network-filesystem client

Extends Content Engine storage to remote disk drives with the Common Internet File System (CIFS) or Network File System (NFS) protocols.

Global configuration

Content Engine

network-filesystem server

Enables the use of a Windows file server with the Content Engine.

Global configuration

Content Engine

no

Negates a global configuration command or sets its defaults.

Global configuration

All

no

Negates an interface command or sets its defaults.

Interface configuration

All

ntlm

Configures NTLM NT server parameters.

Global configuration

Content Engine

ntp

Configures the Network Time Protocol server.

Global configuration

All

ntpdate

Sets the NTP server name.

EXEC privileged

All

offline-operation

Enables offline operation if external network links are disrupted.

Global configuration

Content Engine, Content Router

pace

Configures the HTTP bandwidth and bit rate pacing controls.

Global configuration

Content Engine

ping

Sends echo packets.

EXEC both

All

port-channel

Configures the Port Channel load-balancing options.

Global configuration

All

pre-load

Configures the Content Engine to fetch and preload content.

Global configuration

Content Engine

pre-load force

Forces a preload operation.

EXEC privileged

All

primary-interface

Configures a primary interface for the ACNS network to be a Fast Ethernet, Gigabit Ethernet, or Port Channel interface.

Global configuration

All

proxy-auto-config

Downloads the proxy automatic configuration file from an FTP server.

EXEC privileged

Content Engine

proxy-auto-config

Enables the browser automatic configuration feature.

Global configuration

Content Engine

proxy-protocols

Configures proxy protocols-related parameters.

Global configuration

Content Engine

pwd

Displays the present working directory.

EXEC both

All

radius-server

Configures RADIUS authentication.

Global configuration

All

reload

Halts a device and performs a cold restart.

EXEC privileged

All

rename

Renames a file.

EXEC both

All

restore

Restores a device to its manufactured default status.

EXEC privileged

All

rmdir

Removes a directory.

EXEC both

All

rtsp

Restores RealProxy or RealSubscriber to its default configuration.

EXEC privileged

All

rtsp

Configures Real-Time Streaming Protocol-related parameters.

Global configuration

Content Engine, Content Router

rule

Sets the rules by which the Content Engine filters HTTP, HTTPS, MMS, and RTSP traffic.

Global configuration

Content Engine

show

Displays running system information.

EXEC both

All

show access-lists

Displays access control list configuration.

EXEC both

Content Engine

show acquirer

Displays the acquirer channel information and progress for a specified channel number or name.

EXEC both

Content Engine

show arp

Displays Address Resolution Protocol entries.

EXEC both

All

show authentication

Displays authentication configuration.

EXEC both

All

show auto-register

Displays the automatic registration status of a Content Engine or Content Router.

EXEC both

Content Engine, Content Router

show bandwidth

Displays bandwidth allocated to a particular device.

EXEC both

Content Engine, Content Router

show bypass

Displays Content Engine bypass configuration.

EXEC both

Content Engine

show cdnfs

Displays ACNS network file system information.

EXEC both

Content Engine, Content Distribution Manager

show cdn-statistics

Displays statistical data about Content Engines and device groups.

EXEC both

Content Distribution Manager

show cdp

Displays Cisco Discovery Protocol  configuration.

EXEC both

All

show cfs

Displays cache file system status.

EXEC both

Content Engine, Content Distribution Manager

show clock

Displays the system clock.

EXEC both

All

show cms

Displays Centralized Management System protocol, embedded database content, maintenance status, and other information.

EXEC both

All

show content-routing

Displays the Content Router simplified hybrid routing table.

EXEC both

Content Router

show debugging

Displays the state of each debugging option.

EXEC both

All

show device-mode

Displays the configured or current mode of a Content Distribution Manager, Content Engine, or Content Router device.

EXEC both

All

show disks

Displays disk configurations.

EXEC both

All

show distribution

Displays the distribution information for a specified channel.

EXEC both

Content Engine

show dns

Displays the DNS cache status as well as the memory allocated to cache use.

EXEC both

Content Engine, Content Router

show dns-cache

Displays DNS cache information.

EXEC both

Content Engine, Content Router

show error-handling

Displays error-handling configuration.

EXEC both

Content Engine, Content Router

show flash

Displays flash memory information.

EXEC both

All

show ftp

Displays FTP caching-related configuration.

EXEC both

Content Engine, Content Router

show gui-server

Displays the Content Engine graphical user interface (GUI) server configuration.

EXEC both

Content Engine, Content Distribution Manager

show hardware

Displays system hardware information.

EXEC both

All

show hosts

Displays IP domain name, name servers, IP addresses, and host table.

EXEC both

All

show http

Displays HTTP-related caching configuration.

EXEC both

Content Engine

show http-authcache

Displays authentication cache.

EXEC both

Content Engine

show https

Displays HTTPS-related parameters.

EXEC both

Content Engine

show icp

Displays Internet Cache Protocol information.

EXEC both

Content Engine

show inetd

Displays the status of TCP/IP services.

EXEC both

All

show interface

Displays hardware interface information.

EXEC both

All

show ip access-lists

Displays information about access lists that are defined and applied to specific interfaces or applications.

EXEC both

Content Engine

show ip routes

Displays the IP routing table.

EXEC both

All

show ldap

Displays LDAP parameters.

EXEC both

Content Engine

show logging

Displays system logging configuration.

EXEC both

All

show mediafs

Displays media file system (mediafs) information.

EXEC both

Content Engine

show memory

Displays memory blocks and statistics.

EXEC both

All

show multicast

Displays multicast configuration and license parameters.

EXEC both

Content Engine

show network-filesystem

Displays the status of network-attached storage (NAS) devices or file servers,

EXEC both

Content Engine

show ntlm

Displays NTLM parameters.

EXEC both

Content Engine

show ntp

Displays the Network Time Protocol configuration status.

EXEC both

All

show pac-file-server

Displays information regarding the dynamic proxy autoconfig file server.

EXEC both

Content Engine

show pre-load

Displays preload configuration.

EXEC both

Content Engine

show processes

Displays process status.

EXEC both

All

show proxy-auto-config

Displays the state of the browser automatic configuration feature.

EXEC both

Content Engine

show proxy-protocols

Displays proxy protocols parameters.

EXEC both

Content Engine

show radius-server

Displays RADIUS server information.

EXEC both

All

show rtsp

Displays RTSP configurations.

EXEC both

Content Engine

show rule

Displays the Rules Template configuration information.

EXEC both

Content Engine

show running-config

Displays the current operating configuration.

EXEC both

All

show services

Displays services-related information.

EXEC both

All

show snmp

Displays SNMP parameters.

EXEC both

All

show ssh

Displays Secure Shell status and configuration.

EXEC both

All

show standby

Displays information related to the standby interface.

EXEC both

All

show startup-config

Displays the startup configuration.

EXEC both

All

show statistics access-lists 300

Displays access control list statistics.

EXEC both

Content Engine

show statistics acquirer

Displays Content Engine acquirer channel statistics.

EXEC both

Content Engine

show statistics authentication

Displays authentication statistics.

EXEC both

Content Engine

show statistics bypass

Displays Content Engine bypass statistics.

EXEC both

Content Engine

show statistics cdnfs

Displays Content Engine ACNS network file system statistics.

EXEC both

Content Engine, Content Distribution Manager

show statistics cfs

Displays cache file system statistics.

EXEC both

Content Engine

show statistics content-routing

Displays simplified hybrid content routing statistics.

EXEC both

Content Router

show statistics distribution

Displays simplified statistics for content distribution components.

EXEC both

Content Engine

show statistics dns-cache

Displays DNS caching statistics.

EXEC both

Content Router

show statistics ftp

Displays File Transfer Protocol statistics.

EXEC both

Content Engine

show statistics http

Displays Hypertext Transfer Protocol statistics.

EXEC both

Content Engine, Content Router

show statistics http-authcache

Displays HTTP cache authentication statistics.

EXEC both

Content Engine

show statistics https

Displays HTTPS statistics.

EXEC both

Content Engine

show statistics icmp

Displays Internet Control Message Protocol statistics.

EXEC both

All

show statistics icp

Displays Internet Cache Protocol statistics.

EXEC both

Content Engine

show statistics ip

Displays Internet Protocol statistics.

EXEC both

All

show statistics ldap

Displays Lightweight Directory Access Protocol statistics.

EXEC both

Content Engine, Content Distribution Manager

show statistics mediafs

Displays media file system statistics.

EXEC both

Content Engine, Content Router

show statistics netstat

Displays Internet socket connection statistics.

EXEC both

All

show statistics ntlm

Displays Windows NT LAN Manager statistics.

EXEC both

Content Engine

show statistics pac-file-server

Displays statistics for the dynamic proxy autoconfig file server.

EXEC both

Content Engine

show statistics pre-load

Displays preloaded URL list statistics.

EXEC both

Content Engine

show statistics radius

Displays RADIUS authentication statistics.

EXEC both

All

show statistics replication

Displays channel replication status and related statistical data.

EXEC both

Content Engine, Content Distribution Manager

show statistics rtsp

Displays Real-Time Streaming Protocol statistics.

EXEC both

Content Engine

show statistics rule

Displays rule statistics.

EXEC both

Content Engine

show statistics services

Displays services statistics.

EXEC both

All

show statistics snmp

Displays SNMP statistics.

EXEC both

All

show statistics streamstat

Displays Windows Media Technologies streaming connection statistics.

EXEC both

Content Engine

show statistics tacacs

Displays TACACS+ authentication and authorization statistics.

EXEC both

All

show statistics tcp

Displays Transmission Control Protocol statistics.

EXEC both

All

show statistics transaction-logs

Displays transaction log export statistics.

EXEC both

Content Engine

show statistics tvout

Displays Content Engine TV output statistics.

EXEC both

Content Engine

show statistics udp

Displays User Datagram Protocol statistics.

EXEC both

All

show statistics url-filter

Displays URL filtering statistics for HTTP, RTSP, and WMT.

EXEC both

Content Engine

show statistics wmt

Displays Windows Media Technologies statistics.

EXEC both

Content Engine

show sysfs

Displays system file system information.

EXEC both

All

show tacacs

Displays TACACS+ configuration.

EXEC both

All

show tcp

Displays TCP configuration.

EXEC both

All

show tech-support

Displays system information for Cisco technical support.

EXEC both

All

show telnet

Displays Telnet services configuration.

EXEC both

All

show tftp-server

Displays Trivial File Transfer Protocol (TFTP) server configuration.

EXEC both

All

show transaction-logging

Displays transaction logging information.

EXEC both

Content Engine

show tvout

Displays TV output information.

EXEC both

Content Engine

show url-filter

Displays URL filter configurations.

EXEC both

Content Engine

show user

Displays user identification number and username information.

EXEC both

All

show users

Displays specified users.

EXEC both

All

show version

Displays software version.

EXEC both

All

show wccp

Displays WCCP information.

EXEC both

Content Engine

show websense-server

Displays URL filtering statistics for the local Websense server.

EXEC both

Content Engine, Content Router

show wmt

Displays WMT configuration.

EXEC both

Content Engine

shutdown

Shuts down the specified interface.

Interface configuration

All

snmp-server access-list

Configures an access control list to allow access through an SNMP agent.

Global configuration

All

snmp-server community

Enables SNMP; sets community string and optionally names group and enables read-write access with the community string.

Global configuration

All

snmp-server contact

Specifies the text for the MIB object sysContact.

Global configuration

All

snmp-server enable traps

Enables SNMP traps.

Global configuration

All

snmp-server group

Defines a user security model group.

Global configuration

All

snmp-server host

Specifies hosts to receive SNMP traps.

Global configuration

All

snmp-server location

Specifies path for MIB object sysLocation.

Global configuration

All

snmp-server mib

Configures persistence for the SNMP Event MIB.

Global configuration

All

snmp-server notify inform

Configures the SNMP inform request.

Global configuration

All

snmp-server user

Defines a user who can access the SNMP engine.

Global configuration

All

snmp-server view

Defines a Version 2 SNMP (SNMPv2) MIB view.

Global configuration

All

speed

Sets the Fibre Channel interface speed.

Interface configuration

All

sshd

Configures SSH service parameters.

Global configuration

All

ssh-key-generate

Generates a Secure Shell (SSH) host key.

Global configuration

All

standby

Configures an interface to be a backup for another interface.

Interface configuration

All

tacacs

Enables and configures TACACS+ authentication parameters.

Global configuration

All

tcp

Configures TCP parameters.

Global configuration

All

tcpdump

Dumps TCP traffic on the network.

EXEC privileged

All

telnet enable

Enables Telnet services.

Global configuration

All

terminal

Sets terminal output commands.

EXEC both

All

tftp-server

Sets the Trivial File Transfer Protocol server directory.

Global configuration

All

traceroute

Traces the route to a remote host.

EXEC both

All

transaction-log force

Forces archiving of the working log file to make a transaction log file.

EXEC privileged

All

transaction-logs

Configures and enables transaction logging parameters.

Global configuration

Content Engine

tvout

Enables and configures TV output service.

Global configuration

Content Engine

type

Displays a file.

EXEC both

All

type-tail

Displays the last several lines of a file.

EXEC both

All

undebug

Disables debugging functions (see also debug).

EXEC privileged

All

url-filter

Reloads new local good site or bad site lists for HTTP, RTSP, or WMT when URL filtering is enabled.

EXEC privileged

All

url-filter

Configures and enables URL filtering over HTTP, RTSP, or WMT.

Global configuration

Content Engine

username

Establishes username authentication.

Global configuration

All

wccp custom-web-cache

Configures the custom web caching service.

Global configuration

Content Engine

wccp dns

Enables interception and redirection of DNS packets to a boomerang server.

Global configuration

Content Engine, Content Router

wccp flow-redirect

Enables WCCP flow redirection.

Global configuration

Content Engine

wccp ftp

Enables or disables transparent interception of FTP traffic with WCCP Version 2.

Global configuration

Content Engine, Content Router

wccp home-router

Specifies a WCCP Version 1 home router IP address.

Global configuration

Content Engine

wccp https-cache

Enables WCCP flow redirection to a Content Engine configured as an HTTPS server.

Global configuration

Content Engine, Content Router

wccp port-list

Associates ports with specific WCCP Version 2 dynamic services.

Global configuration

Content Engine

wccp reverse-proxy

Configures WCCP Version 2 reverse proxy web caching service.

Global configuration

Content Engine

wccp router-list

Creates a router list for use in WCCP Version 2 services.

Global configuration

Content Engine

wccp rtsp

Configures WCCP Version 2 RTSP protocol transparent interception.

Global configuration

Content Engine

wccp service-number

Enables WCCP Version 2 redirection services.

Global configuration

Content Engine

wccp shutdown

Sets the maximum time interval after which the Content Engine will perform a clean shutdown.

Global configuration

Content Engine

wccp slow-start

Enables slow start capability.

Global configuration

Content Engine

wccp spoof-client-ip

Uses the client IP address while connecting to the origin server.

Global configuration

Content Engine

wccp version

Specifies the WCCP version number.

Global configuration

Content Engine

wccp web-cache

Configures the standard web cache service.

Global configuration

Content Engine

wccp wmt

Configures the web cache service to run with WCCP and Windows Media Technologies (WMT).

Global configuration

Content Engine

websense-server

Enables the use of a Websense HTTP URL filtering plug-in a Content Engine.

Global configuration

Content Engine, Content Router

whoami

Displays the current user's name.

EXEC both

All

wmt

Starts and stops the named WMT multicast stations.

EXEC privileged

All

wmt

Configures WMT.

Global configuration

Content Engine

write

Writes or erases startup configurations to NVRAM or to a terminal session, or writes the MIB persistence configuration to disk.

EXEC privileged

All


access-lists

To configure access control list entries, use the access-lists command in global configuration mode.

access-lists {300 {deny groupname {any [position number] | groupname [position number]}} | {permit groupname {any [position number] | groupname [position number]}} | enable}

no access-lists {300 {deny groupname {any [position number] | groupname [position number]}}| {permit groupname {any [position number] | groupname [position number]}} | enable}

Syntax Description

300

Group name-based access control list (ACL).

deny

Specifies rejection action.

groupname

Specifies name of user's group.

any

Specifies any group name.

position

Specifies the position of the access control list record within the access list.

number

Position number within the access control list (1-4294967294).

groupname

Name of user's group.

permit

Specifies permission action.

enable

Enables access control list.


Defaults

No default behaviors or values

Command Modes

Global configuration

Usage Guidelines

In ACNS 5.x software, you can configure group authorization using an access control list (ACL) only after a user has been authenticated against an NTLM or LDAP HTTP-request authentication server. The use of this list configures a group privilege when members of the group are accessing content provided by the Content Engine. Using the ACL allows or prevents users belonging to certain groups from viewing specific content. This authorization feature offers more granular access control by specifying that access is only allowed to specific groups.

Use the access-lists enable global configuration command to enable the use of the ACL.

Use the access-lists 300 command to permit or deny a group from accessing the Internet using the Content Engine. For instance, use the access-lists 300 deny groupname marketing command to prevent any user from the marketing group from accessing content through the Content Engine.

At least one login authentication method, such as local, TACACS+, or RADIUS, must be enabled.


Note We recommend that the local login authentication method be configured as the primary method.


In ACNS 5.x software, the access control list contains the following feature enhancements and limitations:

A user can belong to several groups.

A user can belong to an unlimited number of groups within groupname strings.

A groupname string is a case-sensitive string with mixed-case alphanumeric characteristics.

Each unique groupname string cannot exceed 128 characters.


Note If the unique groupname string is longer than 128 characters, the group is ignored.


Group names in a groupname string are separated by a comma.

The total string of individual group names cannot exceed 750 characters.

Examples

In this example, you can display the configuration of the access control list by using the show access-lists 300 command.

ContentEngine# show access-lists 300 
Access Control List Configuration
  ---------------------------------
    Access Control List is enabled

    Groupname-based List (300)
    1.  permit  groupname techpubs                        
    2.  permit  groupname acme1                           
    3.  permit  groupname engineering                     
    4.  permit  groupname sales                           
    5.  permit  groupname marketing
    6.  deny groupname any

To display statistical information for the access control list, use the show statistics access-lists 300 command.

ContentEngine# show statistics access-lists 300 
    Access Control Lists Statistics         
    -----------------------------------------
      Groupname and username-based List (300)
        Number of requests:         1
        Number of deny responses:   0
        Number of permit responses: 1

To reset the statistical information for the access control list, use the clear statistics access-lists 300 command.

ContentEngine# clear statistics access-lists 300
ContentEngine(config)# access-lists 300 permit groupname acme1 position 2

Related Commands

show access-lists 300

show statistics access-list 300

acquirer

To start or stop content acquisition on a specified acquirer channel, use the acquirer EXEC command. You can also use this command to verify and correct the Last-Modified-Time attribute in content acquired using ACNS software before Release 5.1.

acquirer {check-time-for-old-content [channel-id channel-num | channel-name channel-name] [correct [channel-id channel-num | channel-name channel-name]] | start-channel {channel-id channel-num | channel-name channel-name} | stop-channel {channel-id channel-num | channel-name channel-name} | test-url url}

Syntax Description

check-time-for-old-content

Checks content for Last-Modified-Time attributes in local time format.

channel-id

(Optional) Sets channel number identifier.

channel-num

(Optional) Channel number (0-4294967295).

channel-name

(Optional) Sets channel name descriptor.

channel-name

(Optional) Channel name.

correct

(Optional) Changes Last-Modified-Time attributes in local time format to Greenwich mean time (GMT) format.

start-channel

Starts content acquisition.

channel-id

Sets channel number identifier.

channel-num

Channel number (0-4294967295).

channel-name

Sets channel name descriptor.

channel-name

Channel name.

stop-channel

Stops content acquisition.

test-url

Tests the accessibility of a URL, using HTTP, HTTPS, FTP, or MMS.

url

URL to be tested.


Defaults

If you do not specify the channel, this command applies to all channels assigned to the root Content Engine.

Command Modes

EXEC

Usage Guidelines

The acquirer is a software agent that gathers channel content before it is distributed to the receiver Content Engines in an ACNS network. The acquirer maintains a task list, which it updates after receiving a notification of changes in its channel configuration.

In ACNS software Release 5.0.1 and earlier, the acquirer stored the Last-Modified-Time attribute in local time format. As a result, content acquired using Release 5.0.1 or earlier software has a Last-Modified-Time attribute that is incorrect if used with later versions of the ACNS software, which use GMT format. Content downloaded after you upgrade to Release 5.0.3 and later releases has a Last-Modified-Time attribute in the correct GMT format.

When using Release 5.0.3 and later releases, you must correct the Last-Modified-Time attributes for content acquired with earlier releases by entering the following command from the privileged EXEC prompt:

acquirer check-time-for-old-content correct [channel-id channel-num channel-name channel-name]

This command changes the Last-Modified-Time attributes for content in all channels assigned to the root Content Engine unless you specify the channel ID or name.

Content Engines running ACNS software, Release 5.1 identify changes in the Last-Modified-Time attribute and download content only when changes have occurred.

Use the acquirer start-channel command to immediately start acquisition tasks for the selected channel. Use the acquirer stop-channel command to immediately stop all acquisition tasks for the selected channel.

Use the acquirer test-url url EXEC command to test whether a URL is accessible or not. The actual content is dumped into the path /dev/null. For testing MMS over HTTP, use mms-http:// in the URL.

Examples

In this example, the acquirer starts acquiring content on channel 86.

ContentEngine# acquirer start-channel channel-id 86

ContentEngine# acquirer start-channel channel-name corporate

In this example, the acquirer stops acquiring content on channel 86.

ContentEngine# acquirer stop-channel channel-id 86

ContentEngine# acquirer stop-channel channel-name corporate

In this example, the acquirer test-url command is used to test a URL.

ContentEngine# acquirer test-url http://172.16.150.26
--05:16:41--  http://10.107.150.26 
           => `/dev/null' 
Connecting to 10.107.150.26:80... connected. 
HTTP request sent, awaiting response... 200 OK 
Length: 1,722 [text/html] 

100%[====================================>] 1,722          1.64M/s    ETA 00:00 

02:45:40 (1.64 MB/s) - `/dev/null' saved [1722/1722]

In the following example, the protocol used to test a URL is MMS over HTTP:

ContentEngine# acquirer test-url mms-http://192.168.150.76/DCARoot/ColorBars1_100k.wmv
Acquiring stream: http://192.168.150.76/DCARoot/ColorBars1_100k.wmv
This can take as long as the duration of the stream. Please wait...
...
Stream acquired successfully.

Related Commands

show acquirer

show statistics acquirer

acquirer

To provide authentication when the acquirer obtains content through a proxy server, use the acquirer global configuration command.

acquirer proxy authentication {outgoing ip-address port-num | transparent} username [[password password] [ntlm domain [basic-auth-disable]]

Syntax Description

proxy authentication

Enables authentication so the acquirer can obtain content through a proxy server.

outgoing

Enables authentication for a nontransparent proxy server.

ip-address

Specifies the IP address of a nontransparent proxy server.

port-num

Specifies the port number of a nontransparent proxy server (1-65535).

transparent

Enables authentication for a transparent WCCP proxy server.

username

Specifies the user name for authentication using a maximum of 256 characters.

password

Allows the use of a password for authentication.

password

Specifies the password for authentication using a maximum of 256 characters.

ntlm

Allows authentication with NTLM.

domain

Specifies the NTLM domain name for authentication using a maximum of 256 characters.

basic-auth-disable

Prevents access through basic authentication.


Defaults

No default behaviors or values

Command Modes

Global configuration

Usage Guidelines

Use the acquirer proxy authentication outgoing global configuration command to configure authentication when you enable content acquisition through a proxy server. You must first configure the proxy host and the port using the http proxy outgoing host global configuration command. The maximum number of outgoing proxies allowed is eight. When you remove an outgoing proxy using the no http outgoing proxy command, the authentication information associated with that proxy is automatically removed.

Use the acquirer proxy authentication transparent command for transparent caches in the ACNS network that require authentication.

The acquirer supports proxy with basic or NTLM authentication.Content acquisition through a proxy server is supported only for HTTP and not for HTTPS or FTP. Also, authentication is only supported for a single proxy server in a chain, so if multiple proxy servers in a chain require authentication, the request will fail.

Examples

The following example shows the authentication configuration for a nontransparent proxy server with NTLM authentication:

ContentEngine# acquirer proxy authentication outgoing 192.168.1.1 8080 myname password 
password ntlm mydomain basic-auth-disable

The following example shows the authentication configuration for a transparent proxy server with basic authentication:

ContentEngine# acquirer proxy authentication transparent 192.168.1.1 8080 myname

Related Commands

show acquirer

http proxy outgoing

acquisition-distribution

To start or stop the content acquisition and distribution process, use the acquisition-distribution EXEC command.

acquisition-distribution {database-cleanup {start | stop} | start | stop}

Syntax Description

database-cleanup

Cleans up the acquisition and distribution database to maintain consistency with the file system.

start

Starts the acquisition and distribution database cleanup process.

stop

Stops the acquisition and distribution database cleanup process.


Defaults

No default behaviors or values

Command Modes

EXEC

Examples

The following example starts the acquisition and distribution database cleanup process.

ContentEngine# acquisition-distribution database-cleanup start

The following example starts the acquisition and distribution process.

ContentEngine# acquisition-distribution start

The following example stops the acquisition and distribution process.

ContentEngine# acquisition-distribution stop

Related Commands

show acquirer

show distribution

asset

To set the tag name for the asset tag string, use the asset command in global configuration mode.

asset tag name

no asset tag name

Syntax Description

name

Asset tag name string.


Defaults

No default behaviors or values

Command Modes

Global configuration

Examples

ContentEngine(config)# asset tag entitymib

authentication

To specify authentication and authorization methods, use the authentication command in global configuration mode. Use the no form of this command to selectively disable options.

authentication {configuration {local | radius | tacacs} enable [primary | secondary | tertiary] | login {local | radius | tacacs} enable [primary | secondary | tertiary] | fail-over server-unreachable}

no authentication {configuration {local | radius | tacacs} enable [primary | secondary | tertiary] | login {local | radius | tacacs} enable [primary | secondary | tertiary] | fail-over server-unreachable}

Syntax Description

configuration

Specifies the source of authorization information.

login

Specifies the source of authentication information.

local

Selects the local database for authentication or authorization.

radius

Selects a RADIUS server for authentication or authorization.

tacacs

Selects a TACACS+ server for authentication or authorization.

enable

Enables the source of authorization information.

primary

(Optional) Sets the first authentication method used.

secondary

(Optional) Sets the second authentication method used.

tertiary

(Optional) Sets the third authentication method used.

fail-over server-unreachable

Forces authentication using the primary authentication method unless that is not available, in which case the local database is used.


Defaults

The local authentication method is enabled by default.

Command Modes

Global configuration

Usage Guidelines

Authentication, also referred to as "login," is the act of verifying usernames and passwords. Authorization, or "configuration," refers to the setting of privileges for authenticated users in a network. Generally, authentication precedes authorization in a network.

The authentication command configures both the authentication and authorization methods that govern login and configuration access to the Content Engine. Login and configuration privileges can be maintained in three different databases in ACNS 5.x software: the local database, TACACS+ database, and RADIUS database. If all databases are enabled, then all three databases are queried. If the user data cannot be found in the first database queried, then the second and third databases are queried.

The authentication login command determines whether the user has any level of permission to access the Content Engine. The authentication configuration command authorizes the user with privileged access (configuration access) to the Content Engine.

The authentication login local and the authentication configuration local commands use a local database for authentication and authorization.

The authentication login tacacs and authentication configuration tacacs commands use a remote TACACS+ server to determine the level of user access.

The TACACS+ database validates users before they gain access to a Content Engine. TACACS+ is derived from the United States Department of Defense (RFC 1492) and is used by Cisco Systems as an additional control of nonprivileged and privileged mode access. ACNS 5.1 software supports TACACS+ only and not TACACS or Extended TACACS.

To configure TACACS+, use the authentication and tacacs commands. To enable TACACS+, use the tacacs enable command.

For more information on TACACS+ authentication, see the "tacacs" section.


Note The tacacs global configuration command and a TACACS+ server must be configured to use the TACACS+ authentication and authorization method.


The authentication login radius and authentication configuration radius commands use a remote RADIUS server to determine the level of user access.


Note The radius-server global configuration command and a RADIUS server must be configured to use the RADIUS authentication and authorization method.


By default, the local method is enabled, with TACACS+ and RADIUS both disabled for login and configuration. Whenever TACACS+ and RADIUS are disabled, local is automatically enabled. TACACS+, RADIUS, and local methods can be enabled at the same time. The primary option specifies the first method to attempt for both login and configuration; the secondary option specifies the method to use if the primary method fails. The tertiary option specifies the method to use if both primary and secondary methods fail. If all methods of an authentication login or authentication configuration command are configured as primary, or all as secondary or tertiary, local is attempted first, then TACACS+, and then RADIUS.

The following example enables local, TACACS+, and RADIUS authentication and authorization, setting TACACS+ as the first method used, local as the secondary method if the TACACS+ method fails, and RADIUS as the tertiary method to use if both local and TACACS+ fail.

ContentEngine(config)# authentication login tacacs enable primary
ContentEngine(config)# authentication login local enable secondary
ContentEngine(config)# authentication login radius enable tertiary
ContentEngine(config)# authentication configuration tacacs enable primary
ContentEngine(config)# authentication configuration local enable secondary
ContentEngine(config)# authentication configuration radius enable tertiary

This is an example of the show authentication user command:

ContentEngine# show authentication user
Login Authentication:         Console/Telnet Session
----------------------------- -----------------------
local                         enabled (secondary)
radius                        disabled
tacacs                        enabled (primary)

Configuration Authentication: Console/Telnet Session
----------------------------- -----------------------
local                         enabled (secondary)
radius                        disabled
tacacs                        enabled (primary)
Configuration Authentication: Console/Telnet Session
----------------------------- -----------------------
local                         enabled (secondary)
radius                        enabled (tertiary)
tacacs                        enabled (primary)

Enforcing Authentication with the Primary Method

The fail-over server-unreachable option enforces authentication using the primary authentication method unless that is not available, in which case the local database is used. This prevents users from accessing content with credentials from the local database unless the primary authentication method is unavailable.

HTTP Request Authentication

The ACNS 5.1 software caching services support TACACS+, Microsoft NT LAN Manager (NTLM), Lightweight Directory Access Protocol (LDAP), and RADIUS server HTTP request authentication. NTLM authentication from an HTTP request authenticates a user's domain, username, and password with a preconfigured primary domain controller (PDC) before allowing requests from the user to be served by the Content Engine.

TACACS+ Request Authentication

The TACACS+ database also validates users during an HTTP request authentication. TACACS+ provides both authentication and authorization options. To configure TACACS+, use the authentication and tacacs commands. To enable TACACS+, use the tacacs enable command.

For more information on TACACS+ authentication, see the "tacacs" section.

NTLM HTTP Request Authentication

The NTLM protocol can be used to authenticate and block user access to the Internet. When a user logs in to a Windows NT or a Windows 2000 domain and starts a browser, the authentication information is stored by the browser and later used as NTLM credentials to access the Internet. The browser sends the NTLM credentials with the domain name to the ACNS cache, which in turns sends a request to the Windows NT domain controller to check the validity of the user in the domain. If the user is not a valid user in the domain, then the request to access the Internet is denied. If authentication succeeds, the source IP address is entered in the authentication cache. Future requests from this IP address are not challenged until the authentication cache entry expires, or is cleared. For more information on NTLM authentication, see the "ntlm" section.


Note In the case of HTTP request authentication, ACNS 5.x software supports only NTLM Version 1.


RADIUS HTTP Request Authentication

RADIUS authentication clients reside on the Content Engine running ACNS 5.x software. When enabled, these clients send authentication requests to a central RADIUS server, which contains user authentication and network service access information.

To configure RADIUS parameters, use the radius-server command in global configuration mode. To disable RADIUS authentication parameters, use the no form of this command. For more information on RADIUS authentication, see the "radius-server" section.

LDAP HTTP Request Authentication

System administrators can use the Content Engine to restrict user Internet access using an LDAP server for authentication purposes, which provides most of the services of the X.500 protocol with less complexity and overhead.

Use the ldap global configuration command to enable LDAP authentication. Use the no form of this command to disable LDAP functions. An LDAP-enabled Content Engine authenticates users with an LDAP server. With an HTTP query, the Content Engine obtains a set of credentials from the user (user ID and password) and compares them against those on an LDAP server.

ACNS 5.x software supports LDAP Version 2 and Version 3 and supports all LDAP features except for Secure Authentication and Security Layer (SASL). For more information on LDAP authentication, see the "ldap" section.

HTTP Request Considerations

When the Content Engine authenticates a user through a TACACS+, NTLM, RADIUS, or LDAP server, a record of that authentication is stored locally in the Content Engine RAM (authentication cache). As long as the authentication entry is retained, subsequent attempts to access restricted Internet content by that user do not require server lookups.

The http authentication cache timeout command specifies how long an inactive entry can remain in the authentication cache before it is purged. Once a record has been purged, any subsequent access attempt to restricted Internet content requires reauthentication.

When the access control list is configured and enabled, an NTLM or LDAP authenticated user has to belong to an access control list to allow access to requested content. However, even with the access control list enabled, the default policy is to allow access to the requested content, which means that if the user does not appear in any access control lists, access is allowed.


Note ACNS 5.x software only allows group authorization using access control lists for users who have been authenticated using either an NTLM or an LDAP server for HTTP requests.



Note All authentication schemes using NTLM, TACACS+, LDAP, and RADIUS servers, which may require different user IDs and passwords, are mutually exclusive. In other words, only one authentication scheme can be enabled at a time.


Excluding Domains from HTTP Authentication Servers

To exclude domains from HTTP authentication servers, use the rule action no-auth pattern-list number command. TACACS+, NTLM, RADIUS, or LDAP authentication takes place only if the site requested does not match the specified domain from the pattern list chosen. For more information on excluding domains using rule commands see the "rule" section.

Proxy Mode Authentication

The events listed below occur when the Content Engine is configured for HTTP request authentication and one of the following two scenarios is true:

The Content Engine receives a proxy-style request from a client.

The Content Engine receives a transparent (WCCP-style) request from a client and the Content Engine http authentication header command option is set to 407 (Proxy Authorization Required) because there is an upstream proxy.

1. The Content Engine examines the HTTP headers of the client request to find user information (contained in the Proxy-Authorization header).

2. If no user information is provided, the Content Engine returns a 407 message to the client.

3. The client resends the request, including the user information.

4. The Content Engine searches its authentication cache (based on user ID and password) to see whether the client has been previously authenticated.

5. If a match is found, the request is serviced normally.

6. If no match is found, the Content Engine sends a request to the authentication server to find an entry for this client.

7. If the server finds a match, the Content Engine allows the request to be serviced normally and stores the client user ID and password in the authentication cache.

8. If no match is found, the Content Engine again returns a 407 message to the client.

Transparent Mode Authentication

The events listed below occur when the Content Engine is configured for HTTP request authentication and both of the following are true:

The Content Engine receives a redirected request from a client.

The http authentication header command parameter is set to 401 (Unauthorized) because there is no upstream proxy.

1. The Content Engine searches its authentication cache to see whether the user's IP address has been previously authenticated.

2. If a match is found, the Content Engine allows the request to be serviced normally.

3. If no match is found in the first step, the Content Engine examines the HTTP headers to find user information (contained in the Authorization header).

4. If no user information is provided, the Content Engine returns a 401 (Unauthorized) message to the client.

5. The client resends the request, including the user information.

6. The Content Engine sends a request to the authentication server to find an entry for this user.

7. If the server finds a match, the Content Engine allows the request to be serviced normally and stores the client IP address in the authentication cache.

8. If no match is found, the Content Engine again returns a 401 (Unauthorized) message to the client.

In transparent mode, the Content Engine uses the client IP address as a key for the authentication database.

If you are using user authentication in transparent mode, we recommend that the AuthTimeout interval configured with the http authentication cache timeout command be short. IP addresses can be reallocated, or different users can access the Internet through an already authenticated device (PC, workstation, and the like). Shorter AuthTimeout values help reduce the possibility that individuals can gain access using previously authenticated devices. When the Content Engine operates in proxy mode, it can authenticate the user with the user ID and password.

Server Redundancy

Authentication servers can be specified with the corresponding authentication server (NTLM, LDAP, or RADIUS) host command options, or in the case of TACACS+ servers, with the server hostname command option, to configure additional servers. These additional servers provide authentication redundancy and improved throughput, especially when Content Engine load-balancing schemes distribute the requests evenly between the servers. If the Content Engine cannot connect to any of the authentication servers, no authentication takes place and users who have not been previously authenticated are denied access.

Security Options

The Content Engine uses simple authentication (clear text) to communicate with LDAP, RADIUS, and TACACS+ authentication servers. The Content Engine uses encryption to communicate with NTLM authentication servers.

Hierarchical Caching in Proxy Mode

In some cases, users are located at branch offices. A Content Engine (CE1) can reside with them in the branch office and be configured in proxy mode. Another Content Engine (CE2) in proxy mode or another HTTP-compatible proxy device can reside upstream, with a TACACS+, NTLM, RADIUS, or LDAP server available to both Content Engines or proxy devices for user authentication.


Note The http append proxy-auth-header command must be configured on the downstream Content Engines to ensure that proxy authorization information, required by upstream Content Engines, is not stripped from the HTTP request by the downstream Content Engines. Up to eight upstream IP addresses can be configured on each downstream Content Engine.


If branch office user 1 accesses the Internet, and content is cached at CE1, then this content cannot be served to any other branch office user unless that user is authenticated. CE1 must authenticate the local users.

Assuming that both CE1 and CE2 are connected to the server and authenticate the users, when branch office user 2 firsts requests Internet content, CE1 responds to the request with an authentication failure response (either HTTP 407 if in proxy mode, or HTTP 401 if in transparent mode). User 2 enters the user ID and password, and the original request is repeated with the credentials included. CE1 contacts the HTTP request authentication server to authenticate user 2.

Assuming authentication success, and a cache miss, the request along with the credentials is forwarded to CE2. CE2 also contacts the authentication server to authenticate user 2. Assuming authentication success, CE2 either serves the request out of its cache or forwards the request to the origin server.

User 2 authentication information is now stored in the authentication cache in both CE1 and CE2. Neither CE1 nor CE2 needs to contact the authentication server for user 2's subsequent requests (unless user 2's entry expires and is removed from the authentication cache).

This scenario assumes that CE1 and CE2 use the same method for authenticating users. Specifically, both Content Engines must expect the user credentials (user ID and password) to be encoded in the same way.


Note If you wish to avoid authentication on an upstream Content Engine after authentication is performed downstream, you can use the rule no-auth command to exclude the downstream Content Engine IP address.


Hierarchical Caching in Transparent Mode

When the Content Engine operates in transparent mode, the user IP address is used as a key to the authentication cache. When user 2 sends a request transparently to CE1, after authentication, CE1 inserts its own IP address as the source for the request. Therefore, CE2 cannot use the source IP address as a key for the authentication cache.

When CE1 inserts its own IP address as the source, it must also insert an X-Forwarded-For header in the request (http append x-forwarded-for-header command). CE2 must first look for an X-Forwarded-For header. If one exists, that IP address must be used to search the authentication cache. Assuming the user is authenticated at CE2, then CE2 must not change the X-Forwarded-For header, just in case there is a transparent CE3 upstream.

In this scenario, if CE1 does not create an X-Forwarded-For header (for example, if it is not a Cisco Content Engine and does not support this header), then authentication on CE2 will not work.

Hierarchical Caching, Content Engine in Transparent Mode with an Upstream Proxy

In a topology with two Content Engines, assume that CE1 is operating in transparent mode and CE2 is operating in proxy mode, with the browsers of all users pointing to CE2 as a proxy.

Because the browsers are set up to send requests to a proxy, an HTTP 407 message is sent from CE1 back to each user to prompt for credentials. By using the 407 message, the problem of authenticating based on source IP address is avoided. The username and password can be used instead.

This mode provides better security than using the HTTP 401 message. The Content Engine examines the style of the address to determine whether there is an upstream proxy. If there is, the Content Engine uses an HTTP 407 message to prompt the user for credentials even when operating in transparent mode.

Authentication Cache Size Adjustments

If the authentication cache is not large enough to accommodate all authenticated users at the same time, the Content Engine purges older entries that have not yet timed out. The Content Engine has a timeout value range from 1 to 1440 minutes. Its default timeout value is 480 minutes.

Use the http authentication cache timeout command to configure the authentication cache timeout parameters if necessary.

The maximum number of entries that is maintained in authentication cache is 32000. The minimum number is 500. The default value is 16000. Use the http authentication max-entries command to configure this parameter if necessary.

The http authentication command has a header option that can be set to display a message to the client when authorization has failed. In this scenario you can choose http authentication header 401 (Unauthorized) or http authentication header 407 (Proxy Authorization Required). By default, the Content Engine authenticates cache loads based on the URL syntax of the incoming request.

Use the show http authentication command to display the authentication cache parameters.

Transaction Logging

Once a user has been authenticated through TACACS+, LDAP, NTLM, or a RADIUS server, all transaction logs generated by the Content Engine for that user contain user information. If the Content Engine is acting in proxy mode, the user ID is included in the transaction logs. If the Content Engine is acting in transparent mode, the user IP address is included instead.

If the transaction-logs sanitize command is invoked, the user information is suppressed.

In this example, the host for the LDAP server daemon is configured:

ContentEngine(config)# ldap server host www.someDomain.com port 390

To delete an LDAP server, use the no ldap server command.

ContentEngine(config)# no ldap server host 1.1.1.1

In this example, the host for the RADIUS server is configured:

ContentEngine(config)# radius-server 172.16.90.121

In this example, the length of time that entries are valid in the authentication cache is set:

ContentEngine(config)# http authentication cache timeout 1000

The following example specifies that the Content Engine should use header 407 when asking the end user for authentication credentials (user ID and password).

ContentEngine(config)# http authentication header 407 

End-to-End Authentication

The ACNS 5.x software caching services support both basic and NTLM end-to-end authentication. End-to-end NTLM authentication includes pass-through servicing and the caching of web objects that require NTLM authentication. HTTP request authentication authenticates a user's domain, username, and password with a preconfigured NTLM domain controller before allowing requests from the user to be served by the Content Engine. NTLM authentication works only in a Microsoft environment (for instance, Microsoft Internet Explorer clients accessing Microsoft Internet Information Servers).


Note ACNS 5.x software supports NTLM Version 1 and Version 2 for end-to-end authentication.



Note End-to-end NTLM authentication is supported with WCCP Version 2 transparent caching only. For HTTP request authentication, if NTLM authentication is used but the browser does not support NTLM authentication, the username and password information is passed to the Content Engine in clear text with a basic authentication header. The Content Engine then uses this information to authenticate the user against the preconfigured Windows NT domain controller.


Basic End-to-End Authentication

The ACNS software caching services can strip NTLM authentication headers to allow fallback to a basic-style authentication challenge against Microsoft Internet Information System (IIS) servers.

This feature is designed to allow browsers to authenticate against a Microsoft IIS web server that issues an NTLM-based challenge. NTLM is proprietary and undocumented. Removing the NTLM headers allows the browser to fall back on the basic authentication method. If IIS is configured to still accept basic authentication, IIS authentication credentials can proceed through a Content Engine, but with reduced security. Use the http authenticate-strip-ntlm global configuration command to enable stripping of the NTLM headers.

NTLM End-to-End Authentication

The two levels of NTLM end-to-end support can be summarized as follows:

NTLM pass-through service

If NTLM pass-through service is set on the server, the Content Engine sets up a secure persistent connection between the client and the server through the Content Engine. NTLM authentication messages pass through this virtual persistent connection. The Content Engine does not cache any object transferred on the virtual connection. All the client requests are served by the origin server.

NTLM object caching

The ACNS 5.x software caching services can be configured to cache objects that require NTLM authentication. The server puts a "no-store" flag on a reply object to prevent the reply from being cached. If no such flag is present, the object is cacheable. When the Content Engine receives a request from a client already connected with the intended NTLM server, the ACNS software searches the cache. For a cache miss, the request is forwarded to the origin server. The reply object is then sent to the client and a copy is cached. On a cache hit, the Content Engine checks for a secured connection between this client and the server. If the object requires NTLM authentication and there is no virtual persistent connection set up between the client and the server, the
Content Engine establishes the secured connection between client and server and forwards the request to the server. If there is a virtual persistent connection between the client and the server, an If-Modified-Since (IMS) message is sent to the server to verify the validity of the object and the user's access rights to this object before the cached copy is served to the client.

This example configures a Content Engine for end-to-end NTLM authentication. By default, basic and NTLM authenticated objects are not cached.

ContentEngine(config)# no http authenticate-strip-ntlm
ContentEngine(config)# http cache-authenticated ntlm
ContentEngine# show http cache-authenticated ntlm
Basic authenticated objects are not cached.
NTLM authenticated objects are cached.

Examples

The following example enables local and TACACS+ authentication and authorization, setting TACACS+ as the first method used and local as the secondary method to use if TACACS+ fails.

ContentEngine(config)# authentication login tacacs enable primary
ContentEngine(config)# authentication login local enable secondary
ContentEngine(config)# authentication configuration local enable secondary
ContentEngine(config)# authentication configuration tacacs enable primary

This is an example of the show authentication command.

ContentEngine# show authentication
Login Authentication:         Console/Telnet Session
----------------------------- -----------------------
local                         enabled
tacacs                        enabled (primary)

Configuration Authentication: Console/Telnet Session
----------------------------- -----------------------
local                         enabled
tacacs                        enabled 

This is an example of the show statistics authentication command.

ContentEngine# show statistics authentication 

Authentication Statistics 
--------------------------------------
Number of access requests: 37
Number of access deny responses: 14
Number of access allow responses: 23

Related Commands

show authentication

show statistics authentication

tacacs

auto-register

To enable discovery of a Fast Ethernet or Gigabit Ethernet Content Engine or Content Router and its automatic registration with the Content Distribution Manager through Dynamic Host Configuration Protocol (DHCP), use the auto-register global configuration command. To disable this function, use the no form of this command.

auto-register enable [FastEthernet slot/port | GigabitEthernet slot/port]

no auto-register enable [FastEthernet slot/port | GigabitEthernet slot/port]

Syntax Description

enable

Enables automatic registration of devices, using DHCP with the Content Distribution Manager.

FastEthernet

(Optional) Selects a Fast Ethernet interface for automatic registration using DHCP.

slot/port

Fast Ethernet slot (0-3) and port number.

GigabitEthernet

(Optional) Selects a Gigabit Ethernet interface for automatic registration using DHCP.

slot/port

Gigabit Ethernet slot (1-2) and port number.


Defaults

Automatic registration using DHCP is enabled by default.

Command Modes

Global configuration

Usage Guidelines

The auto-register enable command allows a Fast Ethernet or Gigabit Ethernet Content Engine or Content Router to discover the host name of the Content Distribution Manager through DHCP and to automatically register the device with the Content Distribution Manager. Discovery and registration occur at bootup.

To assign a static IP address using the interface GigabitEthernet slot/port command, the automatic registration of devices through DHCP must be disabled by using the no auto-register enable command, because automatic registration through DHCP is enabled by default.

Examples

ContentEngine(config)# auto-register enable GigabitEthernet 2/0

ContentEngine(config)# auto-register enable FastEthernet 0/1

ContentEngine(config)# no auto-register enable

Related Commands

show auto-registration

show running-config

show startup-config

autosense

To enable autosense on an interface, use the autosense interface configuration command. To disable this function, use the no form of this command.

autosense

no autosense

Syntax Description

This command has no arguments or keywords.

Defaults

Autosense is enabled by default.

Command Modes

Interface configuration

Usage Guidelines

Cisco router Ethernet interfaces do not negotiate duplex settings. If the Content Engine is connected to a router directly with a crossover cable, the Content Engine interface must be manually set to match the router interface settings. Disable autosense before configuring an Ethernet interface. When autosense is on, manual configurations are overridden. You must reboot the Content Engine to start autosensing.

Examples

ContentEngine(config-if)# autosense

ContentEngine(config-if)# no autosense

Related Commands

interface

show interface

show running-config

show startup-config

bandwidth

To set an allowable bandwidth usage limit and its duration for Cisco Streaming Engine, RealProxy, RealServer, and WMT streaming media, use the bandwidth global configuration command.

bandwidth {cisco-streaming-engine kbits {default | max-bandwidth | start-time weekday time end-time weekday time} | http | real-proxy {incoming | outgoing} kbits | real-server kbits | wmt {incoming | outgoing} kbits}

Syntax Description

cisco-streaming-engine

Configures the duration of allowable bandwidth settings for the Cisco Streaming Engine.

kbits

Bandwidth size in kilobits per second (kbps) (0-2147483647).

default

Sets the default value for the bandwidth is this value is not configured.

max-bandwidth

Sets the value for the maximum bandwidth configured.

start-time

Sets the starting day of the week and time (hh:mm) for the permitted bandwidth usage.

weekday:

Friday
Monday
Saturday
Sunday
Thursday
Tuesday
Wednesday

Day of the week to start.

time

Time of the day to start, in hours and minutes (hh:mm).

end-time

Sets the ending day of the week and time for the permitted bandwidth usage.

weekday

Day of the week to end.

http

Configures the pace and rate for pre-positioned HTTP traffic.

kbits

Bandwidth size in kilobits per second (kbps) (0-2000000).

real-proxy

Configures the duration of allowable bandwidth settings for RealProxy.

incoming

Configures the duration of allowable incoming bandwidth settings for RealProxy.

outgoing

Configures the duration of allowable outgoing bandwidth settings for RealProxy.

real-server

Configures the duration of allowable bandwidth settings for RealServer.

wmt

Configures the duration of allowable bandwidth settings for WMT.


Defaults

No default behavior or values

Command Modes

Global configuration

Usage Guidelines

With the various types of traffic originating from a device, every type of traffic, such as streaming media, HTTP, and metadata, consumes network resources. Use the bandwidth command to limit the amount of network bandwidth used by the Cisco Streaming Engine, RealNetworks, and WMT streaming media.

Examples

The following example limits the RealProxy bandwidth to 1000 kbps from Monday at 8:00 a.m. to Friday at 6:00 p.m.

ContentEngine(config)# bandwidth allow 1000 real-proxy start-time monday 8:00 end-time 
friday 18:00

Related Commands

bandwidth (interface configuration)

show bandwidth

interface

show interface

show running-config

show startup-config

bandwidth

To configure an interface bandwidth, use the bandwidth interface configuration command. To restore default values, use the no form of this command.

bandwidth {10 | 100 | 1000}

no bandwidth {10 | 100 | 1000}

Syntax Description

10

Sets bandwidth to 10 megabits per second (Mbps).

100

Sets bandwidth to 100 Mbps.

1000

Sets bandwidth to 1000 Mbps. This option is not available on all ports and is the same as autosense.


Defaults

No default behaviors or values

Command Modes

Interface configuration

Examples

ContentEngine(config-if)# bandwidth 10

ContentEngine(config-if)# no bandwidth

Related Commands

interface

bitrate

To configure the maximum pacing bit rate for large files sent using the HTTP protocol, and to separately configure WMT bit rate settings, use the bitrate global configuration command.

bitrate {http default bitrate | wmt {incoming bitrate | outgoing bitrate}}

no bitrate {http default bitrate | wmt {incoming bitrate | outgoing bitrate}}

Syntax Description

http

Configures the bit rate for large files sent using the HTTP protocol in kilobits per second (kbps).

default

Sets the default bit rate in kbps for large files.

bitrate

Bit rate in kbps (0-2000000).

wmt

Configures the bit rate, in kbps, for large files sent using the WMT protocol.

incoming

Sets the incoming bit rate settings.

bitrate

Incoming bit rate in kbps (0-2147483647).

outgoing

Sets the outgoing bit rate settings.

bitrate

Outgoing bit rate in kbps (0-2147483647).


Defaults

http bitrate: 1500 kbps

wmt incoming bitrate: 0 (no limit)

wmt outgoing bitrate: 0 (no limit)

Command Modes

Global configuration

Usage Guidelines

ACNS 5.x software includes the Windows Media Technologies (WMT) proxy, which has the ability to cache on-demand media files when the user requests these files for the first time. All subsequent requests for the same file are served by the WMT proxy using the Microsoft Media Server (MMS) protocol. The WMT proxy can also live-split a broadcast, which causes only a single unicast stream to be requested from the origin server in response to multiple client requests for the stream.

The bit rate between the proxy and the origin server is called the incoming bit rate. Use the bitrate command to limit the maximum bit rate per session for large files delivered using either the HTTP or the MMS protocol.

Examples

The following example shows how to configure an incoming bit rate for a file sent over HTTP.

ContentEngine(config)# bitrate http default 100

The following example shows how to configure an incoming bit rate for a file sent using MMS. Use the show wmt command to verify that the incoming bit rate has been modified.

ContentEngine(config)# bitrate wmt incoming 300000 
ContentEngine(config)# exit
ContentEngine# show wmt
WMT version: ce507-001.000

WMT enabled
WMT disallowed client protocols: none
WMT end user license agreement accepted
WMT license key not installed
WMT evaluation enabled. Estimated 48 days 4 hours left for evaluation.
WMT max outgoing bandwidth limit enforced during evaluation: 56000 Kbits/sec
WMT outgoing bandwidth configured is 56000 Kbits/sec
WMT incoming bandwidth configured is 56000 Kbits/sec
WMT incoming port: 1755
WMT max sessions configured: 155 
WMT max sessions platform limit: 155 
WMT max sessions enforced: 155 sessions
WMT max outgoing bit rate allowed per stream has no limit
WMT max incoming bit rate allowed per stream: 300000 Kbits/sec
WMT cache enabled
WMT cache max-obj-size: 1024
WMT cache unique-stream-key enabled
WMT debug level: 0
WMT L4 switch not enabled
WMT debug client ip not set
WMT debug server ip not set
WMT/REAL cache space partition: wmt 70%, real 30%
WMT Stripping ? from Live URL is not enabled
WMT Live-split using streaming engine is enabled
WMT Proxy cache using streaming engine is enabled
ContentEngine#

Related Commands

show http all

show wmt

bypass

To enable transparent error handling and dynamic authentication bypass, and to configure static bypass lists, use the bypass global configuration command. To disable the bypass feature, use the no form of this command.

bypass {auth-traffic enable | gateway ipaddress | load {enable | in-interval seconds | out-interval seconds | time-interval minutes} | static {clientip | any-client} {serverip | any-server} | timer minutes}

no bypass {auth-traffic enable | gateway ipaddress | load {enable | in-interval seconds | out-interval seconds | time-interval minutes} | static {clientip | any-client} {serverip | any-server} | timer minutes}

Syntax Description

auth-traffic

Sets authenticated traffic bypass configuration.

gateway

Configures a router to which bypassed packets are redirected when the Content Engine receives requests redirected by a Layer 4 switch.

ipaddress

IP address of the router acting as the bypass gateway.

enable

Enables authenticated traffic bypass.

load

Sets bypass load configuration.

enable

Enables bypass load.

in-interval

Sets time interval between buckets coming back.

seconds

Time in seconds (2-600).

out-interval

Sets time interval between bypassing buckets.

seconds

Time in seconds (4-600).

time-interval

Sets time interval between one bucket being bypassed and the next.

minutes

Time in minutes (1-1440).

static

Adds a static entry to the bypass list.

clientip

IP address from which requests will bypass the Content Engine.

serverip

IP address to which requests will bypass the Content Engine.

any-server

Requests from a specified client to any server bypass the Content Engine.

any-client

Bypasses HTTP traffic from any client destined to a particular server.

timer

Sets authentication bypass timer in minutes. The bypass entry is removed from the dynamic list when the timer expires.

minutes

Time in minutes (1-1440).


Defaults

bypass timer: 20 minutes

in-interval: 60 seconds

out-interval: 4 seconds

time-interval: 10 minutes

Command Modes

Global configuration

Usage Guidelines

Bypass refers to a method that the Content Engine can use to handle various error responses (including authentication failure) from an origin server. When the Content Engine receives an error response from an origin server, it adds an entry for the server to its bypass list. When it receives subsequent requests for content residing on the bypassed server, it redirects packets to the bypass gateway. If no bypass gateway is configured, then the packets are returned to the redirecting Layer 4 switch.

If both WCCP Version 2 and a Layer 4 switch are configured, then requests redirected to the Content Engine by WCCP are bypassed to the redirecting WCCP Version 2-enabled router. Requests redirected to the Content Engine by the Layer 4 switch are redirected to the bypass gateway. Thus, the Content Engine can differentiate between requests arriving as a result of WCCP and as a result of the Layer 4 switch.

Bypass features can be used with a WCCP Version 2-enabled router or with a Layer 4 switch, such as the Cisco Content Switching Module or Cisco Content Services switch. The Content Engine cannot set up a bypass for proxy-style requests.

Using a Bypass Gateway

To enable bypass with a Layer 4 switch, use the http l4 switch enable command. To identify the router to which the Content Engine will direct responses when errors are received from the origin server, use the bypass gateway command. Replace ipaddress with the IP address of a router that is a Layer 2 neighbor of the Content Engine.

Authentication Traffic Bypass

Some websites, because of IP authentication, do not allow the Content Engine to connect directly on behalf of the client. To preserve transparency and to avoid a disruption of service, the Content Engine can use authentication traffic bypass to automatically generate a dynamic access list for these client/server pairs. Authentication bypass triggers are also propagated upstream and downstream in the case of hierarchical caching. When a client/server pair goes into authentication bypass, it is bypassed for an amount of time set by the bypass timer command (20 minutes by default).

Dynamic Traffic Bypass

The following two scenarios describe typical dynamic traffic bypass situations:

Scenario 1—Dynamic Bypass upon Receiving a Web Server Error

A user issues an HTTP request from a web browser. The request is transparently intercepted and redirected to the Content Engine. The Content Engine accepts the incoming TCP connection from the web browser, determines that the request is for an object not in storage (cache miss), and issues a request for the object from the origin web server, but receives some kind of error (for instance, a protocol or authentication error) from the web server.

The Content Engine has already accepted the TCP connection from the web browser and the three-way TCP handshake has taken place. The Content Engine detects that the transaction with the web server is failed, but does not know the cause (the origin web server is performing authentication based on user source IP address, incompatibility between the TCP stacks, and so forth).

By default, if the Content Engine receives an error from the origin server, the Content Engine sends a 200 OK response back to the browser with instructions to refresh the URL as follows.

HTTP/1.0 200 OK
Cache-Control; no-cache
Connection: Close

This refresh instruction causes the client to send the request again. On the connection retry, the Content Engine does not accept the connection. It passes the request back to the WCCP-enabled router or switch unintercepted. The router then sends the flow toward the origin web server directly from the web browser, thereby bypassing the Content Engine.

Scenario 2—Dynamic Bypass upon Receiving an Unsupported Protocol

When the Content Engine receives non-HTTP requests over TCP port 80, the Content Engine issues a "retry" response, closes the connection, and does not accept subsequent connections in the same manner as in scenario 1.


Note Non-HTTP includes nonconforming HTTP as well as different protocols such as Secure Shell (SSH), Simple Mail Transfer Protocol (SMTP), or Network News Transport Protocol (NNTP). An example of nonconforming HTTP is the failure of a web server to issue two carriage return and line feeds at the end of the HTTP header section.


These two scenarios implement the WCCP return-path functionality in WCCP, which is a mechanism whereby a Content Engine can return traffic to the WCCP-enabled router or switch, telling the router or switch to forward the packets as if the Content Engine was not present.

It is typical for about 3 percent of all HTTP traffic flows to have some kind of failure condition. These failed flows are automatically retried using authentication bypass or dynamic client bypass, demonstrating that the failure conditions were preexisting and not due to the deployment of transparent caching.

Overload Bypass

If a Content Engine becomes overwhelmed with traffic, it can use the bypass load feature to reroute the overload traffic.

When the Content Engine is overloaded and the bypass load command is enabled, the Content Engine bypasses a bucket. If the load remains too high, another bucket is bypassed, and so on until the Content Engine can handle the load. The time interval between one bucket being bypassed and the next is set by the out-interval option. The default is 4 seconds.

When the first bucket bypass occurs, a time interval must elapse before the Content Engine begins to again service the bypassed buckets. The duration of this interval is set by the time-interval option. The default is 10 minutes.

When the Content Engine begins to service the bypassed traffic again, it begins with a single bypassed bucket. If the load is serviceable, the Content Engine picks up another bypassed bucket, and so on. The time interval between picking up one bucket and the next is set by the in-interval option. The default is 60 seconds.

Static Bypass

The bypass static command permits traffic from specified sources to bypass the Content Engine. The types of traffic sources are as follows:

Specific web client to a specific web server

Specific web client to any web server

Any web client to a specific web server

Wildcards in either the source or the destination field are not supported.

To clear all static configuration lists, use the no form of the command.


Note You must not exceed 50 bypass list entries for any one Content Engine.


Examples

This example forces HTTP traffic from a specified client to a specified server to bypass the Content Engine.

ContentEngine(config)# bypass static 10.1.17.1 172.16.7.52

This example forces all HTTP traffic destined to a specified server to bypass the Content Engine.

ContentEngine(config)# bypass static any-client 172.16.7.52

This example forces all HTTP traffic from a specified client to any web server to bypass the Content Engine.

ContentEngine(config)# bypass static 10.1.17.1 any-server

This example forces all authenticated HTTP traffic to bypass the Content Engine for 24 hours.

ContentEngine(config)# bypass auth-traffic enable
ContentEngine(config)# bypass timer 1440 

A static list of source and destination addresses helps to isolate instances of problem-causing clients and servers.

To display static configuration list items, use the show bypass list command.

ContentEngine# show bypass list
Client              Server          Entry type
------              ------          ----------
10.1.17.1:0         172.16.7.52:0   static-config
any-client:0        172.16.7.52:0   static-config
10.1.17.2:0         any-server:0    static-config 

The total number of entries in the bypass list is reported by the show bypass summary command.

Total number of HTTP connections bypassed = 0
        Connections bypassed due to system overload               = 0
        Connections bypassed due to authentication issues         = 0
        Connections bypassed due to facilitate error transparency = 0
        Connections bypassed due to static configuration          = 0

Total number of entries in the bypass list = 3
        Number of Authentication bypass entries = 0
        Number of Error bypass entries          = 0
        Number of Static Configuration entries  = 3                   

Related Commands

http l4-switch

rule

show bypass

show statistics bypass

clear bypass

cache

To perform cache-related actions, use the cache EXEC command.

cache {clear [force] | reset | synchronize}

To clear the disk of all cached content, use the cache clear EXEC command.

Syntax Description

clear

Clears the cache.

force

(Optional) Forces deletion of all cached objects.

reset

Resets the cache (unmounts, formats, and mounts cache file system [cfs] volumes).

synchronize

Synchronizes the cache.


Defaults

No default behavior or values

Command Modes

EXEC

Usage Guidelines

The cache clear command removes all cached contents from the currently mounted cfs volumes. Objects being read or written are removed when they cease being "busy." The equivalent to this command is the clear cache or cfs clear command.


Caution The cache clear command is irreversible, and all cfs cached content will be erased.

The cache clear force deletes all cfs objects, whether busy or not, and may generate broken GIF or HTML messages for objects that were being read from the disk when the command was executed. If an object is being written to the Content Engine disk when a cache clear force command is executed, the application stops caching that object but still delivers the object from the web server to the client.

The cache synchronize command synchronizes the cache file system and the media file system contents from memory to disk. Although synchronization is performed at regular intervals while the Content Engine is operating, this command can be used to ensure that all data is written to disk before you reset or turn off the Content Engine. Synchronization can also be done using the cfs sync and mediafs sync commands.

Examples

ContentEngine# cache clear force

Related Commands

clear cache

cfs

cd

To change from one directory to another directory, use the cd EXEC command.

cd directoryname

Syntax Description

directoryname

Directory name.


Defaults

No default behavior or values

Command Modes

EXEC

Usage Guidelines

Use this command to maneuver between directories and for file management. The directory name becomes the default prefix for all relative paths. Relative paths do not begin with a slash (/). Absolute paths begin with a slash (/).

Examples

Relative path:

ContentEngine(config)# cd local1

Absolute path:

ContentEngine(config)# cd /local1

Related Commands

dir

lls

ls

mkdir

pwd

deltree

cdm

To configure the Content Distribution Manager IP address to be used for Content Engines or Content Routers, or to configure the role and GUI parameters on a Content Distribution Manager device, use the cdm global configuration command.

cdm {ip ip-address | role {primary | standby} | ui port port-num}

Syntax Description

ip

Configures the Content Distribution Manager IP address.

ip-address

IP address of the Content Distribution Manager.

role

Available from the Content Distribution Manager CLI only. Configures the Content Distribution Manager role to either primary or standby.

primary

Configures the Content Distribution Manager to be the primary Content Distribution Manager.

standby

Configures the Content Distribution Manager to be the standby Content Distribution Manager.

ui

Available from the Content Distribution Manager CLI only. Configures the Content Distribution Manager GUI port address.

port

Configures the Content Distribution Manager GUI port.

port-num

Port number (1-65535).


Defaults

No default behavior or values

Command Modes

Global configuration

Usage Guidelines

In ACNS 5.1 software, you can use the cdm ui port global configuration command to change the Content Distribution Manager GUI port from the standard number 8443.

ContentDistributionManager(config)# cdm ui port 35535


Note The role and ui options are available on Content Distribution Manager devices only. Changing the Content Distribution Manager GUI port number automatically restarts the Centralized Management System (CMS) service if this has been enabled.


Examples

The following example configures an IP address and a primary role for a Content Distribution Manager.

ContentDstributionManager(config)# cdm ip 10.1.1.1
ContentDstributionManager(config)# cdm role primary

The following example configures a new GUI port to access the Content Distribution Manager GUI.

ContentDstributionManager(config)# cdm ui port 8550

cdnfs

To manage the ACNS network file system (cdnfs), use the cdnfs EXEC command.

cdnfs {browse | cleanup {info | start | stop} | delete-unused-ecdnfs-files | lookup url}

Syntax Description

browse

Browses the cdnfs directories and files.

cleanup

Cleans up unwanted entries in the cdnfs.

info

Summarizes information about unwanted entries without starting the cleanup process.

start

Starts the cleanup of unwanted entries in the cdnfs.

stop

Stops the cleanup of unwanted entries in the cdnfs.

delete-unused-ecdnfs-files

Deletes unused ecdnfs legacy data files.

lookup

Performs a lookup of a specified URL in the cdnfs.

url

URL to look up.


Defaults

No default behavior or values

Command Modes

EXEC

Usage Guidelines

The ACNS network file systems (cdnfs) stores pre-positioned ACNS network content to be delivered by all supported protocols, including HTTP, WMT, MMS, and RTSP. You can configure the cdnfs size of each Content Engine using the disk configure command.

The cdnfs cleanup command, which was used to clean up unwanted entries in the cdnfs and synchronize the acquisition and distribution database with the content stored on the cdnfs, has been modified in ACNS software, Release 5.1. This command now cleans up the content of deleted channels from the acquisition and distribution database. In certain cases, the acquirer is not notified by the Centralized Management System (CMS) about deleted channels, and it therefore fails to clear all unified name space (UNS) content. In such cases, the cdnfs cleanup EXEC command can be used to clean up all UNS content associated with deleted channels.


Note With Release 5.1 of the ACNS software, you can use the cdnfs cleanup start to clean up orphan content. Orphan content is content that is not associated with any channel to which a Content Engine is subscribed.


The cdnfs browse command is an interactive command and has the following subcommands used to view ACNS network files and directories:

ContentEngine# cdnfs browse 

/>ls
/>help
dir, ls:   list directory contents
cd,chdir:  change current working directory
info:      display attributes of a file
more:      page through a file
cat:       display a file
exit,quit: quit CDNFS browse shell
/>

Since the cdnfs is empty in this example, the ls command does not show any results. Normally, if the cdnfs contained information, it would list the websites as directories, and file attributes and content could be viewed using these subcommands.

The cdnfs cleanup command synchronizes the state of the acquisition and distribution database with the content stored on the cdnfs. You should use this command after replacing a failed disk drive.

Use the cdnfs delete-unused-ecdnfs-files command to delete leftover legacy data files from previously released ACNS software ecdnfs files.


Note To migrate content from your ACNS E-CDN 4.x software to ACNS 5.x software, first export your ACNS 4.x E-CDN content using the Content Distribution Manager, and then import it into the Content Distribution Manager running ACNS 5.x software using the Content Distribution Manager GUI (create a manifest and channels, assign the Content Engine to channels, and so on). The cdnfs software that resides on the Content Engine reuses relevant legacy E-CDN application files. Legacy files that are reused are not deleted by the cdnfs delete-unused-ecdnfs-files command; only unused legacy data files are deleted.


Use the cdnfs lookup command to look up and, if present, obtain information on a specified URL in the cdnfs.

Examples

The following example deletes existing E-CDN application legacy files.

ContentEngine(config)# delete-unused-ecdnfs-files

The following example shows the result of a lookup on a live streaming file. Typically, the "File Size" field is larger than zero. The "Live Stream Route..." information appears only for live streaming entries.

ContentEngine(config)# cdnfs lookup mms://10.107.192.3/Soccer

CDNFS File Attributes:
  Status                 3  (Ready)
  File Size              0 Bytes
  Start Time             null
  End Time               null
  Allowed Playback via   HTTP WMT
  cdn_uns_id             d2CkEFiNwwaVNx+qI9KLeQ..
  channelId              131
  no_redirect_to_origin  1
  wmt-live               1

  Live Stream Route for WMT Media stream is :
-->Next Hop = 10.1.21.6
-->Next Hop = 10.107.150.203
-->Last Hop = 10.107.192.3

The following example shows the output of the cdnfs cleanup info command:

ContentEngine# cdnfs cleanup info 
Gathering cleanup information. This may take some time....
(Use Ctrl+C or 'cdnfs cleanup stop' to interrupt)
..............................

Summary of garbage resource entries found
-------------------------------------------
Number of entries    : 605
Size of entries (KB) : 60820911

Related Commands

show cdnfs

show statistics cdnfs

cdp

To configure Cisco Discovery Protocol (CDP) options, use the cdp command in global configuration mode.

cdp {enable | holdtime seconds | timer seconds}

no cdp {enable | holdtime seconds | timer seconds}

Syntax Description

enable

Enables CDP globally.

holdtime

Sets the length of time in seconds that a receiver keeps CDP packets before they are discarded. The default is 180 seconds.

seconds

Length of time that a receiver keeps the CDP packet in seconds (10-255).

timer

Interval between CDP advertisements in seconds. The default is 60 seconds.

seconds

Interval in seconds (5-254).


Defaults

holdtime: 180 seconds

timer: 60 seconds

Command Modes

Global configuration

Usage Guidelines

When enabled with the cdp enable command, Cisco Discovery Protocol (CDP) obtains protocol addresses of neighboring devices and discovers the platform of those devices. It also shows information about the interfaces used by your router. CDP is media- and protocol-independent, and runs on Cisco-manufactured equipment.

Use of SNMP with the CDP Management Information Base (MIB) allows network management applications to learn the device type and the SNMP agent address of neighboring devices, and to send SNMP queries to those devices. Cisco Discovery Protocol uses the CISCO-CDP-MIB.

Each device configured for CDP sends periodic messages, known as advertisements, to a multicast address. The cdp timer seconds command specifies the rate at which CDP packets are sent. Each device advertises at least one address at which it can receive SNMP messages. The advertisements also contain Time To Live or hold time information. To set the hold time, use the cdp holdtime seconds command to specify the period of time in seconds that a receiver is to keep CDP packets. Each device also listens to the periodic CDP messages sent by others to learn about neighboring devices.

Examples

In the following example, three command lines are entered in sequence. CDP is first enabled, the hold time is set to 10 seconds for keeping CDP packets, and then the rate at which CDP packets are sent (15 seconds) is set.

ContentEngine(config)# cdp enable
ContentEngine(config)# cdp holdtime 10
ContentEngine(config)# cdp timer 15

Related Commands

clear cdp counters

clear cdp table

show cdp

cdp

To enable Cisco Discovery Protocol (CDP) on an interface, use the cdp command in interface configuration mode.

cdp enable

Syntax Description

enable

Enables CDP on an interface.


Defaults

No default behavior or values

Command Modes

Interface configuration

Examples

ContentEngine(config-if)# cdp enable

Related Commands

show cdp

interface

show interface

show running-config

show startup-config

cfs

To configure the cache object file system (cfs) of the Content Engine, use the cfs EXEC command.

cfs {clear partition [force] | format partition | mount partition | reset partition | sync partition | unmount partition}

no cfs {clear partition [force] | format partition | mount partition | reset partition | sync partition | unmount partition}

Syntax Description

clear

Deletes nonbusy objects from the specified cache file system (cfs) volume.

partition

Partition number (for example, disk00/00, disk00/01, disk01/00).

force

(Optional) Forcibly deletes all objects from the specified cfs volume.

format

Erases and formats or creates a file system for caching.

mount

Mounts a cache file system.

reset

Resets (unmounts-formats-mounts) a cache file system.

sync

Synchronizes a cache file system.

unmount

Unmounts a cache file system.


Defaults

No default behavior or values

Command Modes

EXEC

Usage Guidelines

Cache objects retrieved from the web are saved and manipulated with the cache file system (cfs) on a cfs partition of the hard disk. This does not affect the sysfs, swfs, or mediafs partitions. The cfs commands are used to manage the cache object file system.

The cfs clear command deletes nonbusy objects from the specified cfs volume. A nonbusy object is an object that is not being accessed (read or written). The cfs clear command (without force) deletes all possible objects without generating a broken GIF or HTML message to the client.

The cfs clear force command deletes all objects, busy or nonbusy, and may generate broken GIF or HTML messages for objects that were being read from the disk when the command was executed. If an object is being written to the Content Engine disk when a cfs clear force command is executed, the application stops caching that object but still delivers the object from the web server to the client.

The cfs reset command unmounts, formats, and mounts a specified volume. Unmounting a volume can result in broken GIF or HTML messages for objects that are being read from the disk (cache hits) when the command is executed. When a cfs volume is reset, all cfs data on that volume is lost.


Note The cfs reset command can be invoked on unmounted volumes.


The cfs format command creates the cache file system internal "dbs" for the cfs partition of the disk if the volume is unmounted. It formats the cfs partition to prepare it for a cfs mount. The cfs mount command creates and maps data structures in memory to the cfs partition.


Caution All cached content is erased with the format option.

The cfs unmount command frees the in-memory data structures that map to the physical (disk) cfs partition.

The cfs sync command synchronizes the cache file system contents from memory to disk. Although synchronization is performed at regular intervals while the Content Engine is running, this command can be used to ensure that all data is written to disk before you reset or turn off the Content Engine. Synchronization can also be done with the cache synchronize command.

Examples

ContentEngine# cfs sync disk05

Related Commands

show cfs

cache clear

clear cache

channel

To assign, create, delete, add, modify, or otherwise configure a channel, use the channel EXEC command.

channel assign site-name channel-name {channel-root root-ce-name | content-engine {all | ce-name} | device-group {all | dev-name}}

channel create site-name channel-name [description channel-desc] [multicast-enabled] [priority {high | low | normal}] [skip-encryption] [weak-certificate]

channel delete site-name {all | channel-name}

channel manifest-add site-name channel-name url disk-quota ttl [password password username username]

channel manifest-fetch site-name channel-name

channel manifest-modify site-name channel-name [disk-quota disk-quota] [manifest-url url] [password password] [time-to-live ttl] [username username]

channel modify site-name channel-name [description channel-desc] [multicast {disable | enable}] [new-channel-name channel-name] [priority {high | low | normal}] [skip-encryption {disable | enable}] [weak-certificate {disable | enable}]

channel un-assign site-name channel-name {content-engine {all | ce-name} | device-group {all | dev-name}}

Syntax Description

assign

Assigns Content Engines or device groups to this website and channel.

site-name

Name of website to which Content Engines or device groups are to be assigned.

channel-name

Name of channel to which Content Engines or device groups are to be assigned.

channel-root

Assigns root Content Engines to this website and channel.

root-ce-name

Name of the root Content Engine to be assigned to this website and channel.

content-engine

Assigns Content Engines to this website and channel.

all

Assigns every Content Engine to this website and channel.

ce-name

Name of the Content Engine to be assigned to this website and channel.

device-group

Assigns device groups to this website and channel.

all

Assigns every device group to this website and channel.

dev-name

Name of the device group to be assigned to this website and channel.

create

Creates a newly named website and channel.

site-name

Name of new website.

channel-name

Name of new channel.

description

(Optional) Describes the new website and channel.

channel-desc

Description of the new website and channel.

multicast-enabled

(Optional) Enables multicast networking on this new channel.

priority

(Optional) Sets the priority level on this new channel.

high

Sets the channel to high priority.

low

Sets the channel to low priority.

normal

Sets the channel to normal priority.

skip-encryption

(Optional) Omits encryption requirements for the validation certificate.

weak-certificate

(Optional) Enables weak encryption for the validation certificate.

delete

Deletes the named website and channels.

site-name

Name of the website to be deleted.

all

Deletes every channel of the named website.

channel-name

Name of the channel to be deleted.

manifest-add

Adds the pre-positioned content described by the manifest file to this website and channel.

site-name

Name of the website to which to add pre-positioned content.

channel-name

Name of the channel to which to add pre-positioned content.

url

URL where the manifest file is to reside.

disk-quota

Maximum disk space in megabytes allotted for the pre-positioned content retrieved by the manifest file.

ttl

Time To Live in minutes of the pre-positioned content retrieved by the manifest file.

password

(Optional) Sets the password required to access the pre-positioned content retrieved by the manifest file.

password

Password required to access the pre-positioned content retrieved by the manifest file.

username

(Optional) Sets the username required to access the pre-positioned content retrieved by the manifest file.

username

Username required to access the pre-positioned content retrieved by the manifest file.

manifest-fetch

Fetches the pre-positioned content described in the manifest file.

site-name

Name of the website from which to fetch content described by the manifest file.

channel-name

Name of the channel from which to fetch content described by the manifest file.

manifest-modify

Modifies the channel's pre-positioned content and other parameters of the pre-positioned content described by the manifest file.

site-name

Name of the website to modify content described by the manifest file.

channel-name

Name of the channel to modify content described by the manifest file.

disk-quota

(Optional) Modifies the maximum disk space in megabytes allotted for the pre-positioned content retrieved by the manifest file.

disk-quota

New maximum disk space in megabytes allotted for the pre-positioned content retrieved by the manifest file.

manifest-url

(Optional) Modifies the URL where the manifest file is to reside.

url

New URL where the manifest file is to reside.

password

(Optional) Modifies the password required to access the pre-positioned content retrieved by the manifest file.

password

New password required to access the pre-positioned content retrieved by the manifest file.

time-to-live

(Optional) Modifies the Time To Live in minutes of the pre-positioned content retrieved by the manifest file.

ttl

New Time To Live in minutes of the pre-positioned content retrieved by the manifest file.

username

(Optional) Modifies the username required to access the pre-positioned content retrieved by the manifest file.

username

New username required to access the pre-positioned content retrieved by the manifest file.

modify

Modifies the website and channel names.

description

(Optional) Modifies the channel description.

channel-desc

New description of the channel.

multicast

(Optional) Disables or enables multicast networking.

disable

Disables multicast networking.

enable

Enables multicast networking.

new-channel-name

(Optional) Modifies the channel name to a new name.

channel-name

New name of the channel.

priority

(Optional) Sets the priority level on this new channel.

high

Sets the channel to high priority.

low

Sets the channel to low priority.

normal

Sets the channel to normal priority.

skip-encryption

(Optional) Disables or enables the omission of encryption requirements for the validation certificate.

disable

Disables the omission of encryption.

enable

Enables the omission of encryption.

weak-certificate

(Optional) Disables or enables weak encryption for the validation certificate.

disable

Disables weak encryption.

enable

Enables weak encryption.

un-assign

Removes Content Engines or device groups from this assigned channel.

site-name

Name of the website from which to remove assigned Content Engines or device groups.

channel-name

Name of the channel from which to remove assigned Content Engines or device groups.

content-engine

Removes Content Engines from this assigned channel.

all

Removes every Content Engine from this assigned channel.

ce-name

Name of the Content Engine to be unassigned from this website and channel.

device-group

Removes device groups from this assigned website and channel.

all

Removes every device group from this assigned website and channel.

dev-name

Name of the device group to be removed from this website and channel.


Defaults

No default behavior or values

Command Modes

EXEC

Examples

ContentDistributionManager# channel assign southeast se1 channel-root sales

ContentDistributionManager# channel create southeast se1 description salesoffice 
multicast-enabled weak-certificate

channel-group

To add the current interface to an EtherChannel group, use the channel-group interface configuration command.

channel-group {1 | 2}

no channel-group {1 | 2}

Syntax Description

1

Interface belongs to EtherChannel group 1.

2

Interface belongs to EtherChannel group 2.


Defaults

No default behavior or values

Command Modes

Interface configuration

Usage Guidelines

EtherChannel provides incremental trunk speeds between Fast Ethernet and Gigabit Ethernet, or even at speeds greater than Gigabit Ethernet. EtherChannel combines multiple Fast Ethernet interfaces up to 400 Mbps or Gigabit Ethernet interfaces up to 2 Gbps. EtherChannel provides fault-tolerant, high-speed links between switches, routers, and servers.

EtherChannel for ACNS 5.x software supports grouping of up to four same-speed network interfaces into one virtual interface. This allows the addition or removal of a virtual interface that consists of two, three, four Fast Ethernet or two Gigabit Ethernet interfaces; interoperability with Cisco routers, switches, and other networking devices or hosts supporting EtherChannel; and automatic failure detection and recovery based on each interface's current link status.

Use the channel-group command to add and remove the port channel group ID number. The ID number is either 1 or 2. The channel-group and ip address commands add a physical Fast Ethernet port to a previously created Fast EtherChannel. The channel number is the same as the channel number specified when the port-channel interface command is used to create either a Fast Ethernet or a Gigabit Ethernet channel.


Note A channel cannot contain both Fast Ethernet and Gigabit Ethernet interfaces.


Examples

The following example adds an interface to a channel group.

ContentEngine# config
ContentEngine(config)# interface fastEthernet 0/3
ContentEngine(config-if)# no ip address
ContentEngine(config-if)# channel-group 1
ContentEngine(config-if)# exit

The following example removes the group ID number from a channel group.

ContentEngine(config)# interface fastEthernet 0/3
ContentEngine(config-if)# no channel-group 1
ContentEngine(config-if)# exit

Related Commands

port-channel

interface

show interface

show running-config

show startup-config

clear

To clear the HTTP object cache, the hardware interface, statistics, archive working transaction logs, and other settings, use the clear EXEC command.

clear bypass {counters | list}

clear cache [dns [domain domainname | hostname hostname] | http [url url] | media-real | wmt]

clear cdp {counters | table}

clear ip access-list counters {acl-num | acl-name}

clear logging

clear statistics {access-lists 300 | all | authentication | dns-cache | |distribution {all | metadata-receiver | metadata-sender | multicast-data-receiver | multicast-data-sender | unicast-data-receiver | unicast-data-sender} | dns-cache | ftp | history | http {all | cluster | ims | object | outgoing | proxy outgoing | requests | response | savings} | http-authcache | https | icap | icmp | icp {all | client | server} | ip | ldap | ntlm | pac-file-server | pre-load | radius | rtsp {proxy media-real | server cisco-streaming-engine} | rule {action action-type | all} | running | tacacs | tcp | transaction-logs | tvout | udp | url-filter {http {local-list | N2H2 | websense} | wmt local-list} | wmt}

clear transaction-log

clear users {administrative | request-authenticated}

clear wmt {incoming | outgoing | stream-id 1-999999}

Syntax Description

bypass

Clears bypass commands.

counters

Clears all bypass counters.

list

Clears all bypass lists.

cache

Clears HTTP objects from the cfs cache.

dns

(Optional) Clears cached DNS entries in the HTTP proxy.

domain

(Optional) Specifies the DNS cache domain name.

domainname

DNS cache domain name.

hostname

(Optional) Specifies the DNS cache host name.

hostname

DNS cache host name.

http

(Optional) Clears the HTTP objects cache.

url

(Optional) Clears the URL from the cfs cache.

url

HTTP or FTP URL.

media-real

(Optional) Clears RealProxy cache content.

wmt

(Optional) Clears the WMT cache.

cdp

Resets CDP statistical data.

counters

Clears CDP counters.

table

Clears CDP tables.

ip access-list counters

Clears IP access list counters.

acl-name

Clear counters for the specified access list, identified using an alphanumeric identifier up to 30 characters, beginning with a letter.

acl-num

Clear counters for the specified access list, identified using a numeric identifier (standard access list: 1-99; extended access list: 100-199).

logging

Clears syslog messages saved in the disk file.

statistics

Clears statistics as specified.

access-lists

Clears access control list statistics.

300

Clears group name-based access control list.

all

Clears all statistics.

authentication

Clears authentication statistics.

content-routing

Clears all content routing statistics.

distribution

Clears distribution statistics.

all

Clears distribution statistics for every component.

metadata-receiver

Clears distribution statistics for the metadata receiver.

metadata-sender

Clears distribution statistics for the metadata sender.

multicast-data-receiver

Clears distribution statistics for the multicast data receiver.

multicast-data-sender

Clears distribution statistics for the multicast data sender.

unicast-data-receiver

Clears distribution statistics for the unicast data receiver.

unicast-data-sender

Clears distribution statistics for the unicast data sender.

dns-cache

Clears DNS cache statistics.

ftp

Clears FTP caching statistics.

history

Clears the statistics history.

http

Clears the cfs cache containing HTTP and FTP objects.

all

Clears all HTTP statistics.

cluster

Clears healing mode statistics.

ims

Clears HTTP if-modified-since (IMS) statistics.

object

Clears HTTP object statistics.

outgoing

Clears HTTP outgoing proxy statistics.

proxy outgoing

Clears outgoing proxy monitor statistics.

requests

Clears HTTP request statistics.

response

Clears HTTP response statistics.

savings

Clears HTTP savings statistics.

http-authcache

Clears authentication cache statistics.

https

Clears HTTPS statistics.

icap

Clears ICAP statistics.

icmp

Clears ICMP statistics.

icp

Clears ICP statistics.

all

Clears all ICP statistics.

client

Clears ICP client statistics.

server

Clears ICP server statistics.

ip

Clears IP statistics.

ldap

Clears LDAP statistics.

ntlm

Clears NTLM statistics.

pac-file-server

Clears PAC file server statistics.

pre-load

Clears preload statistics.

radius

Clears RADIUS statistics.

rtsp

Clears RTSP statistics.

proxy media-real

Clears RTSP-based RealMedia proxy statistics.

server cisco-streaming-engine

Clears RTSP-based Cisco Streaming Engine server statistics.

rule

Clears rules statistics.

action

Clears statistics of all the rules with the same action.

action-type

Specifies one of the following actions:

block
cache
dscp client cache-hit
dscp client cache-miss
dscp server
freshness-factor
insert-no-cache
no-auth
no-cache
no-proxy
redirect
refresh
reset
rewrite
selective-cache
use-dns-server
use-proxy
use-proxy-failover
use-server

See the "Actions" section for explanations of actions and patterns.

all

Clears statistics of all the rules.

running

Clears the running statistics.

tacacs

Clears TACACS+ statistics.

tcp

Clears TCP statistics.

transaction-logs

Clears transaction log export statistics.

tvout

Clears TV out statistics.

udp

Clears UDP statistics.

url-filter

Clears URL filter statistics.

http

Clears URL filter for HTTP statistics.

local-list

Clears local-list URL filter statistics.

N2H2

Clears N2H2 URL filter statistics.

websense

Clears Websense URL filter statistics.

rtsp

Clears URL filter for Real-Time Streaming Protocol (RTSP) statistics.

local-list

Clears local list URL filter for RTSP statistics.

wmt

Clears URL filter Windows Media Technologies (WMT) statistics.

local-list

Clears local list URL filter for WMT statistics.

wmt

Clears all WMT statistics.

transaction-log

Archives working transaction log files.

users

Clears the connections (login) of authenticated users.

administrative

Clears the connections of administrative users authenticated through a remote login service.

request-authenticated

Clears users authenticated by request.

wmt

Clears WMT streams.

incoming

Clears all incoming WMT streams.

outgoing

Clears all outgoing WMT streams.

stream-id

Clears specified WMT stream.

1-999999

WMT stream ID to clear.


Defaults

No default behavior or values

Command Modes

EXEC

Usage Guidelines

The clear cache command removes all cached contents from the currently mounted cfs volumes. Objects being read or written are removed when they cease being "busy." The equivalent to this command is the cache clear or cfs clear command.


Caution This command is irreversible, and all cached content will be erased.

The clear cache force command deletes all objects, whether busy or not, and may generate broken GIF or HTML messages for objects that were being read from the disk when the command was executed. If an object is being written to the Content Engine disk when a clear cache force command is executed, the application stops caching that object but still delivers the object from the web server to the client.

The clear logging command removes all current entries from the syslog.txt file, but does not make an archive of the file. It puts a "Syslog cleared" message in the syslog.txt file to indicate that the syslog has been cleared, as shown in the following example:

Feb 14 12:17:18 ContentEngine# exec_clear_logging:Syslog cleared

The clear statistics command clears all statistical counters from the parameters given. Use this command to monitor fresh statistical data for some or all features without losing cached objects or configurations.

The clear transaction-log command causes the transaction log to be archived immediately to the Content Engine hard disk. This command has the same effect as the transaction-log force archive command.

The clear users administrative command clears the connections for all administrative users who are authenticated through a remote login service, such as TACACS. This command does not affect an administrative user who is authenticated through the local database.

Examples

To purge all the entries in the bypass list, use the clear bypass list option.

ContentEngine# clear bypass list 

To force the working transaction log file to be archived, use the clear transaction-log option.

ContentEngine# clear transaction-log 

In the following example, the clear statistics http cluster command resets the healing mode statistics.

ContentEngine(config)# clear statistics http cluster 

Related Commands

cache clear

cfs clear

show statistics

show interface

show wccp

clock

To set or clear clock functions or update the calendar, use the clock EXEC command.

clock {read-calendar | set time day month year | update-calendar}

no clock {read-calendar | set time day month year | update-calendar}

Syntax Description

read-calendar

Reads the calendar and updates the system clock.

set

Sets the time and date.

time

Current time in hh:mm:ss format (hh: 00-23; mm: 00-59; ss: 00-59).

day

Day of the month (1-31).

month

Month of the year (April, August, December, February, January, July, June, March, May, November, October, September).

year

Year (1993-2035).

update-calendar

Updates the calendar with the system clock.


Defaults

No default behavior or values

Command Modes

EXEC

Usage Guidelines

If you have an outside source on your network that provides time services (such as a Network Time Protocol [NTP] server), you do not need to set the system clock manually. When setting the clock, enter the local time. The Content Engine calculates Coordinated Universal Time (UTC) based on the time zone set by the clock timezone global configuration command.

Two clocks exist in the system: the software clock and the hardware clock. The software uses the software clock. The hardware clock is used only at bootup to initialize the software clock.

The set keyword sets the software clock.

Examples

ContentEngine# clock set 13:32:00 01 February 2000

Related Commands

clock timezone

show clock detail

clock

To set the summer daylight saving time and time zone for display purposes, use the clock global configuration command. To disable this function, use the no form of this command.

clock {summertime timezone {date startday startmonth startyear starthour endday endmonth endyear offset | recurring {1-4 startweekday startmonth starthour endweekday endmonth endhour offset | first startweekday startmonth starthour endweekday endmonth endhour
offset
| last startweekday startmonth starthour endweekday endmonth endhour offset}} | timezone {timezone hoursoffset minutesoffset}}

no clock {summertime timezone {date startday startmonth startyear starthour endday endmonth endyear offset | recurring {1-4 startweekday startmonth starthour endweekday endmonth endhour offset | first startweekday startmonth starthour endweekday endmonth endhour
offset
| last startweekday startmonth starthour endweekday endmonth endhour offset}} | timezone {timezone hoursoffset minutesoffset}}

Syntax Description

summertime

Configures summer or daylight saving time.

timezone

Name of summer time zone.

date

Configures absolute summer time.

startday

Date (1-31) to start.

startmonth

Month (January through December) to start.

startyear

Year (1993-2032) to start.

starthour

Hour (0-23) to start in (hh:mm) format.

endday

Date (1-31) to end.

endmonth

Month (January through December) to end.

endyear

Year (1993-2032) to end.

endhour

Hour (0-23) to end in (hh:mm) format.

offset

Minutes offset (see Table 2-2) from Coordinated Universal Time (UTC) (0-59).

recurring

Configures recurring summer time.

1-4

Configures starting week number 1-4.

first

Configures summer time to recur beginning the first week of the month.

last

Configures summer time to recur beginning the last week of the month.

startweekday

Day of the week (Monday-Friday) to start.

startmonth

Month (January-December) to start.

starthour

Hour (0-23) to start in (hh:mm) format.

endweekday

Weekday (Monday-Friday) to end.

endmonth

Month (January-December) to end.

endhour

Hour (0-23) to end in hour:minute (hh:mm) format.

offset

Minutes offset (see Table 2-2) from UTC (0-59).

timezone

Configures standard time zone.

timezone

Name of time zone.

hoursoffset

Hours offset (see Table 2-2) from UTC (-23 to +23).

minutesoffset

Minutes offset (see Table 2-2) from UTC (0-59).


Defaults

No default behavior or values

Command Modes

Global configuration

Usage Guidelines

To set and display the local and UTC current time of day without an NTP server, use the clock timezone command with the clock set command. The clock timezone parameter specifies the difference between UTC and local time, which is set with the clock set EXEC command. The UTC and local time are displayed with the show clock detail EXEC command.

Use the clock timezone offset command to specify a time zone, where timezone is the desired time zone entry from Table 2-2 and 0 0 is the offset (ahead or behind) Coordinated Universal Time (UTC) in hours and minutes. UTC was formerly known as Greenwich mean time (GMT).

CE(config)# clock timezone timezone 0 0

Note The time zone entry is case-sensitive and must be specified in the exact notation listed in the following time zone table. When you use a time zone entry from the following time zone table, the system is automatically adjusted for daylight saving time.


Table 2-2 Offset from UTC 

Time Zone
Offset from UTC

Africa/Algiers

+1

Africa/Cairo

+2

Africa/Casablanca

0

Africa/Harare

+2

Africa/Johannesburg

+2

Africa/Nairobi

+3

America/Buenos_Aires

-3

America/Caracas

-4

America/Mexico_City

-6

America/Lima

-5

America/Santiago

-4

Atlantic/Azores

-1

Atlantic/Cape_Verde

-1

Asia/Almaty

+6

Asia/Baghdad

+3

Asia/Baku

+4

Asia/Bangkok

+7

Asia/Colombo

+6

Asia/Dacca

+6

Asia/Hong_Kong

+8

Asia/Irkutsk

+8

Asia/Jerusalem

+2

Asia/Kabul

+4.30

Asia/Karachi

+5

Asia/Katmandu

+5.45

Asia/Krasnoyarsk

+7

Asia/Magadan

+11

Asia/Muscat

+4

Asia/New Delhi

+5.30

Asia/Rangoon

+6.30

Asia/Riyadh

+3

Asia/Seoul

+9

Asia/Singapore

+8

Asia/Taipei

+8

Asia/Tehran

+3.30

Asia/Vladivostok

+10

Asia/Yekaterinburg

+5

Asia/Yakutsk

+9

Australia/Adelaide

+9.30

Australia/Brisbane

+10

Australia/Darwin

+9.30

Australia/Hobart

+10

Australia/Perth

+8

Australia/Sydney

+10

Canada/Atlantic

-4

Canada/Newfoundland

-3.30

Canada/Saskatchewan

-6

Europe/Athens

+2

Europe/Berlin

+1

Europe/Bucharest

+2

Europe/Helsinki

+2

Europe/London

0

Europe/Moscow

+3

Europe/Paris

+1

Europe/Prague

+1

Europe/Warsaw

+1

Japan

+9

Pacific/Auckland

+12

Pacific/Fiji

+12

Pacific/Guam

+10

Pacific/Kwajalein

-12

Pacific/Samoa

-11

US/Alaska

-9

US/Central

-6

US/Eastern

-5

US/East-Indiana

-5

US/Hawaii

-10

US/Mountain

-7

US/Pacific

-8


Examples

The following example specifies the local time zone as Pacific Standard Time with an offset of 8 hours behind UTC.

ContentEngine(config)# clock timezone PST -8

ContentEngine(config)# no clock timezone

ContentEngine(config)# clock summertime PDT date 10 October 2001 23:59 29 April 2002 23:59 
60

Related Commands

clock

show clock detail

cms

To configure the Centralized Management System (CMS) embedded database parameters, use the cms EXEC command.

cms {database {backup | create | delete | downgrade [script filename | maintenance {full | regular} | restore filename | validate} | deregister [force] | recover {identity word}}

Syntax Description

database

Creates, backs up, deletes, restores, or validates the CMS embedded database management tables or files.

backup

Backs up database management tables.

create

Creates embedded database management tables.

delete

Deletes embedded database files.

downgrade

Downgrades the CMS database.

script

Downgrades the CMS database by applying a downgrade script.

filename

Downgrade script filename.

maintenance

Cleans and reindexes the embedded database tables.

full

Specifies a full maintenance routine for the embedded database tables.

regular

Specifies a regular maintenance routine for the embedded database tables.

restore

Restores database management tables using the backup local file name.

filename

Database local backup filename.

validate

Validates database files.

deregister

Removes registration of CMS proto device.

force

(Optional) Forces removal of node registration.

recover

Recovers identity of ACNS network device.

identity

Identity of recovered device.

word

Keyword to use for identity of the recovered device.


Defaults

No default behavior or values

Command Modes

EXEC

Usage Guidelines

The ACNS network is a collection of Content Router, Content Engine, and Content Distribution Manager nodes. One primary Content Distribution Manager retains the ACNS network settings and provides other ACNS network nodes with updates. Communication between nodes occurs over secure channels using Secure Shell Layer (SSL) protocol, where each node on the ACNS network uses a Rivest, Shamir, Adelman (RSA) certificate-key pair to communicate with other nodes.

Use the cms database create command to initialize the CMS database. Before a node can join an ACNS network, it must first be registered and then activated. The cms enable global configuration command automatically registers the node in the database management tables and enables the CMS. The node sends its attribute information to the Content Distribution Manager over the SSL protocol and then stores the new node information. The Content Distribution Manager accepts these node registration requests without admission control and replies with registration confirmation and other pertinent security information required for getting updates. Activate the node using the Content Distribution Manager GUI.

Once the node is activated, it automatically receives configuration updates and the necessary security RSA certificate-key pair from the Content Distribution Manager. This security key gives the node the ability to communicate with any other node in the ACNS network. The cms deregister command removes the node from the ACNS network by deleting registration information and database tables.

To back up the existing management database for the Content Distribution Manager, use the cms database backup command. For database backups, specify the following items:

Location, password, and user ID

Dump format in PostgreSQL plain text syntax

The naming convention for backup files includes the time stamp.

Examples

ContentDistributionManager# cms database backup 
creating backup file with label `backup'
backup file local1/acns-db-9-22-2002-17-36.dump is ready. use `copy' commands to move the 
backup file to a remote host.

ContentDistributionManager# cms database validate 
Management tables are valid

In this example the CMS deregistration process has problems deregistering the Content Engine, but it proceeds to deregister it from the CMS database when the force option is used.

ContentEngine# cms deregister force 
Deregistration requires management service to be stopped.
You will have to manually start it. Stopping management service on this node...
This operation needs to restart http proxy and streaming proxies/servers (if running) for 
memory reconfiguration. Proceed? [no]yes
management services stopped
Thu Jun 26 13:17:34 UTC 2003 [I] main: creating 24 messages
Thu Jun 26 13:17:34 UTC 2003 [I] main: creating 12 dispatchers
Thu Jun 26 13:17:34 UTC 2003 [I] main: sending eDeRegistration message to CDM 
10.107.192.168
...
ContentEngine#

ContentEngine# cms recover identity default
Registering this node as Content Engine...
Sending identity recovery request with key default
Thu Jun 26 12:54:42 UTC 2003 [I] main: creating 24 messages
Thu Jun 26 12:54:42 UTC 2003 [I] main: creating 12 dispatchers
Thu Jun 26 12:54:42 UTC 2003 [I] main: Sending registration message to CDM  10.107.192.168
Thu Jun 26 12:54:44 UTC 2003 [W] main: Unable to load device info file in TestServer
Thu Jun 26 12:54:44 UTC 2003 [I] main: Connecting storeSetup for CE.
Thu Jun 26 12:54:44 UTC 2003 [I] main: Instantiating AStore 
'com.cisco.unicorn.schema.PSqlStore'...
Thu Jun 26 12:54:45 UTC 2003 [I] main: Successfully connected to database
Thu Jun 26 12:54:45 UTC 2003 [I] main: Registering object factories for persistent 
store...
Thu Jun 26 12:54:51 UTC 2003 [I] main: Dropped Sequence IDSET.
Thu Jun 26 12:54:51 UTC 2003 [I] main: Successfully removed old management tables
Thu Jun 26 12:54:51 UTC 2003 [I] main: Registering object factories for persistent 
store...
Thu Jun 26 12:54:51 UTC 2003 [I] main: Creating PSql Table BYPASS_INFO
.
.
.
Thu Jun 26 12:54:54 UTC 2003 [I] main: Created Table FILE_CDM.
Thu Jun 26 12:54:55 UTC 2003 [I] main: Created SYS_MESS_TIME_IDX index.
Thu Jun 26 12:54:55 UTC 2003 [I] main: Created SYS_MESS_NODE_IDX index.
Thu Jun 26 12:54:55 UTC 2003 [I] main: No Consistency check for store.
Thu Jun 26 12:54:55 UTC 2003 [I] main: Successfully created management tables
Thu Jun 26 12:54:55 UTC 2003 [I] main: Registering object factories for persistent 
store...
Thu Jun 26 12:54:55 UTC 2003 [I] main: AStore Loading store data...
Thu Jun 26 12:54:56 UTC 2003 [I] main: ExtExpiresRecord Loaded 0 Expires records.
Thu Jun 26 12:54:56 UTC 2003 [I] main: Skipping Construction RdToClusterMappings on 
non-CDM node.
Thu Jun 26 12:54:56 UTC 2003 [I] main: AStore Done Loading. 327
Thu Jun 26 12:54:56 UTC 2003 [I] main: Created SYS_MESS_TIME_IDX index.
Thu Jun 26 12:54:56 UTC 2003 [I] main: Created SYS_MESS_NODE_IDX index.
Thu Jun 26 12:54:56 UTC 2003 [I] main: No Consistency check for store.
Thu Jun 26 12:54:56 UTC 2003 [I] main: Successfully initialized management tables
Node successfully registered with id 103
Registration complete.
ContentEngine#

The following example shows the use of the cms recover identity command when the host name of the Content Engine does not match the host name configured in the Content Distribution Manager graphical user interface.

ContentEngine# cms recover identity default
Registering this node as Content Engine...
Sending identity recovery request with key default
Thu Jun 26 13:16:09 UTC 2003 [I] main: creating 24 messages
Thu Jun 26 13:16:09 UTC 2003 [I] main: creating 12 dispatchers
Thu Jun 26 13:16:09 UTC 2003 [I] main: Sending registration message to CDM  10.107.192.168
There're no CE devices in CDN
register: Registration failed.
ContentEngine#

Related Commands

cms enable

show cms

cms

To schedule maintenance and enable the Centralized Management System (CMS) on a given node, use the cms global configuration command.

cms {database maintenance {full {enable | schedule weekday at time} | regular {enable | schedule weekday at time}} | enable | rpc timeout {connection 5-1800 | incoming-wait 10-600 | transfer 10-7200}}

no cms {database maintenance {full {enable | schedule weekday at time} | regular {enable | schedule weekday at time}} | enable | rpc timeout {connection 5-1800 | incoming-wait 10-600 | transfer 10-7200}}

Syntax Description

database maintenance

Configures the embedded database clean or reindex maintenance routine.

full

Configures the full maintenance routine and cleans the embedded database tables.

enable

Enables the full maintenance routine to be performed on the embedded database tables.

schedule

Sets the schedule for performing the maintenance routine.

weekday

Day of the week to start maintenance routine.

Fri    every Friday
Mon every Monday
Sat   every Saturday
Sun  every Sunday
Thu  every Thursday
Tue  every Tuesday
Wed every Wednesday

at

Sets the maintenance schedule time of day to start maintenance routine.

time

Time of day to start maintenance routine (0-23:0-59)(hh:mm).

at      Maintenance time of day
Fri    every Friday
Mon every Monday
Sat   every Saturday
Sun  every Sunday
Thu  every Thursday
Tue  every Tuesday
Wed every Wednesday

regular

Configures the regular maintenance routine and reindexes the embedded database tables.

enable

Enables the node CMS process.

rpc timeout

Configures the timeout values for remote procedure call connections.

connection

Specifies the maximum time to wait when making a connection.

5-1800

Timeout period in seconds. The default for the Content Distribution Manager is 30 seconds; for the Content Engine and the Content Router, it is 180 seconds.

incoming-wait

Specifies the maximum time to wait for a client response.

10-600

Timeout period in seconds. The default is 30 seconds.

transfer

Specifies the maximum time to allow a connection to remain open.

10-7200

Timeout period in seconds. The default is 300 seconds.


Defaults

database maintenance regular: enabled

database maintenance full: enabled

connection: 30 seconds for Content Distribution Manager; 180 seconds for the Content Engine and the Content Router

incoming wait: 30 seconds

transfer: 300 seconds

Command Modes

Global configuration

Usage Guidelines

Use the cms database maintenance command to schedule routine full maintenance cleaning ("vacuuming") or a regular maintenance reindexing of the embedded database. The full maintenance routine runs only when the disk is more than 90 percent full and only runs once a week. Cleaning the tables returns reusable space to the database system.

The cms enable command automatically registers the node in the database management tables and enables the CMS. The no cms enable command only stops the management services on the device and does not disable a primary sender. You can use the cms deregister command to remove a primary or backup sender Content Engine from the ACNS network and to disable communication between the two multicast senders.

Examples

The following example schedules a regular (reindexing) maintenance routine to start every Friday at 11:00 at night.

ContentEngine(config)# cms database maintenance regular schedule Fri at 23:00

The following example shows how to enable the CMS process on a Content Engine.

ContentEngine(config)# cms enable
This operation needs to restart http proxy and streaming proxies/servers (if running) for 
memory reconfiguration. Proceed? [no]yes
Registering this node as Content Engine...
Thu Jun 26 13:18:24 UTC 2003 [I] main: creating 24 messages
Thu Jun 26 13:18:25 UTC 2003 [I] main: creating 12 dispatchers
Thu Jun 26 13:18:25 UTC 2003 [I] main: Sending registration message to CDM  10.107.192.168
Thu Jun 26 13:18:27 UTC 2003 [I] main: Connecting storeSetup for CE.
Thu Jun 26 13:18:27 UTC 2003 [I] main: Instantiating AStore 
'com.cisco.unicorn.schema.PSqlStore'...
Thu Jun 26 13:18:28 UTC 2003 [I] main: Successfully connected to database
Thu Jun 26 13:18:28 UTC 2003 [I] main: Registering object factories for persistent 
store...
Thu Jun 26 13:18:35 UTC 2003 [I] main: Dropped Sequence IDSET.
Thu Jun 26 13:18:35 UTC 2003 [I] main: Dropped Sequence GENSET.
Thu Jun 26 13:18:35 UTC 2003 [I] main: Dropped Table USER_TO_DOMAIN.
.
.
.
Thu Jun 26 13:18:39 UTC 2003 [I] main: Created Table FILE_CDM.
Thu Jun 26 13:18:40 UTC 2003 [I] main: Created SYS_MESS_TIME_IDX index.
Thu Jun 26 13:18:40 UTC 2003 [I] main: Created SYS_MESS_NODE_IDX index.
Thu Jun 26 13:18:40 UTC 2003 [I] main: No Consistency check for store.
Thu Jun 26 13:18:40 UTC 2003 [I] main: Successfully created management tables
Thu Jun 26 13:18:40 UTC 2003 [I] main: Registering object factories for persistent 
store...
Thu Jun 26 13:18:40 UTC 2003 [I] main: AStore Loading store data...
Thu Jun 26 13:18:41 UTC 2003 [I] main: ExtExpiresRecord Loaded 0 Expires records.
Thu Jun 26 13:18:41 UTC 2003 [I] main: Skipping Construction RdToClusterMappings on 
non-CDM node.
Thu Jun 26 13:18:41 UTC 2003 [I] main: AStore Done Loading. 336
Thu Jun 26 13:18:41 UTC 2003 [I] main: Created SYS_MESS_TIME_IDX index.
Thu Jun 26 13:18:41 UTC 2003 [I] main: Created SYS_MESS_NODE_IDX index.
Thu Jun 26 13:18:41 UTC 2003 [I] main: No Consistency check for store.
Thu Jun 26 13:18:41 UTC 2003 [I] main: Successfully initialized management tables
Node successfully registered with id 28940
Registration complete.
Warning: The device will now be managed by the CDM. Any configuration changes
made via CLI on this device will be overwritten if they conflict with settings on the CDM.
Please preserve running configuration using 'copy running-config startup-config'.
Otherwise management service will not be started on reload and node will be shown
'offline' in CDM UI.
management services enabled
ContentEngine(config)#

Related Commands

cms database

cms deregister

show cms

configure

To enter global configuration mode, use the configure EXEC command. You must be in global configuration mode to enter global configuration commands.

configure

To exit global configuration mode, use the end, Ctrl-Z, or exit commands.

Syntax Description

This command has no arguments or keywords.

Defaults

No default behavior or values

Command Modes

EXEC

Usage Guidelines

Use this command to enter global configuration mode.

Examples

ContentEngine# configure 
Enter configuration commands, one per line. End with CNTL/Z.
ContentEngine(config)# 

Related Commands

show running-config

show startup-config

end

exit

Ctrl-Z

copy

To copy configuration or image data from a source to a destination, use the copy EXEC command.

copy cdnfs disk url sysfs-filename

copy cdrom install filedir filename

copy compactflash install filename

copy disk {ftp {hostname | ip-address} remotefiledir remotefilename localfilename | startup-config filename}

copy ftp {disk {hostname | ip-address} remotefiledir remotefilename localfilename | install {hostname | ip-address} remotefiledir remotefilename}

copy http install {{hostname | ip-address} remotefiledir remotefilename | port port-num | proxy {hostname | ip-address} | username username password password}

copy running-config {disk filename | startup-config | tftp {hostname | ip-address} remotefilename}

copy startup-config {disk filename | running-config | tftp {hostname | ip-address} remotefilename}

copy system-status disk filename

copy tech-support {disk filename | tftp {hostname | ip-address} remotefilename}

copy tftp {disk {hostname | ip-address} remotefilename localfilename | running-config
{
hostname | ip-address} remotefilename | startup-config {hostname | ip-address} remotefilename}

no copy {cdnfs disk url sysfs-filename | cdrom install filedir filename | compactflash install filename | disk ftp {hostname | ip-address} remotefiledir remotefilename localfilename | disk startup-config filename | ftp {disk {hostname | ip-address} remotefiledir remotefilename localfilename | install {hostname | ip-address} remotefiledir remotefilename} | http install {{hostname | ip-address} remotefiledir remotefilename | port port-num | proxy {hostname | ip-address} port-num | username username password password} | running-config {disk filename | startup-config | tftp {hostname | ip-address} remotefilename} | startup-config {disk filename | running-config | tftp {hostname | ip-address} remotefilename} | system-status disk filename | tech-support {disk filename | tftp {hostname | ip-address} remotefilename} | tftp disk {hostname | ip-address} remotefilename localfilename | tftp running-config {hostname | ip-address} remotefilename} | tftp startup-config {hostname | ip-address} remotefilename

Syntax Description

cdnfs

Copies a file from the cdnfs to the sysfs.

disk

Copies a file to the disk.

url

URL of the cdnfs file to be copied to the sysfs.

sys-filename

Filename to be copied in the sysfs.

cdrom

Copies a file from the CD-ROM.

install

Installs the software release file.

filedir

Directory location of the software release file.

filename

Filename of the software release file.

compactflash

Copies a file from the CompactFlash card.

install

Installs a software release file.

filename

Image filename.

disk

Copies a local disk file.

ftp

Copies to a file on an FTP server.

hostname

Host name of the FTP server.

ip-address

IP address of the FTP server.

remotefiledir

Directory on the FTP server to which the local file is copied.

remotefilename

Name of the local file once it has been copied to the FTP server.

localfilename

Name of the local file to be copied.

startup-config

Copies the configuration file from the disk to startup configuration (NVRAM).

filename

Name of the existing configuration file.

ftp

Copies a file from an FTP server.

disk

Copies a file to a local disk.

hostname

Host name of the FTP server.

ip-address

IP address of the FTP server.

remotefiledir

Directory on the FTP server where the file to be copied is located.

remotefilename

Name of the file to be copied to the local disk.

localfilename

Name of the copied file as it appears on the local disk.

install

Copies the file from an FTP server and installs the software release file to the local device.

hostname

Name of the FTP server.

ip-address

IP address of the FTP server.

remotefiledir

Remote file directory.

remotefilename

Remote filename.

http install

Copies the file from an HTTP server and installs the software release file to a local device.

hostname

Name of the HTTP server.

ip-address

IP address of the HTTP server.

remotefiledir

Remote file directory.

remotefilename

Remote filename.

port

(Optional) Port to connect to the HTTP server (default is 80).

port-num

HTTP server port number (1-65535).

proxy

Allows the request to be redirected to an HTTP proxy server.

hostname

Name of the HTTP server.

ip-address

IP address of the HTTP server.

port-num

HTTP proxy server port number (1-65535).

username

Username to access the HTTP proxy server.

username

User login name.

password

User password to access the HTTP proxy server.

password

Establishes password authentication.

running-config

Copies the current system configuration.

disk

Copies the current system configuration to a disk file.

filename

Name of the file to be created on disk.

startup-config

Copies the running configuration to startup configuration (NVRAM).

tftp

Copies the running configuration to a file on a TFTP server.

hostname

Host name of the TFTP server.

ip-address

IP address of the TFTP server.

remotefilename

Remote filename of the configuration file to be created on the TFTP server. Use the complete path name.

startup-config

Copies the startup configuration.

disk

Copies the startup configuration to a disk file.

filename

Name of the startup configuration file to be copied to the local disk.

running-config

Copies the startup configuration to running configuration.

tftp

Copies the startup configuration to a file on a TFTP server.

hostname

Host name of the TFTP server.

ip-address

IP address of the TFTP server.

remotefilename

Remote filename of the startup configuration file to be created on the TFTP server. Use the complete path name.

system-status disk

Copies the system status to a disk file.

filename

Name of the file to be created on the disk.

tech-support

Copies system information for technical support.

disk

Copies system information for technical support to disk file.

filename

Name of the file to be created on disk.

tftp

Copies system information for technical support to a TFTP server.

hostname

Host name of the TFTP server.

ip-address

IP address of the TFTP server.

remotefilename

Remote filename of the system information file to be created on the TFTP server. Use the complete path name.

tftp

Copies an image from a TFTP server.

disk

Copies an image from a TFTP server to a disk file.

hostname

Host name of the TFTP server.

ip-address

IP address of the TFTP server.

remotefilename

Name of the remote image file to be copied from the TFTP server. Use the complete path name.

localfilename

Name of the image file to be created on the local disk.

running-config

Copies an image from a TFTP server to the running configuration.

hostname

Host name of the TFTP server.

ip-address

IP address of the TFTP server.

remotefilename

Name of the remote image file to be copied from the TFTP server. Use the complete path name.

startup-config

Copies an image from a TFTP server to the startup configuration.

hostname

Host name of the TFTP server.

ip-address

IP address of the TFTP server.

remotefilename

Name of the remote image file to be copied from the TFTP server. Use the complete path name.


Defaults

HTTP server port: 80

Command Modes

EXEC

Usage Guidelines

The copy cdnfs EXEC command copies data files out of the cdnfs to the sysfs for further processing, for example, to provide the copied files to the install imagefilename EXEC command for copying the cdnfs files to install the ACNS software.

The copy disk ftp command copies files from a sysfs partition to an FTP server. The copy disk startup-config command copies a startup configuration file to NVRAM.

The copy ftp disk command copies a file from an FTP server to a sysfs partition.

Use the copy ftp install command to install an image file from an FTP server. Part of the image goes to disk and part goes to flash memory.

Use the copy http install command to install an image file from an HTTP server and install it on a local device. It transfers the image from an HTTP server to the Content Engine using HTTP as the transport protocol and installs the software on the device. Part of the image goes to disk and part goes to flash memory. You can also use this command to redirect your transfer to a different location or HTTP proxy server, by specifying the proxy hostname | ip-address option. A username and a password will have to be authenticated with a primary domain controller (PDC) before the transfer of the software release file to the Content Engine is allowed.

Use the copy running-config command to copy the running system configuration to a sysfs partition, flash memory, or TFTP server. The copy running-config startup-config command is equivalent to the write memory command.

The copy startup-config command copies the startup configuration file to a TFTP server or to a sysfs partition.

The copy system-status command creates a file on a sysfs partition containing hardware and software status information.

The copy tech-support tftp command can copy technical support information to a TFTP server or to a a sysfs partition.

The copy tftp disk command copies a file from a TFTP server to disk.

Examples

The following example copies an image file from an FTP server and installs the file on the local device.

CE-590# copy ftp install 10.1.1.1 //users2/ACNS400BR/boot ce590-ACNS-400.bin
Enter username for remote ftp server:biff
Enter password for remote ftp server:
Initiating FTP download...
printing one # per 1MB downloaded
Sending:USER biff
10.1.1.1 FTP server (Version) Mon Feb 28 10:30:36 EST
2000) ready.
Password required for biff.
Sending:PASS *****  
User biff logged in.
Sending:TYPE I
Type set to I.
Sending:PASV
Entering Passive Mode (128,107,193,244,55,156)
Sending:CWD //users2/ACNS400BR/boot
CWD command successful.
Sending PASV
Entering Passive Mode (128,107,193,244,55,156)
Sending:RETR ce590-ACNS-400.bin
Opening BINARY mode data connection for ruby.bin (87376881 bytes).
###################################################################################
writing flash component:
.................................................................
The new software will run after you reload.
CE-590#

Related Commands

install

reload

show running-config

show startup-config

write

cpfile

To make a copy of a file, use the cpfile EXEC command.

cpfile oldfilename newfilename

Syntax Description

oldfilename

Name of the file to copy.

newfilename

Name of the copy to be created.


Defaults

No default behavior or values

Command Modes

EXEC

Usage Guidelines

Use this command to create a copy of a file. Only sysfs files can be copied.

Examples

ContentEngine# cpfile ce500-194616.bin cd500-194618.bin

Related Commands

copy

dir

lls

ls

mkfile

rmdir

rename

debug


Note We recommend that the debug command be used only at the direction of Cisco Systems technical support personnel. Content Engine performance is affected when you run the debug command.


To monitor and record caching application functions, use the debug EXEC command. Use the no form of the command to disable debug.

debug option

no debug option

Syntax Description

access-lists 300

Debugs the access control list.

dump

Dumps access control list contents.

query

Queries the access control list configuration.

username

Queries the access control list username.

username

User login name.

groupname

Queries the access control list group name.

groupnames

Name of group or groups of which the user is a member. Each groupname must be separated by a comma.

acquirer

Debugs the acquirer.

error

Sets the debug level to error.

trace

Sets the debug level to trace.

all

Enables all debugging.

authentication

Debugs authentication.

http-request

Debugs HTTP request authentication.

user

Debugs user login against system authentication.

authmod

Debugs authentication module.

all

Displays debug messages.

trace

Enables the request and response trace.

buf

Debugs buffer manager.

all

Debugs all buffer manager functions.

dmbuf

Debugs buffer manager dmbuf.

dmsg

Debugs buffer manager dmsg.

cdnfs

Debugs the ACNS network file system (cdnfs).

cdp

Debugs Cisco Discovery Protocol (CDP).

adjacency

Debugs CDP neighbor.

events

Debugs CDP events.

ip

Debugs CDP IP.

packets

Debugs packet-related CDP.

cli

Debugs the CLI command.

all

Debugs all CLI commands.

bin

Debugs CLI command binary program.

parser

Debugs CLI command parser.

cms

Debugs the CMS.

content-routing

Debugs content routing.

all

Debugs all content routing.

ce

Debugs Content Engine content routing.

config

Debugs content routing configuration.

dns

Debugs DNS content routing.

domain

Debugs content routing domain.

keepalive

Debugs content routing keepalive.

locks

Debugs content routing locks.

lookup

Debugs content routing lookup.

redir

Debugs content routing redirection.

route

Debugs content routing route.

rtsp

Debugs RTSP content routing.

stats

Debugs content routing statistics.