Table Of Contents
Cisco ACNS Software Commands
access-lists
acquirer
acquisition-distribution
asset tag
authentication
auto-register
autosense
bandwidth
bandwidth
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
dns
dns-cache
dnslookup
enable
end
error-handling
exception
exec-timeout
exit
external-ip
find-pattern
ftp
fullduplex
gui-server
halfduplex
help
hostname
http
https
icp
inetd
install
interface
ip
ip
ldap
lls
logging
ls
mediafs-division
mkdir
mkfile
mode
mtu
multicast
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-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 routes
show ldap
show logging
show mediafs
show memory
show multicast
show ntlm
show ntp
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 netstat
show statistics ntlm
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 trusted-hosts
show tvout
show url-filter
show user
show users
show version
show wccp
show wmt
shutdown
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
trusted-host
tvout
type
type-tail
undebug
url-filter
url-filter
username
wccp custom-web-cache
wccp flow-redirect
wccp home-router
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
whoami
wmt
wmt
write
Cisco ACNS Software Commands
This chapter contains an alphabetical listing of all commands of Cisco ACNS 5.0 software.
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.0 software, you can configure group authorization using an access control list (ACL) after a user has been authenticated against an NTLM or LDAP 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 authentication method, local, TACACS+, or RADIUS, must be enabled.
Note
It is recommended that the local method be configured.
In ACNS 5.0 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
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 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
Console(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.
acquirer {start-channel {channel-id channel_num | channel-name channel-name} | stop-channel
{channel-id channel_num | channel-name channel-name}}
Syntax Description
start-channel
|
Starts content acquisition for the selected channel number.
|
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 for the selected channel number.
|
Defaults
No default behaviors or values
Command Modes
EXEC
Usage Guidelines
In ACNS 5.0 software, the acquirer runs as a daemon and processes its acquisition tasks until it is notified of a change in its channel table. After the acquirer is notified of a change in its channel table, it updates its task list.
The acquirer start-channel command starts a content acquisition task for the specified channel ID or name. The acquirer checks the manifest file and, if an update is required, reprocesses it. The acquirer stop-channel command stops the current acquisition task for the specified channel ID or name, even if the Time To Live of the particular task has not expired.
Examples
In this example, the acquirer starts acquiring content on channel 86.
CDM# acquirer start-channel channel-id 86
CDM# acquirer start-channel channel-name corporate
In this example, the acquirer stops acquiring content on channel 86.
CDM# acquirer stop-channel channel-id 86
CDM# acquirer stop-channel channel-name corporate
Related Commands
show acquirer
show statistics acquirer
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.
|
start
|
Starts the acquisition and distribution process.
|
stop
|
Stops the acquisition and distribution process.
|
Defaults
No default behaviors or values
Command Modes
EXEC
Examples
The following example starts the acquisition and distribution database cleanup process .
CDM# acquisition-distribution start
The following example starts the acquisition and distribution process.
CDM# acquisition-distribution start
The following example stops the acquisition and distribution process.
CDM# acquisition-distribution stop
Related Commands
show acquirer
show distribution
asset tag
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
Console(config)# asset tag entitymib
authentication
To configure user authentication options, 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]}
no authentication {configuration {local | radius | tacacs} enable [primary | secondary |
tertiary]} | login {local | radius | tacacs} enable [primary | secondary | tertiary]}
Syntax Description
configuration
|
Sets configuration authentication (authorization).
|
local
|
Selects local method for authentication.
|
radius
|
Selects RADIUS server for authentication.
|
tacacs
|
Selects TACACS+ server for authentication.
|
enable
|
Enables database for configuration authentication.
|
primary
|
(Optional) Sets selected authentication database as the primary.
|
secondary
|
(Optional) Sets selected authentication database as the secondary.
|
tertiary
|
(Optional) Sets selected authentication database as the tertiary.
|
login
|
Sets login authentication database.
|
enable
|
Enables database for login authentication.
|
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 are maintained in three databases in ACNS 5.0 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.
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 enabled (tertiary)
Configuration Authentication: Console/Telnet Session
----------------------------- -----------------------
local enabled (secondary)
radius enabled (tertiary)
HTTP Request Authentication
The ACNS 5.0 software Cache application supports 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+ Authentication
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.0 software supports TACACS+ only and not TACACS or Extended TACACS.
TACACS+ provides both authentication and authorization options. To configure TACACS+, use the authentication and tacacs commands. To enable TACACS+, use the tacacs enable command.
Note
You must configure a TACACS+ server with the tacacs server global configuration command before you can enable the TACACS+ authentication method.
For more information on TACACS+ authentication, see the "tacacs" section.
NTLM 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.
RADIUS HTTP Request Authentication
RADIUS authentication clients reside on the Content Engine running ACNS 5.0 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.0 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.0 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 no-auth domain command. TACACS+, NTLM, RADIUS, or LDAP authentication takes place only if the site requested does not match the specified pattern.
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 parameter 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:
Console(config)# ldap server host www.someDomain.com port 390
To delete an LDAP server, use the no ldap server command.
Console(config)# no ldap server host 1.1.1.1
In this example, the host for the RADIUS server is configured:
Console(config)# radius-server 172.16.90.121
In this example, the length of time that entries are valid in the authentication cache is set:
Console(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).
Console(config)# http authentication header 407
End-to-End Authentication
The ACNS 5.0 software Cache application supports 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
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 Cache application 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.0 software Cache application 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.
Console(config)# no http authenticate-strip-ntlm
Console(config)# http cache-authenticated ntlm
Console# 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.
Console(config)# authentication login tacacs enable primary
Console(config)# authentication login local enable secondary
Console(config)# authentication configuration local enable secondary
Console(config)# authentication configuration tacacs enable primary
This is an example of the show authentication command.
Console# show authentication
Login Authentication: Console/Telnet Session
----------------------------- -----------------------
Configuration Authentication: Console/Telnet Session
----------------------------- -----------------------
This is an example of the show statistics authentication command.
Console# 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 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
|
Selects a Fast Ethernet interface for automatic registration using DHCP.
|
slot/port
|
Fast Ethernet slot (0-3) and port number.
|
GigabitEthernet
|
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
Interface 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 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 megabits per second (Mbps).
|
1000
|
Sets bandwidth to 1000 megabits per second (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
Usage Guidelines
Gigabit Ethernet interfaces run at 1000 Mbps only.
Examples
ContentEngine(config-if)# bandwidth 10
ContentEngine(config-if)# no bandwidth
Related Commands
interface
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 allow kbits {cisco-streaming-engine {start-time weekday hour end-time weekday
hour} | real-proxy {start-time weekday hour end-time weekday hour} | real-server
{start-time weekday hour end-time weekday hour} | wmt {start-time weekday hour end-time
weekday hour}}
Syntax Description
allow
|
Sets allowable bandwidth for streaming media.
|
kbits
|
Bandwidth size in kilobits per second (kbps) (1-2000).
|
cisco-streaming-engine
|
Configures the duration of allowable bandwidth settings for the Cisco Streaming Engine.
|
start-time
|
Sets the starting day of the week and hour (hh:mm) of allowable bandwidth.
|
weekday:
Friday Monday Saturday Sunday Thursday Tuesday Wednesday
|
Day of the week to start.
|
hour
|
Hour of the day to start (0-23).
|
end-time
|
Sets the ending day of the week and hour (hh:mm) of allowable bandwidth.
|
weekday
|
Day of the week to end.
|
hour
|
Hour of the day to end (0-23).
|
real-proxy
|
Configures the duration of allowable 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 behaviors 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
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
bypass load {enable | in-interval seconds | out-interval seconds | time-interval minutes}
bypass static clientipaddress {serveripaddress | any-server}
bypass static any-client serveripaddress
bypass timer minutes
no bypass {auth-traffic enable | load {enable | in-interval seconds | out-interval seconds |
time-interval minutes} | static {clientipaddress {serveripaddress | any-server} | any-client
serveripaddress} | timer minutes}
Syntax Description
auth-traffic
|
Sets authenticated traffic bypass configuration.
|
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.
|
clientipaddress
|
Requests from this IP address bypass the Content Engine.
|
serveripaddress
|
Requests from a specified client to this specific server 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.
|
serveripaddress
|
IP address of the web server to be bypassed.
|
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 features are available only with WCCP Version 2. The Content Engine can only set up a bypass for WCCP-redirected traffic, not proxy-style requests.
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).
If error-handling transparent (the default) is configured and 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.
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, it 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.
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
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
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 and primary or standby role settings, use the cdm global configuration command.
cdm {ip ip-address | role {primary | standby}}
Syntax Description
ip
|
Configures Content Distribution Manager IP address.
|
ip-address
|
IP address of Content Distribution Manager.
|
role
|
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.
|
Defaults
No default behavior or values
Command Modes
Global configuration
Examples
ContentEngine(config)# cdm ip 10.1.1.1
ContentEngine(config)# cdm role primary
ContentEngine(config)# cdm role standby
cdnfs
To manage the CDN 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 CDN file systems stores pre-positioned CDN content to be delivered by all supported protocols, including HTTP, WMT, MMS, and RTSP.
The cdnfs browse command is an interactive command and has the following subcommands used to view CDN files and directories:
ContentEngine# cdnfs browse
dir, ls: list directory contents
cd,chdir: change current working directory
info: display attributes of a file
more: page through 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.0 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.0 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 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://128.107.192.3/Soccer
Allowed Playback via HTTP WMT
cdn_uns_id d2CkEFiNwwaVNx+qI9KLeQ..
Live Stream Route for WMT Media stream is :
-->Next Hop = 128.107.150.203
-->Last Hop = 128.107.192.3
Related Commands
show cdnfs
show statistics cdnfs
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
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 using 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
cfs
To configure the cache object file system of the Content Engine, use the cfs EXEC command.
cfs clear partition [force]
cfs format partition
cfs mount partition
cfs reset partition
cfs sync partition
cfs 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 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
CDM# channel assign southeast se1 channel-root sales
CDM# channel create southeast se1 description salesoffice multicast-enabled
weak-certificate
channel-group
To add a physical Fast Ethernet port to a previously created Fast EtherChannel, 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.0 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)# 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 logging
clear statistics {access-lists 300 | all | authentication | content-routing | 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 | icp {all | client | server} | ip | ldap | ntlm | pre-load | radius | rtsp {proxy media-real |
server cisco-streaming-engine} | rule {action action-type | all} | running | tacacs | tcp |
transaction-logs | tvout | url-filter {http {local-list | N2H2 | websense} | rtsp local-list | wmt
local-list} | wmt}
clear transaction-log
clear users {administrative | request-authenticated}
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 HTTP cache.
|
url
|
HTTP 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.
|
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 HTTP statistics.
|
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.
|
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.
|
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 clent 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.
|
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 authenticated users.
|
administrative
|
Clears users with administrative privileges.
|
request-authenticated
|
Clears users authenticated by request.
|
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.
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.
Console(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-1) from 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-1) from UTC (0-59).
|
timezone
|
Configures standard time zone.
|
timezone
|
Name of time zone.
|
hoursoffset
|
Hours offset (see Table 2-1) from Coordinated Universal Time (-23 to +23).
|
minutesoffset
|
Minutes offset (see Table 2-1) 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-1 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-1 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 configuration management subsystem (CMS) embedded database parameters, use the cms EXEC command.
cms {database {backup | create | delete | maintenance {full | regular} | restore filename |
validate} | deregister [force]}
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.
|
maintenance
|
Cleans and reindexes the embedded database tables.
|
full
|
Configures a full maintenance routine of the embedded database tables.
|
regular
|
Configures a regular maintenance routine of 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.
|
Defaults
No default behavior or values
Command Modes
EXEC
Usage Guidelines
The CDN is a collection of Content Router, Content Engine, and Content Distribution Manager nodes. One primary Content Distribution Manager retains the CDN settings and provides other CDN nodes with updates. Communication between nodes occurs over secure channels using Secure Shell Layer (SSL) protocol, where each node on the CDN 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 a CDN, 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 CMS. The node sends its attribute information to the Content Distribution Manager over secure 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 Content Distribution Manager. This security key gives the node the ability to communicate with any other node in the CDN. The cms deregister command removes the node from the CDN 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
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.
CDM# cms database validate
Management tables are valid
Related Commands
cms enable
show cms
cms
To schedule maintenance and enable the configuration management subsystem (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}
no cms {database maintenance {full {enable | schedule weekday at time} | regular {enable |
schedule weekday at time}} | enable}
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.
|
Defaults
database maintenance regular: enabled
database maintenance full: enabled
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.
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 given node.
ContentEngine(config)# cms enable
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
Enter configuration commands, one per line. End with CNTL/Z.
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 cdrom install filedir filename
copy compactflash install filename
copy disk ftp {hostname | ip-address} remotefiledir remotefilename localfilename
copy disk startup-config filename
copy ftp disk {hostname | ip-address} remotefiledir remotefilename localfilename
copy ftp install {hostname | ip-address} remotefiledir remotefilename
copy http install {hostname | ip-address} remotefiledir remotefilename [port port_num]
copy running-config disk filename
copy running-config startup-config
copy running-config tftp {hostname | ip-address} remotefilename
copy startup-config disk filename
copy startup-config running-config
copy startup-config tftp {hostname | ip-address} remotefilename
copy system-status disk filename
copy tech-support disk filename
copy tech-support tftp {hostname | ip-address} remotefilename
copy tftp disk {hostname | ip-address} remotefilename localfilename
copy tftp running-config {hostname | ip-address} remotefilename
copy tftp startup-config {hostname | ip-address} remotefilename
no copy {copy 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] | 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
cdrom
|
Copies file from CD-ROM.
|
install
|
Installs software release file.
|
filedir
|
Directory location of software release file.
|
filename
|
Filename of software release file.
|
compactflash
|
Copies file from CompactFlash card.
|
install
|
Installs a software release file.
|
filename
|
Image filename.
|
disk ftp
|
Copies a local disk file to an FTP server.
|
hostname
|
Host name of FTP server.
|
ip-address
|
IP address of FTP server.
|
remotefiledir
|
Directory on the FTP server to which the local file is copied.
|
remotefilename
|
Name of local file when copied to the FTP server.
|
localfilename
|
Name of the local file to be copied.
|
disk startup-config
|
Copies configuration file from disk to startup configuration (NVRAM).
|
filename
|
Name of existing configuration file.
|
ftp disk
|
Copies file from an FTP server to a local disk.
|
hostname
|
Host name of FTP server.
|
ip-address
|
IP address of 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.
|
ftp 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 HTTP server (default is 80).
|
port_num
|
HTTP server port number (1-65535).
|
running-config disk
|
Copies current system configuration to a disk file.
|
filename
|
Name of file to be created on disk.
|
running-config startup-config
|
Copies running configuration to startup configuration (NVRAM).
|
running-config tftp
|
Copies running configuration to a file on a TFTP server.
|
hostname
|
Host name of TFTP server.
|
ip-address
|
IP address of TFTP server.
|
remotefilename
|
Remote filename of configuration file to be created on the TFTP server. Use the complete path name.
|
startup-config disk
|
Copies startup configuration to a disk file.
|
filename
|
Name of startup configuration file to be copied to the local disk.
|
startup-config running-config
|
Copies startup configuration to running configuration.
|
startup-config tftp
|
Copies startup configuration to a file on a TFTP server.
|
hostname
|
Host name of TFTP server.
|
ip-address
|
IP address of TFTP server.
|
remotefilename
|
Remote filename of startup configuration file to be created on the TFTP server. Use the complete path name.
|
system-status disk
|
Copies system status to disk file.
|
filename
|
Name of file to be created on disk.
|
tech-support disk
|
Copies system information for technical support to disk file.
|
filename
|
Name of file to be created on disk.
|
tech-support tftp
|
Copies system information for technical support to a TFTP server.
|
hostname
|
Host name of TFTP server.
|
ip-address
|
IP address of TFTP server.
|
remotefilename
|
Remote filename of system information file to be created on the TFTP server. Use the complete path name.
|
tftp disk
|
Copies image from a TFTP server to a disk file.
|
hostname
|
Host name of TFTP server.
|
ip-address
|
IP address of 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.
|
tftp running-config
|
Copies image from a TFTP server to the running configuration.
|
hostname
|
Host name of TFTP server.
|
ip-address
|
IP address of TFTP server.
|
remotefilename
|
Name of the remote image file to be copied from the TFTP server. Use the complete path name.
|
tftp startup-config
|
Copies image from a TFTP server to the startup configuration.
|
hostname
|
Host name of TFTP server.
|
ip-address
|
IP address of TFTP server.
|
remotefilename
|
Name of the remote image file to be copied from the TFTP server. Use the complete path name.
|
Defaults
No default behavior or values
Command Modes
EXEC
Usage Guidelines
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 from an HTTP server. It transfers the image from an HTTP server to the Content Engine using HTTP as transport protocol and installs the software on the device. Part of the image goes to disk and part goes to Flash memory.
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
10.1.1.1 FTP server (Version) Mon Feb 28 10:30:36 EST
Password required for biff.
Entering Passive Mode (128,107,193,244,55,156)
Sending:CWD //users2/ACNS400BR/boot
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).
###################################################################################
.................................................................
The new software will run after you reload.
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. Cache performance is impacted when you run the debug command.
To monitor and record cache software 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 CDN 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.
|
verbose
|
Debugs content routing verbose mode.
|
dataserver
|
Debugs data server.
|
all
|
Debuts all data server functions.
|
clientlib
|
Debugs data server client library module.
|
server
|
Debugs data server module.
|
dhcp
|
Debugs the DHCP.
|
distribution
|
Debugs distribution components.
|
all
|
Debugs all distribution components.
|
error
|
Debugs all distribution components to error level 1 (show error).
|
trace
|
Debugs all distribution components to trace level 2 (show error and trace).
|
metadata-receiver
|
Debugs metadata receiver distribution component.
|
error
|
Debugs metadata receiver distribution component to error level 1.
|
trace
|
Debugs metadata receiver distribution component to trace level 2.
|
metadata-sender
|
Debugs metadata sender distribution component.
|
error
|
Debugs metadata sender distribution component to error level 1.
|
trace
|
Debugs metadata sender distribution component to trace level 2.
|
multicast-receiver
|
Debugs multicast receiver distribution component.
|
error
|
Debugs multicast receiver distribution component to error level 1.
|
trace
|
Debugs multicast receiver distribution component to trace level 2.
|
multicast-sender
|
Debugs multicast sender distribution component.
|
error
|
Debugs multicast sender distribution component to error level 1.
|
trace
|
Debugs multicast sender distribution component to trace level 2.
|
unicast-receiver
|
Debugs unicast receiver distribution component.
|
error
|
Debugs unicast receiver distribution component to error level 1.
|
trace
|
Debugs unicast receiver distribution component to trace level 2.
|
unicast-sender
|
Debugs unicast sender distribution component.
|
error
|
Debugs unicast sender distribution component to error level 1.
|
trace
|
Debugs unicast sender distribution component to trace level 2.
|
dns
|
Debugs the DNS.
|
all
|
Debugs all of the DNS.
|
cache
|
Debugs the DNS cache.
|
client
|
Debugs the DNS client.
|
config
|
Debugs the DNS configuration.
|
driver
|
Debugs the DNS driver.
|
memory
|
Debugs the DNS memory.
|
parser
|
Debugs the DNS parser.
|
response
|
Debugs the DNS response.
|
retry
|
Debugs the DNS response.
|
servers
|
Debugs the DNS servers.
|
emdb
|
Debugs embedded database.
|
level
|
(Optional) Debug level.
|
(0-16)
|
Debug level 0 through 16.
|
ftp
|
Debugs FTP.
|
all
|
Debugs all FTP functions.
|
cache
|
Debugs FTP cache.
|
client
|
Debugs FTP client.
|
server
|
Debugs FTP server.
|
http
|
Debugs HTTP commands.
|
all
|
Debugs all HTTP functions.
|
cache
|
Debugs HTTP cache.
|
content-router
|
Debugs HTTP content routing.
|
header
|
Debugs HTTP header.
|
hit
|
Debugs HTTP hit.
|
miss
|
Debugs HTTP miss.
|
parser
|
Debugs HTTP parser.
|
plugin
|
Debugs HTTP plug-in.
|
proxy
|
Debugs HTTP proxy.
|
server
|
Debugs HTTP server.
|
http-authcache
|
Debugs the authentication cache.
|
all
|
Debugs all the authentication cache functions.
|
application
|
Debugs application module.
|
cli
|
Debugs CLI module.
|
daemon
|
Debugs daemon client module.
|
https
|
Debugs HTTPS.
|
all
|
Debugs all HTTPS functions.
|
cli
|
Debugs HTTPS CLI.
|
header
|
Debugs HTTPS header.
|
parser
|
Debugs HTTPS parser.
|
proxy
|
Debugs HTTPS proxy.
|
icp
|
Debugs ICP.
|
all
|
Debugs all ICP functions.
|
client
|
Debugs ICP client module.
|
ex
|
Debugs ICP exclude module.
|
heal
|
Debugs ICP healing module.
|
main
|
Debugs ICP main module.
|
parse
|
Debugs ICP parser module.
|
print
|
Debugs ICP printer module.
|
server
|
Debugs ICP server module.
|
utils
|
Debugs ICP utilities module.
|
logging
|
Debugs logging.
|
all
|
Debugs all logging functions.
|
ntp
|
Debugs NTP.
|
pre-load
|
Debugs preload.
|
all
|
(Optional) Debugs all preload functions.
|
rbcp
|
Debugs RBCP (Router Blade Configuration Protocol) functions.
|
rpc
|
Displays remote procedure calls (RPC) logs.
|
detail
|
Displays RPC logs of priority "detail" level or higher.
|
trace
|
Displays RPC logs of priority "trace" level or higher.
|
rtsp
|
Debugs RTSP functions.
|
gateway
|
Debugs RTSP gateway.
|
error
|
Debugs RTSP gateway to level 1 (show error)
|
trace
|
Debugs RTSP gateway to level 2 (show error and trace)
|
proxy media-real
|
Debugs RTSP RealProxy.
|
real-all
|
Debugs all RealProxy plug-ins.
|
real-allowance
|
Debugs RealProxy allowance plug-in.
|
real-cache
|
Debugs RealProxy cache plug-in.
|
real-stats
|
Debugs RealProxy statistics plug-in.
|
rule
|
Debugs Rules Template.
|
action
|
Debugs rule action.
|
all
|
Debugs all rule functions.
|
pattern
|
Debugs rule pattern.
|
snmp
|
Debugs SNMP.
|
all
|
Debugs all SNMP functions.
|
cli
|
Debugs SNMP CLI.
|
main
|
Debugs SNMP main.
|
mib
|
Debugs SNMP MIB.
|
traps
|
Debugs SNMP traps.
|
standby
|
Debugs standby.
|
all
|
(Optional) Debugs all standby functions.
|
stats
|
Debugs statistics.
|
all
|
Debugs all statistics functions.
|
collection
|
Debugs statistics collection.
|
computation
|
Debugs statistics computation.
|
history
|
Debugs statistics history.
|
translog
|
Debugs transaction logging.
|
all
|
Debugs all transaction logging.
|
archive
|
Debugs transaction log archive.
|
export
|
Debugs transaction log FTP export.
|
tvout
|
Debugs TV output.
|
all
|
Debugs all TV output.
|
device
|
Debugs TV output device.
|
playlist
|
Debugs TV output playlist.
|
schedule
|
Debugs TV output schedule.
|
url-filter
|
Debugs URL filtering.
|
local-list
|
Debugs URL local bad or local good list filtering.
|
N2H2
|
Debugs URL N2H2 filtering.
|
websense
|
Debugs URL Websense filtering.
|
wccp
|
Debugs WCCP information.
|
all
|
Debugs all WCCP functions.
|
detail
|
Debugs WCCP details.
|
error
|
Debugs WCCP error.
|
events
|
Debugs WCCP events.
|
keepalive
|
Debugs WCCP keepalives sent to applications.
|
packets
|
Debugs WCCP packet-related information.
|
slowstart
|
Debugs WCCP slow start.
|
wi
|
Debugs web interface.
|
wmt
|
Debugs WMT component.
|
error
|
Debugs WMT level 1 functionality.
|
client-ip cl_ip-address
|
(Optional) Debugs request from a specific client IP address to level 1 (show error).
|
server-ip sv_ip-address
|
(Optional) Debugs request to a specific server IP address to level 1 (show error).
|
trace
|
Debugs WMT level 2 functionality.
|
client-ip cl_ip-address
|
Debugs request from a specific client IP address to level 2 (show error and trace).
|
server-ip sv_ip-address
|
Debugs request to a specific server IP address to level 2 (show error and trace).
|
Defaults
No default behavior or values
Command Modes
EXEC
Usage Guidelines
We recommend that the debug command be used only at the direction of Cisco Systems technical support personnel. Cache performance is affected when you run the debug command. Use the show debugging command to display enabled debug options.
Related Commands
show debugging
undebug
delfile
To delete a file, use the delfile EXEC command.
delfile filename
Syntax Description
filename
|
Name of the file to delete.
|
Defaults
No default behavior or values
Command Modes
EXEC
Usage Guidelines
Use this command to remove a file from a sysfs partition.
Examples
ContentEngine# delfile /local1/tempfile
Related Commands
cpfile
deltree
mkdir
mkfile
rmdir
deltree
To remove a directory with its subdirectories and files, use the deltree EXEC command.
deltree directory
Syntax Description
directory
|
Name of the directory tree to delete.
|
Defaults
No default behavior or values
Command Modes
EXEC
Usage Guidelines
Use this command to remove a directory and all files within the directory from the Content Engine sysfs file system. Do not remove files or directories required for proper Content Engine functioning.
Examples
ContentEngine# deltree /local1/testdir
Related Commands
delfile
mkdir
mkfile
rmdir
device
To configure the mode of operation on a device to be that of a Content Distribution Manager, Content Engine, or Content Router, use the device global configuration command.
device mode {content-distribution-manager | content-engine | content-router}
Syntax Description
mode
|
Sets the mode of operation of a device to Content Distribution Manager, Content Engine, or Content Router.
|
content-distribution-manager
|
Configures the device operation mode to be Content Distribution Manager.
|
content-engine
|
Configures the device operation mode to be Content Engine.
|
content-router
|
Configures the device operation mode to be Content Router.
|
Defaults
The default device operation mode is Content Engine.
Command Modes
Global configuration
Usage Guidelines
Because different device modes require disk space to be used in different ways, disk space must also be configured when the device mode changes from being a Content Engine or Content Router to a Content Distribution Manager (or the other way around). You must reboot the device before the configuration changes to the device mode take effect.
Disks must be configured before device configuration is changed. Use the disk configure command to configure the disk before reconfiguring the device to the Content Engine or Content Router mode. Use the disk cdm command to configure the disk before reconfiguring the device to the Content Distribution Manager mode. The disk cdm command configures a large file system for the Content Distribution Manager database and other storage and a smaller partition for syslog and user file storage. Disk configuration changes using either the disk configure or disk cdm commands take effect after the next device reboot.
Note
Data stored on the disk of the device before the device is reconfigured will be lost after the next reboot. Before the next reboot, entering the disk cancel-config command will undo the effects of the disk cdm command.
To enable content routing, use the content-routing enable command while in the Content Engine mode. Use the no form of this command to disable content routing. Before content routing can be enabled or disabled, a device reboot is required.
To enable CDN-related applications and services, use the cdn enable command. Use the no form of this command to disable the CDN.
Device mode information is stored on disk, and the current device mode displayed by the show running or show tech-support command. Disk configuration details are displayed by issuing the show disk details command.
Examples
The following examples show the configuration from the default mode, Content Engine, to the Content Distribution Manager, Content Router, and Content Engine modes, respectively.
ContentEngine(config)# device mode content-distribution-manager
CDM(config)# device mode content-router
ContentRouter(config)# device mode content engine
Related Commands
show device-mode
dir
To view a long list of files in a directory, use the dir EXEC command.
dir [directory]
Syntax Description
directory
|
(Optional) Name of the directory to list.
|
Defaults
No default behavior or values
Command Modes
EXEC
Usage Guidelines
Use this command to view a detailed list of files contained within the working directory, including names, sizes, and time created. The equivalent command is lls.
Examples
size time of last change name
-------------- ------------------------- -----------
3931934 Tue Sep 19 10:41:32 2000 errlog-cache-20000918-164015
431 Mon Sep 18 16:57:40 2000 ii.cfg
431 Mon Sep 18 17:27:46 2000 ii4.cfg
431 Mon Sep 18 16:54:50 2000 iii.cfg
1453 Tue Sep 19 10:34:03 2000 syslog.txt
1024 Tue Sep 19 10:41:31 2000 <DIR> testdir
Related Commands
ls
lls
disable
To turn off privileged EXEC commands, use the disable EXEC command.
disable
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Usage Guidelines
The disable command places you in the user-level EXEC shell. To turn privileged EXEC mode back on, use the enable command.
Examples
Related Commands
enable
disk
To configure disks and allocate disk space for devices that are using ACNS software, use the disk EXEC command.
disk add diskname {cdnfs {remaining | partition_size} | cfs {remaining | partition_size} | mediafs
{remaining | partition_size} | sysfs {remaining | partition_size}}
disk cancel-config
disk config sysfs {remaining {{cdnfs {remaining | partition_size} | cfs {remaining |
partition_size} | mediafs {remaining | partition_size}} | partition_size {{cdnfs {remaining |
partition_size} | cfs {remaining | partition_size} | mediafs {remaining | partition_size}}}
disk raid-array add-array
disk raid-array repair diskname
disk recover
Syntax Description
add
|
Adds a single disk with specified partitions.
|
diskname
|
Name of the disk to be added (disk01, disk02, and so on).
|
cdnfs
|
File system used for the CDN files.
|
remaining
|
Remaining disk size after other file system disk sizes have been specified.
|
partition_size
|
Size of the disk partition, designated in megabytes, gigabytes, or as a percentage of the total system storage.
|
cfs
|
File system used for storing HTTP objects.
|
mediafs
|
File system used for storing RealMedia objects.
|
sysfs
|
File system used for log and user files.
|
cancel-config
|
Cancels the disk configuration.
|
config
|
Configures disk space among file system functions.
|
raid-array
|
Manages the Storage Array for the CDM-4650.
|
add-array
|
Creates logical drives on the Storage Array.
|
repair
|
Rebuilds logical drives on the Storage Array.
|
diskname
|
Name of the disk to be repaired.
|
recover
|
Recovers the system disk (disk00).
|
Defaults
No default behavior or values
Command Modes
EXEC
Usage Guidelines
Use the disk config command to configure disk allocations.
Note
If you are using a CE-507, the maximum allocation for the cfs with the CDN application enabled is 6 GB because of memory restrictions in the CE-507.
For example, adjust the disk storage allocations as follows:
ContentEngine# disk config sysfs 2GB cfs 6GB mediafs 2GB cdnfs remaining
Use the disk cancel-config command to cancel the configuration.
Use the disk add command to add a single disk with specified partitions.
Use the disk raid-array add-array command to create a logical disk for the Storage Array that is recognized by the CDM-4650 RAID controller.
Use the disk raid-array repair command to rebuild a RAID disk array after a single disk in the array fails.
Note
In ACNS 5.0 software, the disk add command does not support disk00 but supports disk01 or higher, where the drive in the slot is a blank new replacement disk. Use the disk recover command rather than the disk add command to add disk00.
Examples
In the following example of the disk config sysfs command, 10 percent of the total storage is allocated to the sysfs and 30 percent to every other file system.
ContentEngine# disk config sysfs 10% mediafs 30% cdnfs 30% cfs 30%
Disk configured successfully.
New configuration will take effect after reload.
Please remove this device from the CDM (if any) before reboot this device, as this
device's configuration will be stale due to disk repartition.
Related Commands
show disks
show cfs
show cdnfs
show mediafs
show statistics
dns
To configure the Content Engine's DNS cache, use the dns global configuration command. To disable the DNS cache, use the no form of this command.
dns {enable | listen {ip-address port port_num hostname hostname | all port port_num hostname
hostname} | max-cache-memory max_mem | pin {both hostname ip-address | cname records
| forward hostname ip-addresses | reverse hostname ip-address} | retry-period seconds |
retry-timeout seconds | serial-lookup}
no dns {enable | listen ip-address port port_num hostname hostname | all port port_num
hostname hostname | max-cache-memory max_mem | pin {both hostname ip-address | cname
records | forward hostname ip-addresses | reverse hostname ip-address} | retry-period
seconds | retry-timeout seconds | serial-lookup}
Syntax Description
enable
|
Enables the Content Engine's DNS cache for resolution of DNS names to addresses.
|
listen
|
Configures IP address and port number that the DNS cache uses to listen for requests.
|
ip-address
|
IP address on the host (limit is 64).
|
port
|
Configures DNS cache listener port number.
|
port_num
|
Port number (1-65535).
|
hostname
|
Configures listener host name to be mapped to IP address.
|
hostname
|
Host name of listener.
|
all
|
Binds DNS cache listener to any IP address on the host.
|
port
|
Configures DNS cache listener port number.
|
port_num
|
Port number (1-65535).
|
hostname
|
Configures listener host name to be mapped to IP address.
|
hostname
|
Host name of listener.
|
max-cache-memory
|
Sets maximum size of the cache memory.
|
max_mem
|
Maximum memory to be used in megabytes (5-512).
|
pin
|
Statically maps the IP addresses and host names.
|
both
|
Inserts bidirectional mapping.
|
hostname
|
Host name of bidirectional mapping to IP address.
|
ip-address
|
IP address of bidirectional mapping.
|
cname
|
Inserts CNAME mapping.
|
records
|
Maps CNAME to the address (A) records (maximum of 8).
|
forward
|
Inserts forward mapping.
|
hostname
|
Host name mapped to the forward IP address.
|
ip-addresses
|
Forward IP addresses (maximum of 8).
|
reverse
|
Inserts reverse mapping.
|
hostname
|
Host name mapped to the reverse IP address.
|
ip-address
|
Reverse IP address.
|
retry-period
|
Sets maximum time period before an unanswered request is discarded.
|
seconds
|
Maximum amount of time to wait before retries, in seconds (1-120).
|
retry-timeout
|
Sets the time in seconds between request retries.
|
seconds
|
Time between requests in seconds (1-10).
|
serial-lookup
|
Queries configured name servers repeatedly if the primary response is negative.
|
Defaults
No default behavior or values
Command Modes
Global configuration
Usage Guidelines
Use the dns enable command to start the DNS server after the listener port is configured. Enabling the DNS server creates an entry of 127.0.0.1 as the name server for the system and starts the memory-based DNS cache. Use no dns enable to disable the DNS cache.
The dns listen command configures the DNS server port to listen for new client queries and invokes query resolution routines. Once the host name has been resolved to an IP address, it is stored in the memory-based DNS cache.
It is important that you impose a strict maximum memory limit within which the DNS server operates so as not to unduly tax the overall system resources. Use the dns max-cache-memory command to set the maximum size of the cache memory.
The DNS server must know the DNS name of the host on which it is being enabled and map the name to an IP address within its own cache. If the dns listen command name does not match a DNS name, use the pin commands to pin an IP address to name mapping. The dns pin commands (both, cname, forward, and reverse) allow you to lock an IP address against a name within the cache. The forward command maps the host name to the IP address. The reverse command maps the IP address to the host name. The both command maps in both the forward and reverse directions. The cname command inserts CNAME mapping.
The dns retry-period command sets the time period before an unanswered request is discarded. The dns retry-timeout command sets the time between retransmission of UDP DNS requests sent to an upstream DNS server. Since the DNS protocol is using UDP packets that can be lost or dropped, the burden of retransmitting DNS requests is on the requester. Typically, a retransmit is initiated every 3 seconds until a response is received, or if a response is not received, the request times out after 60 seconds. If a DNS server times out, then a new upstream server is selected to query. If there are no more servers to query upstream, then the server returns a DNS failed response to the requesting client. The dns serial-lookup queries configured name servers repeatedly if the primary response is negative.
Examples
In the following example, the listener IP address, port number, and host name are configured. The DNS cache is then enabled.
ContentEngine(config)# dns listen 10.1.1.0 port 53 hostname acme
ContentEngine(config)# dns enable
The following example sets the DNS cache retry timeout period.
ContentEngine(config)# dns retry-timeout 10
Related Commands
dns-cache
dns-cache
To configure the maximum web proxy DNS cache size, use the dns-cache global configuration command. To disable the DNS cache, use the no form of this command.
dns-cache size max_num
no dns-cache size
Syntax Description
size
|
Sets the DNS cache size.
|
max_num
|
Maximum number of cache records (4096-65536).
|
Defaults
No default behavior or values
Command Modes
Global configuration
Usage Guidelines
Cache size refers to the maximum number of DNS cache entries. Domain name resolution requires that at least one DNS name server be configured with the ip name-server command. The DNS cache goes online when the ip name-server command is configured, and goes offline when the last IP name server configuration is deleted with the no ip name-server ip-address command.
Examples
In the following example, the DNS cache size is set to 20,000 records.
ContentEngine(config)# dns-cache size 20000
In the following example, the DNS cache is disabled with the no form of the dns-cache command.
ContentEngine(config)# no dns-cache size
Related Commands
ip name-server
clear dns-cache
dnslookup
show statistics dns-cache
dnslookup
To resolve a host or domain name to an IP address, use the dnslookup EXEC command.
dnslookup {hostname | domainname}
Syntax Description
hostname
|
Name of host on the network.
|
domainname
|
Name of domain.
|
Defaults
No default behavior or values
Command Modes
EXEC
Examples
In the following three examples, the dnslookup command is used to resolve the host name myhost to IP address 172.31.69.11, cisco.com to IP address 192.168.219.25, and the host name IP address.
ContentEngine# dnslookup myhost
official hostname: myhost.cisco.com
ContentEngine# dnslookup cisco.com
official hostname: cisco.com
ContentEngine# dnslookup 10.0.11.0
official hostname: 10.0.11.0
enable
To access privileged EXEC commands, use the enable EXEC command.
enable
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC
Usage Guidelines
To access privileged EXEC mode from user EXEC mode, use the enable command. The disable command takes you from privileged EXEC mode to user EXEC mode.
Examples
Related Commands
disable
exit
end
To exit global configuration mode, use the end global configuration command.
end
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
Global configuration
Usage Guidelines
Use the end command to exit global configuration mode after completing any changes to the running configuration. To save new configurations to NVRAM, use the write command.
The Ctrl-Z command also exits global configuration mode.
Examples
ContentEngine(config)# end
Related Commands
exit
Ctrl-Z
error-handling
To set error-handling options on the Content Engine, use the error-handling command in global configuration mode. To undo the error handling options, enter the no form of the command.
error-handling {reset-connection | send-cache-error | transparent}
no error-handling
Syntax Description
reset-connection
|
Resets the TCP connection without specifying any error.
|
send-cache-error
|
Sends cache error.
|
transparent
|
Makes the cache transparent to the client.
|
Defaults
The default is the error-handling transparent option.
Command Modes
Global configuration
Usage Guidelines
The error-handling transparent option is set by default, so that the Content Engine will not send errors to the client but will bypass the client connections to the server. Setting the error-handling send-cache-error command will send a Content Engine-generated error page to the client. Using the reset-connection option resets the TCP client connection.
If error handling is set to transparent, the Content Engine adds the client/server pair to the WCCP bypass list. The Content Engine will send a retry message to the client. The retried connection from the client is then bypassed by the Content Engine.
A transparent error bypass is triggered only if the following conditions exist:
•
The Content Engine is configured to preserve transparency as opposed to preserving confinement and control.
•
The transaction is transparently intercepted.
•
The WCCP module (that is, WCCP Version 2 or later module) on the Content Engine is capable of performing a bypass.
For a client request, bypass occurs under the following conditions:
•
If the request is malformed and fails to parse
•
If the client is denied access
•
If the client fails proxy authentication
For a server response, bypass occurs under the following conditions:
•
If the response is not obtained explicitly through an outgoing proxy
•
If the request is malformed and fails to parse
•
If the request has a 501, 502, 503, 504, or 505 status code, which may indicate that an error exists on the server
With the transparent option enabled, end users can receive browser-generated messages rather than a Content Engine-generated HTML page for errors that the Content Engine encounters while processing a client request or response. Thus, the Content Engine remains transparent (invisible) to the end user.
Transparent error reporting is implemented as follows:
•
Content Engine running WCCP Version 2
To make the source of the error messages transparent to the user, the client/server pair is added to the bypass list and an HTTP redirect message is sent to the client, requesting the client to redirect the request to the same URL as before. The client, on receiving the redirect message, sends back the request once again. This time, the request is bypassed by the Content Engine because the client/server pair is on the bypass list. The request now goes to the server directly. Because the connection was not accepted by the Content Engine, any timeout error, failure to connect to the server, or mangled response from the server is handled by the browser. Currently all entries on the bypass list are kept for a configurable period of time (the default is 20 minutes).
With the reset-connection option, a reset is sent back to the client and the connection is closed if it encounters an error from the server. When a browser receives a connection reset, it displays a "Connection Reset By Peer" alert box.
•
Content Engine running WCCP Version 1
For all error conditions, the Content Engine sends back a reset and closes the connection. It does not send back any error pages. All errors seen by the clients are in the familiar browser error format.
•
Content Engine acting as an incoming proxy server
The Content Engine sends back HTML error pages. When clients are using the Content Engine as an incoming proxy server, they receive the HTML error pages generated by the Content Engine.
Examples
ContentEngine(config)# error-handling transparent
exception
Note
We recommend that the exception debug and exception coredump commands be used only at the direction of Cisco Systems technical support personnel. Cache performance is affected when you run the exception debug or exception coredump command.
To enable error handling or debug mode, use the exception debug global configuration command. To revert to the default value, use the no form of this command.
exception {coredump | debug}
no exception {coredump | debug}
Syntax Description
coredump
|
Causes proxy processes to do a core dump if the system crashes.
|
debug
|
Causes proxy processes to hang if the system crashes, until they are explicitly killed.
|
Defaults
The default is disabled.
Command Modes
Global configuration
Examples
ContentEngine(config)# exception ?
debug if enabled, proxy processes will hang there until someone kills it
ContentEngine(config)# exception disable
ContentEngine(config)# no exception disable
Related Commands
debug
exec-timeout
To configure the length of time that an inactive Telnet session remains open, use the exec-timeout global configuration command. To revert to the default value, use the no form of this command.
exec-timeout timeout
no exec-timeout
Syntax Description
timeout
|
Timeout in minutes (0-44,640).
|
Defaults
The default is 15 minutes.
Command Modes
Global configuration
Usage Guidelines
A Telnet session with the Content Engine can remain open and inactive for the interval of time specified by the exec-timeout command. When the exec-timeout interval elapses, the Content Engine automatically closes the Telnet session.
Examples
ContentEngine(config)# exec-timeout 100
ContentEngine(config)# no exec-timeout
exit
To access the EXEC command shell from the global, interface, and debug configuration command shells, use the exit command.
exit
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC, global configuration, and interface configuration
Usage Guidelines
Use the exit command in any configuration mode to return to EXEC mode. This is equivalent to the Ctrl-Z or the end command.
The exit command issued in the user level EXEC shell terminates the console or Telnet session.
Examples
ContentEngine(config)# exit
Related Commands
end
external-ip
To configure up to eight external Network Address Translation (NAT) IP addresses, use the external-ip command in global configuration mode.
external-ip ip-addresses
no external-ip ip-addresses
Syntax Description
ip-addresses
|
A maximum of eight external (NAT) IP addresses can be configured.
|
Defaults
No default behavior or values
Command Modes
Global configuration
Usage Guidelines
Use this command to configure up to eight Network Address Translation IP addresses to allow the router to translate up to eight internal addresses to registered unique addresses and translate external registered addresses to addresses that are unique to the private network.
Examples
ContentEngine(config)# external-ip 192.168.43.1 192.168.43.2 192.168.43.3 192.168.43.4
find-pattern
To search for a particular pattern in a file, use the find-pattern command in EXEC mode.
find-pattern {binary reg-express filename | case {binary reg-express filename | count reg-express
filename | lineno reg-express filename | match reg-express filename | nomatch reg-express
filename | recursive reg-express filename} | count reg-express filename | lineno reg-express
filename | match reg-express filename | nomatch reg-express filename | recursive reg-express
filename}
Syntax Description
binary
|
Does not suppress the binary output.
|
reg-express
|
Regular expression to be matched.
|
filename
|
Filename.
|
case
|
Matches case-sensitive pattern.
|
count
|
Prints the number of matching lines.
|
lineno
|
Prints the line number with output.
|
match
|
Prints the matching lines.
|
nomatch
|
Prints the nonmatching lines.
|
recursive
|
Searches a directory recursively.
|
Defaults
No default behavior or values
Command Modes
EXEC
Usage Guidelines
Use this command to search for a particular regular expression pattern in a file.
Examples
ContentEngine# find-pattern binary
ftp
To configure FTP caching services on the Content Engine, use the ftp global configuration command. Use the no form of this command to selectively disable options.
ftp age-multiplier directory-listing dl_time file fo_time
ftp max-ttl days directory-listing dlmax_days file fmax_days
ftp max-ttl hours directory-listing dlmax_hours file fmax_hours
ftp max-ttl minutes directory-listing dlmax_min file fmax_min
ftp max-ttl seconds directory-listing dlmax_sec file fmax_sec
ftp min-ttl min_minutes
ftp object max-size size
ftp proxy active-mode enable
ftp proxy anonymous-pswd passwd
ftp proxy incoming ports
ftp proxy outgoing host {hostname | ip-address} port
ftp reval-each-request {all | directory-listing | none}
no ftp {age-multiplier directory-listing dl_time file fo_time | max-ttl {days directory-listing
dlmax_days file fmax_days | hours directory-listing dlmax_hours file fmax_hours | minutes
directory-listing dlmax_min file fmax_min | seconds directory-listing dlmax_sec file
fmax_sec} | min-ttl min_minutes | object max-size size | proxy {active-mode enable |
anonymous-pswd passwd | incoming ports | outgoing host {hostname | ip-address} port |
reval-each-request {all | directory-listing | none}}
Syntax Description
age-multiplier
|
FTP caching heuristic modifiers.
|
directory-listing
|
Specifies heuristic modifier of directory listing objects.
|
dl_time
|
Expiration time of directory listing objects as a percentage of their age (0-100). The default is 30.
|
file
|
Specifies heuristic modifier of file objects.
|
fo_time
|
Expiration time of file objects as a percentage of their age (0-100). The default is 60.
|
max-ttl
|
Sets maximum Time To Live for objects in the cache.
|
days
|
Sets maximum Time To Live units in days.
|
directory-listing
|
Sets maximum Time To Live for directory listing objects in days.
|
dlmax_days
|
Maximum Time To Live in days for directory listing objects (1-1825). The default is 7 days.
|
file
|
Sets maximum Time To Live for file objects in days.
|
fmax_days
|
Maximum Time To Live in days (1-1825). The default is 3 days.
|
hours
|
Sets maximum Time To Live units in hours.
|
directory-listing
|
Sets maximum Time To Live for directory listing objects in hours.
|
dlmax_hours
|
Maximum Time To Live for directory listing objects in hours (1-43800). The default is 72 hours.
|
file
|
Sets maximum Time To Live for file objects in hours.
|
fmax_hours
|
Maximum Time To Live for file objects in hours (1-43800). The default is 168 hours.
|
minutes
|
Sets maximum Time To Live units in minutes.
|
directory-listing
|
Sets maximum Time To Live for directory listing objects in minutes.
|
dlmax_ min
|
Maximum Time To Live for directory listing objects in minutes (1-2628000). The default is 4320 minutes.
|
file
|
Sets maximum Time To Live for file objects in minutes.
|
fmax_min
|
Maximum Time To Live for file objects in minutes (1-2628000). The default is 10080 minutes.
|
seconds
|
Sets maximum Time To Live units in seconds.
|
directory-listing
|
Sets maximum Time To Live for directory listing objects in seconds.
|
dlmax_ sec
|
Maximum Time To Live for directory listing objects in seconds (1-157680000). The default is 259200 seconds.
|
file
|
Sets maximum Time To Live for file objects in seconds.
|
fmax_sec
|
Maximum Time To Live for file objects in seconds (1-157680000). The default is 604800 seconds.
|
min-ttl
|
Sets minimum Time To Live for FTP objects in cache.
|
min_minutes
|
Minimum Time To Live in minutes for FTP objects in cache (0-86400).
|
object
|
Sets configuration of FTP objects.
|
max-size
|
Sets maximum size of a cacheable object.
|
size
|
Maximum size of a cacheable object in kilobytes (KB) (1-1048576).
|
proxy
|
Sets proxy configuration parameters.
|
active-mode
|
Configures FTP active mode to fetch files.
|
enable
|
Enables FTP active mode.
|
anonymous-pswd
|
Sets anonymous password string (for example, wwwuser@cisco.com).
|
passwd
|
Anonymous password. The default is anonymous@hostname.
|
incoming
|
Sets the incoming port for proxy-mode requests.
|
ports
|
Ports to listen for requests (1-65535). There can be up to 8 ports.
|
outgoing
|
Sets parameters to direct outgoing FTP requests to another proxy server.
|
host
|
Sets outgoing FTP proxy host parameters.
|
hostname
|
Host name of the outgoing FTP proxy.
|
ip-address
|
IP address of the outgoing FTP proxy.
|
port
|
Port of the outgoing FTP proxy (1-65535).
|
reval-each-request
|
Sets scope of revalidation for every request.
|
all
|
Revalidates all objects on every request.
|
directory-listing
|
Revalidates directory listing objects on every request.
|
none
|
Does not revalidate for each request.
|
Defaults
dl_time: 30 percent
fo_time: 60 percent
dlmax_days: 7 days
fmax_days: 3 days
dlmax_hours: 72 hours
fmax_hours: 168 hours
dlmax_min: 4320 minutes
fmax_min: 10080 minutes
dlmax_sec: 259200 seconds
fmax_sec: 604800 seconds
min_minutes: 86400 minutes
Maximum size of cacheable object: unlimited
Command Modes
Global configuration
Usage Guidelines
The Content Engine accepts FTP requests when URLs specify the FTP protocol (for example, GET ftp://ftp.cs.wisc.edu/pub/cao/READM). For these requests, the client uses HTTP as the transport protocol with the Content Engine, whereas the Content Engine uses FTP with the FTP server.
The FTP proxy supports passive and active mode for fetching files and directories. Passive mode is the default. The Content Engine automatically changes to active mode if passive mode is not supported by the FTP server. If active-mode enable is configured, FTP first attempts to fetch the file in active mode. If active mode fails, FTP attempts to fetch it again in passive mode.
The Content Engine caches both the FTP file objects and directory listings in the cfs. The Content Engine transforms the regular directory listings from the FTP server into HTML, with links that the client users can point to and click to download files.
When the Content Engine receives an FTP request from the web client, it first looks in its cache. If the object is not in its cache, it fetches the object from an upstream FTP proxy server (if one is configured), or directly from the origin FTP server.
The FTP proxy supports anonymous as well as authenticated FTP requests. Only base64 encoding is supported for authentication. The FTP proxy accepts all FTP URL schemes defined in RFC 1738. In the case of a URL in the form ftp://user@site/dir/file, the proxy sends back an authentication failure reply and the browser supplies a popup window for the user to enter login information.
The FTP proxy supports commonly used MIME types, attaches the corresponding header to the client, chooses the appropriate transfer type (binary or ASCII), and enables the browser to open the FTP file with the configured application. For unknown file types, the proxy uses binary transfer as the default and instructs the browser to save the download file instead of opening it. The FTP proxy returns a formatted directory listing to the client if the FTP server replies with a known format directory listing. The formatted directory listing has full information about the file or directory and provides the ability for users to choose the download transfer type.
The Content Engine caches FTP traffic only when the client uses the Content Engine as a proxy server for FTP requests. All FTP traffic that was sent directly from the web client to an FTP server, if transparently intercepted by the Content Engine, is treated as non-HTTP traffic.
The FTP proxy supports up to eight incoming ports. It can share the ports with transparent-mode services and also with the other proxy-mode protocols supported by the Content Engine, such as HTTP and HTTPS. In proxy mode, the Content Engine accepts and services the FTP requests only on the ports configured for FTP proxy. All the FTP requests on other proxy mode ports are rejected in accordance with the error-handling settings on the Content Engine.
The Content Engine can apply the Rules Template to FTP requests based on server name, domain name, server IP address and port, client IP address, and URL.
The Content Engine logs FTP transactions in the transaction log, in accordance with the Squid syntax. When URL tracking is enabled, the Content Engine logs FTP transaction information to the syslog. The syslog entries are prefixed with <ftp>.
Examples
This example configures an incoming FTP proxy on ports 8080, 8081, and 9090. Up to eight incoming proxy ports can be configured on the same command line.
ContentEngine(config)# ftp proxy incoming 8080 8081 9090
This example removes one FTP proxy port from the list entered in the previous example. Ports 8080 and 9090 remain FTP proxy ports.
ContentEngine(config)# no ftp proxy incoming 8081
This example disables all the FTP proxy ports.
ContentEngine(config)# no ftp proxy incoming
This example configures an upstream FTP proxy with the IP address 172.16.76.76 on port 8888.
ContentEngine(config)# ftp proxy outgoing host 172.16.76.76 8888
This example specifies an anonymous password string for the Content Engine to use when contacting FTP servers. The default password string is anonymous@hostname.
ContentEngine(config)# ftp proxy anonymous-pswd newstring@hostname
This example configures the maximum size in kilobytes of an FTP object that the Content Engine will cache. By default, the maximum size of a cacheable object is not limited.
ContentEngine(config)# ftp object max-size 15000
This example forces the Content Engine to revalidate all objects for every FTP request.
ContentEngine(config)# ftp reval-each-request all
This example configures a maximum Time To Live of 3 days in the cache for directory listing objects and file objects.
ContentEngine(config)# ftp max-ttl days directory-listing 3 file 3
Related Commands
show ftp
fullduplex
To configure an interface for full-duplex operation, use the fullduplex interface configuration command. To disable this function, use the no form of this command.
fullduplex
no fullduplex
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
Interface configuration
Usage Guidelines
Use this command to configure an interface for full-duplex operation. Full duplex allows data to travel in both directions at the same time through an interface or a cable. A half-duplex setting ensures that data only travels in one direction at any given time. Although full duplex is faster, the interfaces sometimes cannot operate effectively in this mode. If you encounter excessive collisions or network errors, configure the interface for half duplex rather than full duplex.
Examples
ContentEngine(config-if)# fullduplex
ContentEngine(config-if)# no fullduplex
Related Commands
halfduplex
interface
show interface
show running-config
show startup-config
gui-server
To enable or specify the number of the Content Engine management graphical user interface (GUI) server port, use the gui-server global configuration command.
gui-server {enable | port port}
no gui-server {enable | port port}
Syntax Description
enable
|
Enables the graphical user interface.
|
port
|
Configures the graphical user interface server port.
|
port
|
Port number (1-65535). The default is 8001.
|
Defaults
The default port is 8001.
Command Modes
Global configuration
Examples
The following example enables the Content Engine management GUI on port 8002.
ContentEngine(config)# gui-server enable
ContentEngine(config)# gui-server port 8002
Related Commands
show gui-server
halfduplex
To configure an interface for half-duplex operation, use the halfduplex interface configuration command. To disable this function, use the no form of this command.
halfduplex
no halfduplex
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
Interface configuration
Usage Guidelines
Use this command to configure an interface for half-duplex operation. Full duplex allows data to travel in both directions at the same time through an interface or a cable. A half-duplex setting ensures that data only travels in one direction at any given time. Although full duplex is faster, the interfaces sometimes cannot operate effectively in this mode. If you encounter excessive collisions or network errors, configure the interface for half duplex rather than full duplex.
Examples
ContentEngine(config-if)# halfduplex
ContentEngine(config-if)# no halfduplex
Related Commands
fullduplex
interface
show interface
show running-config
show startup-config
help
To obtain online help for the command-line interface, use the help EXEC or global configuration command.
help
Syntax Description
This command has no arguments or keywords.
Defaults
No default behavior or values
Command Modes
EXEC and global configuration
Usage Guidelines
You can get help at any point in a command by entering a question mark (?). If nothing matches, the help list will be empty, and you must back up until entering a ? shows the available options.
Two styles of help are provided:
•
Full help is available when you are ready to enter a command argument (for example, show ?) and describes each possible argument.
•
Partial help is provided when you enter an abbreviated command and you want to know what arguments match the input (for example, show stat?).
Examples
Help may be requested at any point in a command by entering a question mark '?'.
Two styles of help are provided:
1. Full help is available when you are ready to enter a command argument.
2. Partial help is provided when an abbreviated argument is entered.
hostname
To configure the Content Engine's network host name, use the hostname global configuration command. To reset the host name to the default setting, use the no form of this command.
hostname name
no hostname name
Syntax Description
name
|
New host name for the Content Engine; the name is case sensitive. The name may be from 1 to 22 alphanumeric characters.
|
Defaults
The default host name is the Content Engine model number (for example CE590 or CE7320).
Command Modes
Global configuration
Usage Guidelines
Use this command to configure the host name for the Content Engine. The host name is used for the command prompts and default configuration filenames.
Examples
The following example changes the host name to sandbox.
ContentEngine(config)# hostname sandbox
The following example removes the host name.
ContentEngine(config)# no hostname
http
To configure HTTP-related parameters, use the http global configuration command. To disable HTTP related-parameters, use the no form of this command.
http age-multiplier text num binary num
http anonymizer enable
http append {proxy-auth-header {hostname | ip-address} | via-header | www-auth-header
{hostname | ip-address} | x-forwarded-for-header}
http authenticate-strip-ntlm
http authentication {cache {max-entries entries | timeout minutes} | header {401 | 407}}
http cache-authenticated {all | basic | ntlm}
http cache-cookies
http cache-on-abort {enable | max-threshold maxthresh | min-threshold minthresh | percent
percenthresh}
http client-no-cache-request {ignore | revalidate}
http cluster {heal-port number | http-port number | max-delay seconds | misses number}
http destination-port {allow {all | range} | deny {all | range}}
http fast-response enable
http l4-switch enable
http max-ttl {days text textdays binary bindays | hours text texthours binary binhours | minutes
text textminutes binary binminutes | seconds text textseconds binary binseconds}
http min-ttl minutes
http object {max-size maxsize | url-validation enable}
http persistent-connections [all | client-only | server-only | timeout seconds]
http proxy {incoming ports | outgoing {connection-timeout microsecs | host {hostname |
ip-address} port [primary] | monitor seconds | origin-server | preserve-407}}
http reval-each-request {all | none | text}
http serve-ims text percentage binary percentage
http smart-range {enable | max-start offset max-interval interval}
http strict-request-content-length-checking enable
http tcp-keepalive enable
no http {age-multiplier text num binary num | anonymizer enable | append {proxy-auth-header
{hostname | ip-address} | via-header | www-auth-header {hostname | ip-address} |
x-forwarded-for-header} | authenticate-strip-ntlm | authentication {cache {max-entries
entries | timeout minutes} | header {401 | 407}} | cache-authenticated {all | basic | ntlm} |
cache-cookies | cache-on-abort {enable | max-threshold maxthresh | min-threshold
minthresh | percent percenthresh} | client-no-cache-request {ignore | revalidate} | cluster
{heal-port number | http-port number | max-delay seconds | misses number} | http
destination-port {allow {all | range} | deny {all | range}} | fast-response enable | l4-switch
enable | max-ttl {days text textdays binary bindays | hours text texthours binary binhours |
minutes text textminutes binary binminutes | seconds text textseconds binary binseconds} |
min-ttl minutes | object {max-size maxsize | url-validation enable} | persistent-connections
[all | client-only | server-only | timeout seconds] | proxy {incoming ports | outgoing
{connection-timeout microsecs | host {hostname | ip-address} port [primary] | monitor
seconds | origin-server | preserve-407}} | reval-each-request {all | none | text} | serve-ims
text percentage binary percentage | smart-range {enable | max-start offset max-interval
interval} | strict-request-content-length-checking enable | tcp-keepalive enable}
Syntax Description
age-multiplier
|
HTTP/1.0 caching heuristic modifiers.
|
text
|
Heuristic modifier for text object.
|
num
|
Expiration time of text objects as a percentage of their age (0-100).
|
binary
|
Heuristic modifier for binary object.
|
num
|
Expiration time of binary objects as a percentage of their age (0-100).
|
anonymizer enable
|
Sets HTTP anonymizer.
|
append
|
Configures HTTP headers to be appended by the Content Engine.
|
proxy-auth-header
|
Configures host to receive Proxy Authorization header.
|
hostname
|
Name of host receiving Proxy Authorization header.
|
ip-address
|
IP address of host receiving Proxy Authorization header.
|
via-header
|
Includes "Via" header in responses and replies.
|
www-auth-header
|
Configures host to receive WWW Authorization header.
|
hostname
|
Name of host receiving WWW Authorization header.
|
ip-address
|
IP address of host receiving WWW Authorization header.
|
x-forwarded-for-header
|
Notifies web server of client's IP address through X-Forwarded-For header.
|
authenticate-strip-ntlm
|
Strips NT LAN Manager (NTLM) authentication headers.
|
authentication
|
Configures parameters related to HTTP authentication.
|
cache
|
Configures authentication cache parameters.
|
max-entries
|
Sets the maximum number of entries in the authentication cache.
|
entries
|
Maximum number of entries in the authentication cache (500-32000).
|
timeout
|
Sets the timeout value of records in the authentication cache.
|
minutes
|
Time in minutes (30-1440) between the user's last Internet access and the removal of that user's entry from the authorization cache, forcing reauthentication. The default is 480 minutes; the minimum is 30 minutes; and the maximum is 1440 minutes (24 hours).
|
header
|
Determines which HTTP header to use for authentication (user ID and password) when the style of the HTTP request indicates that no proxy server is present. Headers can be either HTTP 401 (Unauthorized) or HTTP 407 (Proxy Authentication Required). The default is HTTP 401.
|
401
|
Uses HTTP 401 to query users for credentials.
|
407
|
Uses HTTP 407 to query users for credentials.
|
cache-authenticated
|
Caches and revalidates authenticated web objects.
|
all
|
Authenticates the web object cache using any scheme.
|
basic
|
Authenticates the web object cache using basic scheme authorization.
|
ntlm
|
Authenticates the web object cache using NTLM scheme authorization.
|
cache-cookies
|
Caches web objects with associated cookies.
|
cache-on-abort
|
Sets cache-on-abort configuration options.
|
enable
|
Enables cache-on-abort feature.
|
max-threshold
|
Sets maximum threshold.
|
maxthresh
|
Value in kilobytes of maximum threshold (1-99999). The default is 256.
|
min-threshold
|
Sets minimum threshold.
|
minthresh
|
Value in kilobytes of minimum threshold (1-99999). The default is 32.
|
percent
|
Sets percent threshold.
|
percenthresh
|
Percentage value (1-99). The default is 80 percent.
|
client-no-cache-request
|
Configures management of no-cache requests.
|
ignore
|
Ignores the no-cache header in a client request.
|
revalidate
|
Revalidates object with the origin server before serving a no-cache client request.
|
cluster
|
Configures cache cluster options.
|
heal-port
|
Listening port number of healing server for healing requests.
|
number
|
Healing server listener port number (1-65535). The default is 14333.
|
http-port
|
Healing server HTTP request forwarding port number.
|
number
|
HTTP request forwarding port number (1-65535). The default is 80.
|
max-delay
|
Maximum wait for response.
|
seconds
|
Maximum delay in seconds (0-10).
|
misses
|
Duration of healing mode (misses).
|
number
|
Total number of misses (0-999) before healing mode is disabled.
|
destination-port
|
Destination port restrictions.
|
allow
|
Allows HTTP traffic to specified ports. The default is to allow traffic to port range 80-87 and to any port above 1024.
|
all
|
Specifies all ports.
|
range
|
Port numbers (1-65535). Up to 8 port ranges can be configured.
|
deny
|
Denies HTTP traffic to specified ports. Port numbers below port 1024 are denied by default, except for port range 80-87.
|
all
|
Specifies all ports.
|
range
|
Port numbers (1-65535). Up to 8 port ranges can be configured.
|
fast-response
|
Configures for fast HTTP client response.
|
enable
|
Enables fast HTTP client response.
|
l4-switch enable
|
Configures parameters for Layer 4 switch redirection.
|
max-ttl
|
Sets maximum Time To Live for objects in the cache.
|
days
|
Sets maximum Time To Live for units in days.
|
hours
|
Sets maximum Time To Live for units in hours.
|
minutes
|
Sets maximum Time To Live for units in minutes.
|
seconds
|
Sets maximum Time To Live for units in seconds.
|
text
|
Sets maximum Time To Live for text objects.
|
textdays
|
Maximum Time To Live (1-1825). The default is 3 days.
|
texthours
|
Maximum Time To Live (1-43800). The default is 72 hours.
|
textminutes
|
Maximum Time To Live (1-2628000). The default is 4320 minutes.
|
textseconds
|
Maximum Time To Live (1-157680000). The default is 259200 seconds.
|
binary
|
Sets maximum Time To Live for binary objects.
|
bindays
|
Maximum Time To Live (1-1825). The default is 7 days.
|
binhours
|
Maximum Time To Live (1-43800). The default is 168 hours.
|
binminutes
|
Maximum Time To Live (1-2628000). The default is 10080 minutes.
|
binseconds
|
Maximum Time To Live (1-157680000). The default is 604800 seconds.
|
min-ttl
|
Sets minimum Time To Live for objects in the cache.
|
minutes
|
Minimum Time To Live in minutes (0-86400).
|
object
|
Sets URL validation and maximum size of HTTP objects.
|
max-size
|
Sets the maximum size of a cacheable object.
|
maxsize
|
Maximum size of a cacheable object in kilobytes (1-204799).
|
url-validation enable
|
Enables each HTTP validation request.
|
persistent-connections
|
Sets persistent connections configuration options.
|
all
|
(Optional) Makes client and server connections persistent.
|
client-only
|
(Optional) Makes only a client connection persistent.
|
server-only
|
(Optional) Makes only a server connection persistent.
|
timeout
|
(Optional) Sets persistent connections timeout value.
|
seconds
|
Persistent connections timeout in seconds (1-86400).
|
proxy
|
Configures parameters for proxy mode.
|
incoming
|
Configures for incoming proxy-mode requests.
|
ports
|
Ports on which to listen for incoming HTTP, FTP, and HTTPS proxy requests (1-65535). Up to 8 ports can be specified. The default is no incoming proxy.
|
outgoing
|
Configures direct outgoing requests to another proxy server.
|
connection-timeout
|
Defines a timeout period, in microseconds, for probing outgoing proxy servers.
|
microsecs
|
Timeout period in microseconds (200-5000000).
|
host
|
Uses outgoing HTTP proxy.
|
hostname
|
Host name of outgoing proxy.
|
ip-address
|
IP address of outgoing proxy.
|
port
|
Port number of outgoing proxy (1-65535).
|
primary
|
(Optional) Makes the configured proxy the primary proxy server.
|
monitor
|
Defines the interval for monitoring the outgoing proxy servers.
|
seconds
|
Monitoring interval in seconds (10-300).
|
origin-server
|
Uses origin server if all outgoing proxies fail.
|
preserve-407
|
Preserves HTTP authentication header 407 by sending header 407 to the client when asking the client for Internet proxy authentication credentials.
|
reval-each-request
|
Configures revalidation for every request.
|
all
|
Revalidates all objects on every request.
|
none
|
Does not revalidate objects for each request.
|
text
|
|