cc/td/doc/product/webscale/webcache/ce20
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Command Reference

Command Reference

This appendix provides a summary of the commands used to configure your Cisco Cache Engine.

The commands are grouped alphabetically in three categories: general (EXEC) commands, global configuration commands, and show (EXEC) commands.

The command-line interface (CLI) uses the following conventions:

For example, when setting up a community string for SNMP to "public," do not use quotation marks around the string, or the string will include the quotation marks.

Command descriptions use the following conventions:

EXEC Mode

Enter commands by typing their names at the EXEC prompt and pressing the Return key.

There is two EXEC prompt levels: privileged and user. The enable/disable command switches between the two EXEC levels. The user EXEC level prompt is available to users if they enter a password. This prompt is the server name followed by a pound sign (#), as in this example:

Console#

Use the following key sequences to edit commands when you type commands at the EXEC prompt:

As a shortcut, you can abbreviate commands to the fewest letters that make them unique. For example, letters sho can be entered for the show command, for example.

Certain EXEC commands display multiple screens with the following prompt at the bottom of the screen:

--More--

Press the Spacebar to continue the output or press Return to display the next line. Press any other key to return to the prompt. Also, at the --More-- prompt, you can enter a ? to display the help message.

To get out of EXEC mode, use the exit command at the system prompt:

Console# exit

Global Configuration Mode

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

Console# configure Console(config)#

To exit global configuration mode, use the end global configuration command:

Console(config)# end

You can also exit global configuration mode, by entering the exit command or pressing Ctrl-Z.

Interface Configuration Mode

To enter the interface configuration mode, from the global configuration mode prompt enter the interface you with to configure:

Console(config)# interface ethernet 0 Console(config-if)#

The interface configuration commands are:

autosense

bandwidth

exit

fullduplex

halfduplex

ip

no

These commands are described in the section following the global configuration commands.

To exit interface configuration mode, enter exit to return to global configuration mode:

cache4J(config-if)# exit cache4J(config)#

Check Command Syntax

The user interface provides error isolation in the form of an error indicator, a caret symbol (^). The ^ symbol appears at the point in the command string where you have entered an incorrect command, keyword, or argument.

In the following example, suppose you want to set the clock. Use context-sensitive help to check the syntax for setting the clock.

An example of a mistake is:

Console# clock set 1222 ^ % Invalid input detected at `^' marker. Console# clock ? set Set the time and date Console# clock

The help output shows that the set keyword is required. Check the syntax for entering the time:

Console# clock set ? hh:mm:ss Current time Console# clock set

Enter the current time:

Console# clock set 13:32:00 % Incomplete command.

The system indicates that you need to provide additional arguments to complete the command. Press the Up Arrow to automatically repeat the previous command entry. Then add a space and question mark (?) to reveal the additional arguments:

Console# clock set 13:32:00 ? <1-31> Day of the month January Month of the year

Now you can complete the command entry:

Console# clock set 13:32:00 23 February 97 ^ % Invalid input detected at '^' marker.

The caret symbol (^) and help response indicate an error at 97. To list the correct syntax, enter the command up to the point where the error occurred and then enter a question mark (?):

Console# clock set 13:32:00 23 February ? <1993-2035> Year Console# clock set 13:32:00 23 February

Enter the year using the correct syntax and press Return to execute the command:

Console# clock set 13:32:00 23 February 1997

System Help

You can obtain help when you enter commands by using the following methods:

Console# cl? clear clock Console# clock ? clear Clear the current time from the battery-backed clock save Save the current time into the battery-backed clock set Set the local time and date

Save Configuration Changes

To avoid losing new configurations, save them to NVRAM:

Console# copy running-config startup-config Console# Ctrl-Z Console# write

See the command description for the copy running-config startup-config command for more information on the running versus saved configuration modes.

Ctrl-Z does not save the configuration, it just exits you from the global configuration mode.

General Commands (or EXEC Commands)

The general (or EXEC) Cache Engine commands are entered in the EXEC mode. This section describes the following EXEC commands.

cache

To synchronize the cache file system contents from memory to disk, use the cache sync EXEC command.

cache sync

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

cache clear

Syntax Description

clear Clears the cache.

sync Synchronizes the cache.

Usage Guidelines

Use the cache clear command to remove all cached contents from the cache file system. The equivalent to this command is the clear cache command. Both of these commands will erase, reformat, and remount the cache file system to disk. The cache clear command also performs these operations for all CFS file systems.


Caution   This command is irreversible and all cached content will be erased. Use this command only if you are certain you need to do this.

The cache sync command synchronizes the cache file system contents from memory to disk. Although synchronization is performed at regular intervals while the Cache Engine is running, this command can be used to ensure all data is written to disk before resetting or turning off the Cache Engine. Synchronization can also be done using the cfs sync command.

Example

Console# cache clear

Related Commands

clear cache

cfs

cd

To change directory, use the cd EXEC command.

cd {directoryname}

Syntax Description

directoryname Name of the directory.

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 "/".

Example

Relative path:

Console# cd etc

Absolute path:

Console# cd /local/etc

Related Commands

dir

lls

ls

mkdir

pwd

rmdir

type

cfs

To manipulate the cache object file system of the Cache Engine, use the cfs EXEC command.

cfs {mount volname | unmount volname | format volname | sync volname}

Syntax Description

mount Mounts a cache file system.

unmount Amounts a cache file system.

format Erases and formats or creates a file system for caching.

sync Synchronizes a cache file system.

volname Volume name (for example, c0t0d0s3).

Usage Guidelines

The cfs (cache file system) is the portion of the drive that saves the cache objects retrieved from the web. This does not effect the dosfs partition, which saves user data, such as syslog.

The cfs commands are used to manage the cache object file system.


Caution   All cached content will be erased with the format command. Use this command only if you are certain you need to do this.

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.

The cfs unmount command frees the in-memory data structures that maps 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 Cache Engine is running, this command can be usd to ensure all data is written to disk before resetting or turning off the Cache Engine. Synchronization can also be done with the cache sync command.

Use the show cfs command to find out what volume names and types.

Example

Console# cfs sync c0t0d0s3

Related Commands

show cfs

cache clear

clear cache

check

To check if superuser accounts are password protected, use the check EXEC command.

check superuser passwords

Syntax Description

superuser Keyword.

passwords Keyword.

Default

By default, superuser accounts are not password protected.

Usage Guidelines

This command will display whether or not the superuser account is password protected. To configure a superuser password, from global configuration mode, use the user modify command. A superuser is defined as an administrator or user with full read and write privileges to the cache files and utilities.

Example

Console# check superuser passwords ---------------------------------------------------------------------- All super-user accounts are password protected ----------------------------------------------------------------------

Related Commands

user modify

show user

clear

To clear the HTTP object cache, the hardware interface, statistics, or WCCP settings, use the clear EXEC command.

clear {cache | interface serial number | statistics {all | history | icp {all | client | server | running} | wccp {bypass-counters | bypass-list}}

Syntax Description

cache Clears the HTTP object cache.

interface Clears the Hardware interface.

serial Serial device.

number Serial interface number (for example, 0).

statistics Clears HTTP object cache statistics.

all Clears all statistics.

history Clears the statistics history.

icp Clears ICP statistics.

all Clears all ICP statistics.

client Clears ICP client statistics

server Clears ICP server statistics.

running Clears the running statistics.

wccp Clears wccp settings.

bypass-counters Clears the AUTH and LOAD bypass counters.

bypass-list Clears the AUTH and LOAD bypass lists.

Usage Guidelines

The clear cache command is used to clear all stored objects (cached content) from the cache file system. In its entirety, this command unmounts, reformats, and remounts the cache file system, thus erasing all stored objects. The cache clear command is the equivalent to the clear cache command.


Caution   This command is irreversible and all cached contents will be erased. Use this command only if you are certain you need to do this.

The clear interface command clears the statistics presented by the show interface command.

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 wccp command clears wccp authentication bypass client/server pairs, load-bypass lists, and bypass statistics. Refer to the wccp EXEC commands for further information.

Example

Console# clear cache

Related Commands

show statistics

show interface

show wccp

clock

To set, clear, or save the battery-backed clock functions, use the clock EXEC command.

clock {clear | save | set hh:mm:ss day month year}

Syntax Description

clear Clears the system clock settings.

save Saves the system clock settings.

set Sets the system clock.

hh:mm:ss Current time (for example, 13:32:00).

day Day of the month (for example, 1 to 31).

month Current month (for example, January, February).

year Current year (for example, 1999).

Usage Guidelines

If you have an outside source on your network that provides time services (such as an NTP server), you do not need to set the system clock manually. When setting the clock, enter the local time. The Cache Engine adjusts to GMT8 based on the time zone set in global configuration mode.

There are two clocks in the system; the software clock and the hardware clock. The software uses the software clock. The hardware clock is used only at boot to initialize the software clock.

The set keyword sets the software clock and saves the value in the hardware clock.

The save keyword writes the current value of the software clock into the hardware clock. This is used to update the hardware clock with the correct time as maintained by NTP. NTP adjusts only the software clock.

The clear keyword forces the hardware clock to zero (January 1, 1970), which ensures that the time at boot is the NTP time or obviously invalid.

Example

Console# clock set 13:32:00 22 April 1999

Related Commands

clock timezone

show clock

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 global configuration command. You may also use Ctrl-Z or exit.

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

Use this command to enter global configuration mode.

Examples

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

Related Commands

show running-config

show startup-config

end

exit

Ctrl-Z

copy

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

copy {disk flash imagename | disk startup-config filename | flash disk imagename | running-config disk filename | running-config startup-config | running-config tftp | startup-config disk filename | startup-config tftp | tech-support disk filename | tech-support tftp | tftp disk | tftp flash}

Syntax Description

disk Copies image or configuration from or to disk.

flash Copies image from or to Flash memory.

running-config Copies from current system configuration.

startup-config Copies from or to startup configuration.

tech-support Copies system information for technical support.

tftp Copies image from or to TFTP server.

imagename Image name (for example, /local/bin).

filename Filename of configuration.

Usage Guidelines

Use the copy running-config startup-config command to save configuration to NVRAM memory. This command is equivalent to the write command.

The copy flash disk imagename command will copy the image from the Flash memory to the disk.

The copy disk flash imagename command will copy the image from the disk to the flash.

The copy tftp flash command will copy the image from a TFTP server to Flash memory.

The copy tech-support tftp command will copy technical support information to a TFTP server. You will be prompted for the server address following this command.

Example

Console# copy disk flash /local/bin

Related Commands

write

show running-config

show startup-config

cpfile

To copy one filename to another filename, use the cpfile EXEC command.

cpfile oldfilename newfilename

Syntax Description

oldfilename Name of the old file from which to copy.

newfilename Name of the new file to copy to.

Usage Guidelines

Use this command to copy one filename to another. This command only copies dosfs files.

Example

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

Related Commands

copy

dir

lls

ls

mkfile

rmdir

rmname

debug

To enable debugging for a variety of services, use the debug EXEC mode command. The no form of this command disables the debugging functions.

debug {all | cron | ftp-server | http httpsubcommands debugsubcommands | icp icpsubcommands debugsubcommands | inetd | logging loggingsubcommands | ntp debuglevel | radius radiussubcommands debugsubcommands | rcpd | snmp snmpsubcommands debugsubcommands | stats statssubcommands | tftp-server | translog translogsubcommands | wccp wccpsubcommands | wi wisubcommands debugsubcommands}

no debug {all | cron | ftp-server | http httpsubcommands debugsubcommands | icp icpsubcommands debugsubcommands | inetd | logging loggingsubcommands | ntp debuglevel | radius radiussubcommands debugsubcommands | rcpd | snmp snmpsubcommands debugsubcommands | stats statssubcommands | tftp-server | translog translogsubcommands | wccp wccpsubcommands | wi wisubcommands debugsubcommands}

Syntax Description

all Enable all debugging.

cron CRON.

ftp-server FTP server.

http HTTP debug commands.

icp Internet Cache Protocol debug commands.

inetd INETD Daemon.

logging LOG debug commands

ntp Sets the debug level.

radius RADIUS debug commands.

rcpd RCPD.

snmp SNMP debug commands.

stats STATS debug commands.

tftp-server TFTP server.

translog Transaction log debug commands.

wccp WCCP information.

wi Web Interface debug commands.

debuglevel NTP debug level (0 to 100).

httpsubcommands:

all HTTP all debug.

cache HTTP cache debug.

header HTTP header debug.

hit HTTP hit debug.

miss HTTP miss debug.

proxy HTTP proxy debug.

server HTTP server debug.

debugsubcommands:

all All debug.

error Error debug.

proc Procedure debug.

trace Trace debug.

icpsubcommands:

all ICP all modules debug.

client ICP client module debug.

ex ICP ex module debug.

heal ICP healing module debug.

main ICP main module debug.

parse ICP parse module debug.

print ICP print module debug.

server ICP server module debug.

utils ICP utility module debug.

loggingsubcommands:

all Logging all debug.

events Logging events debug.

url-track Logging URL tracking debug.

radiussubcommands:

all RADIUS debug all.

api RADIUS API debug.

app RADIUS application debug.

cli RADIUS CLI debug.

snmpsubcommands:

all SNMP all modules debug.

basic SNMP basic module debug.

cachefarm SNMP cache farm module debug.

diagdump SNMP diagdump module debug.

dns SNMP DNS module debug.

events SNMP events module debug.

farm SNMP farm module debug.

fresh SNMP fresh module debug.

icp_client SNMP ICP client module debug.

icp_server SNMP ICP server module debug.

ims SNMP IMS module debug.

log SNMP log module debug.

main SNMP main module debug.

parse SNMP parse module debug.

perf SNM P performance module debug.

print SNMP print module debug.

proxy SNMP proxy module debug.

req SNMP required module debug.

save SNMP save module debug.

tcp SNMP TCP module debug.

time SNMP time module debug.

trap SNMP trap module debug.

url SNMP URL module debug.

usage SNMP usage module debug.

statssubcommands:

all Stats all debug.

collection Stats collection debug.

computation Stats computation debug.

history Stats history debug.

translogsubcommands:

all All transaction log debugging.

daemon Transaction log daemon debugging.

file-manager Transaction log file manager debugging.

logging Transaction log entry generation.

wccpsubcommands:

all WCCP turn on all debugging.

events WCCP events.

packets WCCP packet-related information.

wisubcommands:

admin Web Interface admin module debug.

all Web Interface all modules debug.

basic Web Interface basic module debug.

bypass Web Interface bypass module debug.

clustering Web Interface clustering module debug.

dns Web Interface DNS module debug.

events Web Interface events module debug.

filesystem Web Interface file system module debug.

fresh Web Interface fresh module debug.

hardware Web Interface hardware module debug.

icp_client Web Interface ICP client module debug.

icp_server Web Interface ICP server module debug.

monitor Web Interface monitor module debug.

persistent Web Interface persistent module debug.

proxy Web Interface proxy module debug.

radius Web Interface radius module debug.

revproxy Web Interface RevProxy module debug.

routing Web Interface routing module debug.

snmp Web Interface SNMP module debug.

syslog Web Interface syslog module debug.

tcp Web Interface TCP module debug.

time Web Interface time module debug.

translog Web Interface translog module debug.

urlfilter Web Interface URL filter module debug.

wccpenable Web Interface WCCP enable module debug.

wccpmain Web Interface WCCP module debug.

webcache Web Interface web cache module debug.

Usage Guidelines

Use the debug command to monitor specific processes and packet transfers for each of the above functions. To turn off debugging, use the no debug command or undebug command.

The output of this command appears on the console, not in the Telnet window, and the amount of the output might be prodigious.

Example

Console# debug http cache trace Console# no debug http cache trace

Related Commands

no debug

show debug

undebug

del

To remove a file, use the del EXEC command.

del filename

Syntax Description

filename Name of the file to delete.

Usage Guidelines

Use this command to remove a file from any directory. Note that some files are necessary for proper functionality and should not be removed.

Example

Console# del /local/tempfile

Related Commands

cpfile

deltree

mkdir

mkfile

rmdir

deltree

To remove a directory recursively and all file that it contains, use the deltree EXEC command.

deltree directory

Syntax Description

directory Name of the directory tree to delete.

Usage Guidelines

Use this command to remove a directory and all files within the directory from the cache (dosfs file system). Do not remove necessary files or directories, such as log files or directories, for proper functionality. It may not be possible to move a log file to a new directory without losing functionality.

Example

Console# deltree /local

Related Commands

del

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.

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.

Example

Console# dir /local size date time name LongName ---------- ------- ------ ----------- ---------------- 512 Dec-31-1987 17:02:32 ETC <DIR> etc 512 Dec-31-1987 17:02:32 TFTPBOOT <DIR> tftpboot 512 Dec-31-1987 17:02:32 VAR <DIR> var 512 Jan-07-1988 09:47:52 LIB <DIR> lib 4385154 Apr-22-1999 12:25:36 CE25.PAX ce25.pax 3395136 Dec-31-1987 17:11:36 CE500-~1.CUS ce500-194b16.bin.dbg.cus1 3412352 Apr-22-1999 12:26:54 CE500-~2.CUS ce500-194b18.bin.dbg.cus1 4 DIR(S), 3 FILE(S) 11192642 bytes 2125889536 bytes AVAILABLE ON VOLUME /c0t0d0s1

Related Commands

lls

ls

disable

To turn off privileged EXEC commands, use the disable command.

disable

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

The disable command places you in EXEC mode. To turn privileged EXEC mode back on, use the enable command.

Example

Console# disable

Related Commands

enable

disk

To configure the Cache Engine's disks, use the disk EXEC command.

disk {partition devname | prepare devname}{dosfs | cfs}

Syntax Description

partition Partitions the hard disk.

devname Device name.

prepare Partitions and formats volumes on a hard disk.

cfs Cache file system.

dosfs DOS file system.

Usage Guidelines

Disk partition allocates portions of a disk for the specified file systems. The partition sizes are not user configurable. Use the show disks command to obtain the names of installed disks.


Caution   Partitioning a disk destroys all of its contents. After partitioning, each file system must be formatted and mounted before it can be used.

Using the disk prepare command is a shortcut in preparing a disk. It partitions the disk and then formats and mounts all the partitions.

Example

Console# disk partition boot

Related Commands

show disk-partitions

show disks

dns-cache

To clear the DNS cache, use the dns-cache EXEC command.

dns-cache {clear}

Syntax Description

clear Clears the DNS cache.

Usage Guidelines

Use the dns-cache clear EXEC command to clear all stored DNS entries. This does not erase any cached HTPP related objects.

To configure the DNS cache, use the dns-cache enable or dns-cache size global configuration command. You must also configure a DNS server as well as your domain name. See the ip name-server and ip domain-name commands for more information.

Examples

Console# dns-cache clear

Related Commands

dns-cache enable (global configuration command)

dns-cache size (global configuration command)

domain-name

ip name-server

dosfs

To configure the DOS file system, use the dosfs EXEC command.

dosfs [check volname | format volname | label devicename | mount volname mountmode | repair repairmode volname | sync syncdevice | unmount volname]

Syntax Description

check (Optional) Checks dos file system.

devicename (Optional) Device name.

format (Optional) Erases and formats a file system on a disk device.

label (Optional) Sets a device volume label.

mount (Optional) Mounts a disk or volume file system.

volname (Optional) Volume name.

mountmode:

rdonly (Optional) Read only.

rdwr (Optional) Read write.

repair (Optional) Checks and repairs an uvfat/dos file system.

repairmode:

automatic (Optional) Automatic (not interactive) repair.

interactive (Optional) User-interactive repair.

sync (Optional) Synchronizes a disk device.

syncdevice (Optional) Absolute device name.

unmount (Optional) Unmounts a disk or volume file system.

volname (Optional) Volume name.

Usage Guidelines

Use this command to format and mount the DOS file systems after partitioning disks. Use this command to repair DOS file systems that are causing errors.

The default configuration has only one DOS file system. This file system is created on the first disk in the system and has a special name "/local." This file system contains various files necessary for correct functioning of the Cache Engine.

Example

Console# dosfs format /local

Related Commands

show dosfs volumes

cd

copy

cpfile

del

deltree

dir

ls

mkdir

mkfile

enable

To turn on privileged commands, use the enable EXEC command.

enable

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

To return to privileged EXEC mode from user EXEC mode, use the enable command.

The disable command takes you from privileged EXEC mode back to user EXEC mode.

Example

Console> enable Console#

Related Commands

disable

exit

To exit any configuration mode or close an active terminal session and terminate an EXEC mode session, use the exit EXEC command.

exit

Syntax Description

This command has no arguments or keywords.

Command Mode

EXEC and global configuration

Usage Guidelines

Use the exit command in global configuration mode to return to EXEC mode. You can also press Ctrl-Z or use the end command from any configuration mode to return to EXEC mode.

Use the exit command in EXEC command mode to close an active terminal session and terminate the EXEC mode session.

Example

Console# exit

Related Commands

end

help

To get 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.

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:

Example

Console# help

install

To install a new version of Cache Engine software, use the install EXEC command.

install paxfilename

Syntax Description

paxfilename Name of the pax file you want to install.

Usage Guidelines

Install and run the paxfilename in the /local directory only. By default, a pax file is stored in the local directory using a file transfer protocol. All files contained in the pax file overwrite all files in the Cache Engine when the install command is used. The new version will not take effect until the Cache Engine has been reloaded.

Example

Console# install ce25.pax

Related Commands

reload

lls

To view a long list of directory names, use the lls EXEC command.

lls [directory]

Syntax Description

directory (Optional) Name of the directory for which you want a long list of files.

Usage Guidelines

This command provides detailed information about files and subdirectories stored in the present working directory to be viewed (including size, date, time of creation, DOS name, and long name of the file). This information can also be viewed with the dir command.

Example

Console# lls Console# lls /local size date time name LongName ---------- ------- ------ ----------- ---------------- 512 Dec-31-1987 17:02:32 ETC <DIR> etc 512 Dec-31-1987 17:02:32 TFTPBOOT <DIR> tftpboot 512 Dec-31-1987 17:02:32 VAR <DIR> var 512 Jan-07-1988 09:47:52 LIB <DIR> lib 4385154 Apr-22-1999 12:25:36 CE25.PAX ce25.pax 4 DIR(S), 3 FILE(S) 11192642 bytes 2125922304 bytes AVAILABLE ON VOLUME /c0t0d0s1

Related Commands

dir

ls

ls

To view a list of files or subdirectory names within a directory, use the ls EXEC command.

ls [directory]

Syntax Description

directory (Optional) Name of the directory for which you want a list of files.

Usage Guidelines

To list the filenames and subdirectories within a particular directory, use the ls directory command; to list the filenames and subdirectories of the current working directory, use the ls command. To view the present working directory, use the pwd command.

Example

Console# ls /local etc tftpboot var lib ce25.pax 2125922304 bytes AVAILABLE ON VOLUME /c0t0d0s1

Related Commands

dir

lls

pwd

mkdir

To create a directory, use the mkdir EXEC command.

mkdir directory

Syntax Description

directory Name of the directory you want to create.

Usage Guidelines

Use this command to create a new directory or subdirectory in the Cache Engine file system.

Example

Console# mkdir /oldpaxfiles

Related Commands

dir

lls

ls

pwd

rmdir

mkfile

To create a new file, use the mkfile EXEC command.

mkfile filename

Syntax Description

filename Name of the file you want to create.

Usage Guidelines

Use this command to create a new file in any directory of the Cache Engine.

Example

Console# mkfile traceinfo

Related Commands

lls

ls

mkdir

no debug

To disable the debugging functions, use the no debug EXEC command.

no debug {all | cron | ftp-server | http httpsubcommands debugsubcommands | icp icpsubcommands debugsubcommands | inetd | logging loggingsubcommands | ntp debuglevel | radius radiussubcommands debugsubcommands | rcpd | snmp snmpsubcommands debugsubcommands | stats statssubcommands | tftp-server | translog translogsubcommands | wccp wccpsubcommands | wi wisubcommands debugsubcommands}

Syntax Description

See the syntax description for the debug command.

Usage Guidelines

Use this command to turn off debugging functions that are enabled on the Cache Engine. Use the no debug all command to turn of all debugging, or to turn off a specific debugging function, use the no debug command with the exact string used to enable the debugging.

Example

Console# no debug http all error

Related Commands

debug

no debug

show debug

undebug

ntpdate

To set the software clock (time and date) using an NTP server, use the ntpdate EXEC command.

ntpdate {hostname | ip-address}

Syntax Description

hostname NTP host name.

ip-address NTP server IP address.

Usage Guidelines

Use the NTP protocol to find the current time of day and set the Cache Engine current time to match. The time must be saved to the hardware clock using the clock save command if it is to be restored after a reload.

Example

Console# ntpdate 10.11.23.40

Related Commands

clock clear

clock save

clock set

show clock

ping

To send echo packets for diagnosing basic network connectivity on networks, use the ping (packet internet groper) EXEC command.

ping {hostname | ip-address}

Syntax Description

hostname Host name of system to ping.

ip-address IP address of system to ping.

Usage Guidelines

To use this command with the hostname argument, be sure DNS functionality is configured on your Cache Engine. To force the timeout of a nonresponsive host, or to eliminate a loop cycle, enter Ctrl-C.

Example

Console# ping mycacheengine

pwd

To show the current directory, use the pwd EXEC command.

pwd

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

Use this command to display the present working directory of the Cache Engine.

Example

Console# pwd

Related Commands

cd

dir

lls

ls

reload

To halt and perform a cold restart on your Cache Engine, use the reload EXEC command.

reload

Syntax Description

This command has no arguments or keywords.

Usage Guidelines


Caution   You will lose all cached objects after issuing this command, and the cached objects cannot be recovered once lost.

To reboot the Cache Engine, use the reload command. If no configurations are saved to Flash memory, you will be prompted to enter configuration parameters upon restart. Any open connections will be dropped after issuing this command, and the file system will be reformatted upon restart. To save any file system contents to disk from memory before a restart, use the cache sync command.

Example

Console# reload

Related Commands

cache sync

write

write erase

rename

To rename a file on your Cache Engine, use the rename EXEC command.

rename source destination

Syntax Description

source Source file or path name of the file you want to rename.

destination Destination file or path name of the new file.

Usage Guidelines

Use this command to rename any file within the Cache Engine. Certain files cannot be renamed without interfering with functionality of the feature associated with the file.

Example

Console# rename ce25.pax ce6399.pax

Related Commands

cpfile

rmdir

To delete a directory, use the rmdir EXEC command.

rmdir directory

Syntax Description

directory Name of the directory you want to delete.

Usage Guidelines

Use this command to remove any directory from the Cache Engine file system. This is not a recursive command; therefore, you are queried whether to delete any files in the directory.

Example

Console# rmdir /local/oldpaxfiles

Related Commands

lls

ls

mkdir

terminal

To display the current terminal commands, use the terminal EXEC command.

terminal monitor

Syntax Description

monitor Monitors debug commands.

Usage Guidelines

This command makes a Telnet session the terminal. This causes all software output to go to this session. Since there is only one active terminal in the system, this session redirects all software output from all other Telnet sessions to this session.

Example

Console# terminal monitor Console is always monitored

type

To display a file, use the type EXEC command.

type filename

Syntax Description

filename Name of file.

Usage Guidelines

Use this command to display the contents of a file within any Cache Engine file directory. This command may be used to monitor features such as transaction logging, system logging (syslog), or to manage files such as badurl.lst for URL filtering.

Example

Console# type badurl.lst

Related Commands

cpfile

dir

lls

ls

mkfile

undebug

To disable debugging functions, use the undebug EXEC command. Also see the debug EXEC command.

undebug {all | cron | ftp-server | http httpsubcommands debugsubcommands | icp icpsubcommands debugsubcommands | inetd | logging loggingsubcommands | ntp debuglevel | radius radiussubcommands debugsubcommands | rcpd | snmp snmpsubcommands debugsubcommands | stats statssubcommands | tftp-server | translog translogsubcommands | wccp wccpsubcommands | wi wisubcommands debugsubcommands}

Syntax Description

See the syntax description for the debug command.

Usage Guidelines

Use this command to turn off debugging functions that are enabled on the Cache Engine. Use the undebug all command to turn off all debugging, or to turn off a specific debugging function, use the undebug command with the exact string used to enable the debugging.

The equivalent command is no debug.

Example

Console# undebug icp all

Related Commands

debug

no debug

show debug

whoami

To display the current user's name, use the whoami EXEC command.

whoami

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

Use this command to display the current user's username and user identification number.

Example

Console# whoami admin

Related Commands

pwd

write

To write running configurations to memory or to a terminal session, use the write EXEC command.

write [erase | memory | terminal]

Syntax Description

erase (Optional) Erases startup configuration from NVRAM.

memory (Optional) Writes the configuration to NVRAM. This is the default.

terminal (Optional) Writes the configuration to a terminal session.

Default

memory

Usage Guidelines

Use this command to either save running configurations to NVRAM or to erase memory configurations. Following a write erase command, no configurations is held in memory and a prompt for configuration specifics occurs after rebooting the Cache Engine.

Use the write terminal command to display the current running configuration in the terminal session window. The equivalent command is show running-config.

Example

Console# write

Related Commands

copy running-config startup-config

show running-config

Global Configuration Commands

The global configuration Cache Engine commands are entered in the global configuration mode. The section describes the following global configuration commands.

clock timezone

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

clock timezone {zone hours} [minutes]

no clock timezone

Syntax Description

zone Name of the time zone to be displayed when standard time is in effect.

hours Offset from GMT.

minutes (Optional) Minutes offset from GMT/UTC.

Usage Guidelines

Use this command in conjunction with the clock set command when a NTP server is not being used to find the current time of day.

Use this command to set the time zone parameters for the location of the Cache Engine. This information is used to set the GMT offset against the time entered with the clock set command.

Example

The following example sets the timezone to Pacific Standard Time and offsets 8 hours behind UTC:

Console(config)# clock timezone PST -8 Console(config)# no clock timezone

Related Commands

clock

show clock

cron

To set a CRON task, use the cron global configuration command. To disable a CRON task, use the no form of this command.

cron {del-tab entryid | file tabfile | save-tab | tab-entry tabentry}

no cron {del-tab entryid | file tabfile | save-tab | tab-entry tabentry}

Syntax Description

del-tab Deletes tab.

file CRON tab file.

save-tab CRON save tab.

tab-entry CRON tab entry.

entryid Entry ID (1 to 1,000).

tabfile CRON tab filename.

tabentry CRON tab entry line.

Usage Guidelines

The cron command is used to set up CRON tasks.

To view your existing CRON configurations, use the show cron command. For example:

Console# show cron ==CRON Configuration== CRON tab file: /local/etc/crontab Legend 1: min hr day-of-mon mon day-of-wk tclsh script-name Legend 2: min hr day-of-mon mon day-of-wk tcl tcl-cmd Sample: 0 5 * * * tclsh /local/test.tcl

Example

Console(config)# cron sav-tab Console(config)# no cron sav-tab

Related Commands

show cron

dns-cache

To configure the DNS cache, use the dns-cache global configuration command. To disable the DNS cache, use the no form of this command.

dns-cache {enable | size maxsize}

no dns-cache {enable | size}

Syntax Description

enable Enables the DNS cache.

size Sets the DNS cache size.

maxsize Maximum number of cache records (256 to 2,048).

Usage Guidelines

To enable caching of DNS entries, use the dns-cache enable command as well as the dns-cache size command. Cache size refers to the maximum number of DNS entries that will be cached at one time.

Examples

Console(config)# dns-cache enable Console(config)# dns-cache size 512 Console(config)# no dns-cache enable Console(config)# no dns-cache size

Related Commands

dns-cache clear

end

To exit global configuration mode, use the end global configuration command.

end

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

Use the end command to exit global configuration mode after completing any changes to the running configuration. This will not save any new configurations to NVRAM. You must use the write command to save the configuration.

You may press Ctrl-Z to exit global configuration mode.

Example

Console(config)# end Console#

Related Commands

exit

Ctrl-Z

exec-timeout

To configure the length of time that an inactive terminal session window will remain open, use the exec-timeout global configuration command. To disable the exec timeout, use the no form of this command.

exec-timeout timeout

no exec-timeout

Syntax Description

timeout Timeout in minutes (0 to 44,640).

Usage Guidelines

Use this command to establish the length of time, in minutes, that an inactive terminal session window will remain open. After 150 minutes, it will disconnect itself.

Example

Console(config)# exec-timeout 100 Console(config)# no exec-timeout

exit

To exit any configuration mode or close an active terminal session and terminate EXEC mode session, use the exit EXEC command.

exit

Syntax Description

This command has no arguments or keywords.

Command Mode

EXEC and global configuration

Usage Guidelines

Use the exit command in global configuration mode to return to EXEC mode.

Use the exit command in EXEC command mode to close an active terminal session and terminate the EXEC mode session.

You can press Ctrl-Z or use the end command from any configuration mode to return to EXEC mode.

Example

Console# exit

Related Commands

end

Ctrl-Z

group

To configure user group parameters, use the group global configuration command.

group {add groupname | delete group-id | delete groupname | modify group-id | modify groupname}

Syntax Description

add Adds a group name.

delete Deletes a group name or ID.

modify Modifies a group name or group ID.

groupname Group name.

group-id Group ID.

Usage Guidelines

Use this command to create a new group of users or to modify an existing group. User groups are used to allow unique accessibility to the cache file system, or to the Cache Engine itself on a group-by-group basis.

Example

Console(config)# group add pubs

Related Commands

user

help

To get 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.

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:

Example

Console(config)# help

hostname

To configure the Cache Engine's network 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

Syntax Description

name New host name for the Cache Engine; the name is case sensitive.The name may be from 1 to 22 alphanumeric characters.

Default

The default host name is CE550.

Usage Guidelines

Use this command to configure the host name for the Cache Engine. The host name is used in prompts and default configuration filenames.

Example

The following example changes the host name to sandbox:

Console(config)# hostname sandbox sandbox(config)# Console(config)# no hostname CE550(config)#

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 texttime binary bintime | cache-authenticated | cache-cookies | cache-miss {retrieve | revalidate} | cluster maxdelay delaysecs | max-ttl days hours minutes seconds | persistent-connections {enable | timeout secs | proxy {incoming port | outgoing {hostname | ip-address} port | reval-each-request {all | none | text} | serve-ims text texttime binary bintime}

no http {age-multiplier text texttime binary bintime | cache-authenticated | cache-cookies | cache-miss {retrieve | revalidate} | cluster maxdelay delaysecs | max-ttl days hours minutes seconds | persistent-connections {enable | timeout secs | proxy {incoming port | outgoing {hostname | ip-address} port | reval-each-request {all | none | text} | serve-ims text texttime binary bintime}

Syntax Description

age-mulitplier HTTP/1.0 caching heuristic modifier for text objects.

text Heuristic modifier for text object.

texttime Expiration time of text objects as a percentage of their age (0 to 100).

binary Heuristic modifier for binary object.

bintime Expiration time of binary objects as a percentage of their age (0 to 100).

cache-authenticated Cache and revalidate authenticated web objects.

cache-cookies Cache web objects with associated cookies.

cache-miss Configuration for the handling of `no-cache' requests.

retrieve Retrieve the object from the origin.

revalidate Revalidate the object with the origin before serving.

cluster max-delay Maximum delay to wait for a response.

delaysecs Maximum delay in seconds (0 to 10).

max-ttl Maximum time to live for objects in the cache.

days Maximum time to live for units in days.

hours Maximum time to live for units in hours.

minutes Maximum time to live for units in minutes.

seconds Maximum time to live for units in seconds.

persistent-connections Persistent connections configuration options.

enable Enable persistent connections.

timeout secs Persistent connection timeout in seconds (1 to 86,400).

proxy Configuration parameters for proxy-mode.

incoming Configuration for incoming proxy-mode requests.

port Port to listen for requests (1 to 32,768).

outgoing Configuration to direct outgoing request to another proxy-server.

hostname Host name of outgoing proxy.

ip-address IP address of outgoing proxy.

port Port to listen for requests (1 to 32,768).

reval-each-request Configuration of revalidation for every request.

all Revalidates all objects on every request.

none Do not revalidate for each request.

text Revalidate text objects on every request.

serve-ims Configuration for the handling of If-Modified-Since (IMS) requests for text objects.

text Modify handling of If-Modified-Since requests for text objects.

texttime Percentage of age to serve the object without revalidation (0 to 100).

binary Modify handling of If-Modified-Since requests for binary objects.

bintime Percentage of age to serve the object without revalidation (0 to 100).

Defaults

age-mulitplier Default is 30 percent for text and 60 percent for binary objects.

max-ttl Default is 3 for text and 7 days for binary objects.

serve-ims Default is 50 percent of maximum age for text and 80 percent of maximum age for binary objects.

cache-cookies Default is No.

cache-authenticated Default is No.

cache reval-each-request Default is None.

cache-miss Default is to retrieve.

cluster Maximum delay is 2 seconds.

incoming proxy Default is disabled.

outgoing proxy Default is disabled.

persistent conn Default is enabled.

Connection timeout 15 seconds.

Maximum idle time 1000 seconds.

Usage Guidelines

Use these commands to configure specific parameters for caching HTTP objects.


Note   Text objects refer to HTML pages. Binary objects refer to all other web objects (for example, GIF or JPEGs).

The age-multiplier command enables the Cache Engine to determine the age of an object by multiplying the length of time since the object's last-modified-date by the configured percentage. This establishes an approximate date of expiration from the cache.

The max-ttl command sets the upper limit on estimated expiration dates. If an object has an explicit expiration date, this takes precedence over the configurable TTL (time to live).

The serve-ims command responds to an If-Modified-Since request issued from a client browser by serving the object directly from the cache without revalidating with the origin server if the object is less then the configured percentage of its maximum age.

The cache-cookies command enables the Cache Engine to cache binary served with HTTP set-cookies headers and no explicit expiration information.

The cache-authenticated command enables the Cache Engine to cache authenticated content. If enables, the Cache Engine will not serve authenticated objects without first revalidating the authentication header attached to the cached object.

The cache reval-each-request command enables the Cache Engine to revalidate all objects requested from the cache (text only if only text (HTML pages) should be revalidated each time or none to disable this function).

The cache-miss revalidate command revalidates a cache-miss request forced by the client (shift-reload). The cache-miss retrieve command forces a new object retrieval.

The cluster command modifies the healing mode parameters. A cluster refers to a group of two or more caches within a single WCCP Version 2 environment. Healing mode describes the addition of a cache engine to an existing network, and the resulting "healing" time it takes to fill the cache with content. To disable healing mode, you must set the number of misses to 0.

The proxy mode command enables the Cache Engine to operate in environments where the WCCP is not enabled, or where client browsers have previously been configured to use a legacy proxy server. You must configure the proxy incoming port to accept proxy style requests using the proxy incoming port command. To enable an outgoing (upstream) proxy server, use the proxy outgoing hostname port command (where hostname is the system name or IP address of the outgoing proxy server, and port is the port number designated by the outgoing (upstream) server to accept proxy requests.

The persistent-connections enable command enables persistent-connections on the Cache Engine. To configure the number of seconds the Cache Engine should wait for a connection response before it times out, use the connection time-out command. To set the number of seconds, the Cache Engine should allow an idle persistent connection to remain open, use the max-idle command.

Example

Console(config)# http age-multiplier text 30 bin 60 Console(config)# http reval-each-request text Console(config)# no http age-multiplier text 30 bin 60 Console(config)# no http reval-each-request text

Related Command

show http

icp

To configure the Internet Configuration Protocol (ICP) client and server, use the icp global configuration command. To disable the ICP client and server, use the no form of this command.

icp {client {add-remote-server hostname {parent | sibling} icp-port icpport | enable | exclude line | max-fail retries | max-wait timeout | modify-remote-server hostname {http-port port | icp-port port | parent | restrict line | sibling} | server {enable | port port | remote-client hostname {fetch | no-fetch}}

no icp {client {add-remote-server hostname {parent | sibling} icp-port icpport | enable | exclude line | max-fail retries | max-wait timeout | modify-remote-server hostname {http-port port | icp-port port | parent | restrict line | sibling} | server {enable | port port | remote-client hostname {fetch | no-fetch}}

Syntax Description

client ICP client functionality:

add-remote-server Adds an ICP client remote server.

hostname Host name or IP address.

parent ICP server acts like a parent.

sibling ICP server acts like a sibling.

icp-port ICP port.

icpport ICP port number to send remote requests (0 to 65,535).

http-port HTTP port.

httpport HTTP port to send requests (0 to 65,35).

enable Enables the ICP client.

exclude ICP client local domain.

line space delimited local domain list.

max-fail Number of retries.

retries Number of retries (0 to 100).

max-wait Timeout period of ICP responses in seconds.

timeout Timeout period for ICP responses in seconds (0 to 30).

modify-remote-server Modify the ICP client remote server parameters.

hostname Host name or IP address.

http-port HTTP port.

port HTTP port number to send requests (0 to 65,535).

icp-port ICP port.

port ICP port number to send requests (0 to 65,535).

parent ICP remote server acts like a parent.

restrict Restricted list of domains.

line Space delimited local domain list.

sibling ICP remote server acts like a sibling.

server ICP server functionality:

enable Enables the ICP client.

port ICP server port to listen for ICP requests.

port ICP port number to send requests (0 to 65,535).

remote-client ICP server remote client.

hostname Host name or IP address.

fetch ICP remote client fetch.

no-fetch ICP remote client do not fetch miss.

Usage Guidelines

Use these commands to establish and configure the ICP server and client functionality of the Cache Engine. Configurations made without enabling ICP functionality will be stored within the configuration until removed. To enable the ICP server or client functionality, use the icp {server | client} enable} command. Be sure to enable the ICP on any other Cache Engines or ICP servers/clients within the ICP environment to ensure proper service. You may monitor the statistical data of ICP service using the show statistics icp EXEC command.

Example

Console(config)# icp client enable Icp Client started Console(config)# no icp client enable Icp Client disabled

Related Commands

show icp client

show icp server

show statistics icp

inetd

To configure, enable, and disable TCP/IP services, use the inetd global configuration command. To disable TCP/IP services, use the no form of this command.

inetd {enable service tasks}

no inetd {enable service}

Syntax Description

enable Enables TCP/IP service.

service Name of the service to be enabled: echo, discard, chargen, ftp, rcp, telnet, and tftp.

tasks Maximum number of concurrent tasks.

Default

echo Disabled.

discard Disabled.

chargen Disabled.

ftp Five sessions.

rcp Five sessions.

telnet Three sessions.

tftp Five sessions.

Usage Guidelines

Use these commands to configure the parameters of TCP/IP services on the Cache Engine. The limit for any service is a maximum of 20 tasks. Use the show inetd command to list current inetd configurations and the number of current tasks running.

Example

Console(config)# inetd enable ftp 5 Console(config)# no netd enable ftp

Related Commands

show inetd

interface

To configure an Ethernet or SCSI interface, use the interface global configuration command. To disable an Ethernet or SCSI interface, use the no form of this command.

interface ethernet number

no interface ethernet number

Syntax Description

ethernet The Ethernet IEEE 802.3 interface to configure.

number The Ethernet interface number (0 or 1).

Usage Guidelines

Use the interface command to begin interface configuration, such as setting an IP address for an interface, a subnet mask for an interface, broadcast address, or manual set speed/duplex for an interface.

Example

Console(config)# interface ethernet 0 Console(config-if)# ? Configure Interface commands: autosense Interface autosense bandwidth Interface speed exit Exit from interface mode fullduplex Interface fullduplex halfduplex Interface halfduplex ip Interface Internet Protocol Config commands no Negate a command or set its defaults Console(config-if)# exit Console(config)# Console(config)# no interface ethernet 0

Related Commands

show interface

ip default-gateway

To define a default gateway, use the ip default-gateway global configuration command. To delete the IP default gateway, use the no form of this command.

ip default-gateway ip-address

no ip default-gateway

Syntax Description

ip-address IP address of the default gateway.

Default

Disabled

Usage Guidelines

The default gateway is used to route IP packets when there is no specific route found to the destination.

Example

Console(config)# ip default-gateway 192.31.7.18 Console(config)# no ip default-gateway

ip domain-name

To define a default domain name, use the ip domain-name global configuration command. To remove the IP default domain name, use the no form of this command.

ip domain-name name

no ip domain-name

Syntax Description

name Domain name.

Default

Enabled

Usage Guidelines

This configuration allows the Cache Engine to resolve any unqualified host names. Any IP host name that does not contain a domain name will have the configured domain name appended to it. This appended name is resolved by the DNS server and then added to the host table. There must also be a DNS server enabled on the Cache Engine for host name resolution to work correctly. To do this, use the ip name-server hostname command.

Example

Console(config)# ip domain-name cisco.com Console(config)# no ip domain-name

Related Commands

ip domain-name

ip name-server

ip name-server

To specify the address of one or more name servers to use for name and address resolution, use the ip name-server global configuration command. To disable IP name servers, use the no form of this command.

ip name-server ip-address

no ip name-server ip-address

Syntax Description

ip-address Domain server IP address (maximum of 8).

Usage Guidelines

For proper resolution of host name to IP address or IP address to host name, the Cache Engine uses DNS servers. Use the ip name-server command to point the Cache Engine to a specific DNS server. You may configure up to eight servers.

Example

Console(config)# ip name-server 10.11.12.13 Console(config)# no ip name-server 10.11.12.13

Related Commands

no ip name-server

ip domain-name

ip route

To configure static IP routing, use the ip route global configuration command. To disable an IP routing, use the no form of this command.

ip route destination netmask gateway

no ip route destination netmask gateway

Syntax Description

destination Destination network IP address.

netmask Destination network subnet mask address.

gateway Destination network gateway IP address.

Default

Disabled

Usage Guidelines

Use the ip route command to an add net/host specific static route. Any IP packet designated to the net/host will then use the route specified.

Example

Console(config)# ip route 171.69.227.128 ffffff80 171.69.227.250 Console(config)# no ip route 171.69.227.128 ffffff80 171.69.227.250

Related Commands

show ip route

logging

To configure logging, use the logging global configuration command. To disable logging functions, use the no form of this command.

logging {hostname | ip-address | console conditions | disk filename conditions | event-export events conditions export | facility export | on | recycle size | trap conditions}

no logging {hostname | ip-address | console conditions | disk filename conditions | event-export events conditions export | facility export | on | recycle size | trap conditions}

Syntax Description

hostname Syslog server host name.

ip-address IP address.

console Sets console logging level.

conditions Use one of these keywords:

alerts — Immediate action needed.

critical — Immediate action needed.

debugging — Debugging messages.

emergencies —System is unusable.

errors — Error conditions.

informational — Informational messages.

notification — Normal but significant conditions.

warnings — Warning conditions.

disk Stores log in a file.

filename filename to store log.

event-export Syslog event export configuration.

events Use one of these keywords:

critical-events — Exports critical events.

notice-events — Exports notice events.

url-tracking — Tracks URLs to syslog.

warning-events — Exports warning events.

export Use one of these keywords:

cron/at — CRON.

daemon — System Daemons.

kernel — Kernel.

line-printer — Line printer system.

local0 — Local Use.

local1 — Local Use.

local2 — Local Use.

local3 — Local Use.

local4 — Local Use.

local5 — Local Use.

local6 — Local Use.

local7 — Local Use.

mail — USENET News.

news — Mail System.

security — Authorization system.

syslog — Syslog itself.

user — User process.

uucp — UUCP System.

facility Facility parameter for syslog messages.

on Enables logging to all destinations.

recycle Sets log file recycling.

size Size in bytes (1 to 50000000).

trap Sets syslog server logging level.

Defaults

These are the defaults when no other options are configured by the user:

Usage Guidelines

Use this command to set specific parameters for Syslog. Syslog is always enabled internally, and the files are found in /local/var/log/syslog.txt. To configure the Cache Engine to send varying levels of event messages to an external syslog host, use the syslog hostname command. Syslog can be configured to send various levels of messages to the console using the logging console conditions command. It can also be configured to export event messages using the logging event-export events command.

Example

Console(config)# logging console warnings Console(config)# no logging console warnings

no

To undo a global configuration command or set its defaults, use the no form of a command to undo the original command

no command

Syntax Description

command Use the following keyword and its associated syntax:

clock timezone — Configures time zone.

cron — CRON commands.

dns-cache — DNS cache commands.

end — Exits from configure mode.

exec-timeout — Exec timeout.

exit — Exits global configuration mode.

hostname — Sets system's network name.

http — HTTP related configuration parameters.

icp — Internet cache protocol commands.

inetd — INETD configuration command.

interface — Selects an interface to configure.

ip — Internet protocol configuration commands.

logging — System logging (syslog) commands.

ntp — NTP configuration commands.

radius — Configuration commands for RADIUS authentication.

snmp-server — Modifies SNMP parameters.

tcp — TCP user configure.

terminal — Current terminal commands.

tftp-server — TFTP-server commands.

transaction-log — Configuration commands for transaction logging.

trusted-host — Trusted host commands.

url-filter — Enables URL blocking.

wccp — Web Cache Communication Protocol (WCCP).

Usage Guidelines

Use the no command to disable functions or negate a command. If you need to negate a specific command, such as the default gateway IP address, you must include the specific string in your command, such as no ip default-gateway ip-address. To disable a function currently enabled on the Cache Engine, simply use the no function command.

Example

Console(config)# wccp version 2 Console(config)# no wccp version 2

ntp server

To configure the Network Time Protocol (NTP) and to allow the system clock to be synchronized by a time server, use the ntp server global configuration command. To disable this function, use the no form of this command.

ntp server {hostname | ip-address}

no ntp server {hostname | ip-address}

Syntax Description

hostname Host name of the time server providing the clock synchronization (maximum of 4).

ip-address NTP server IP address of the time server providing the clock synchronization (maximum of 4).

Default

The default NTP version number is 3.

Usage Guidelines

Use this command to synchronize the Cache Engine clock with the specified server. The server will not synchronize to this machine.

Example

Console(config)# ntp server 172.16.22.44 Console(config)# no ntp server 172.16.22.44

Related Commands

clock

show clock

show ntp

radius

To configure RADIUS authentication parameters, use the radius global configuration command.To disable RADIUS authentication parameters, use the no form of this command.

radius {auth-timeout value | server {hostname | ip-address} port password {enable | disable}}

no radius {auth-timeout value | server {hostname | ip-address} port password {enable | disable}}

Syntax Description

auth-timeout Configures RADIUS authentication timeout.

value Timeout value in minutes (1 to 60).

server Adds a RADIUS server.

hostname Host name of RADIUS server.

ip-address IP address of RADIUS server.

port Port of RADIUS server (1 to 32,7680).

password Shared secret password for the RADIUS server authentication.

enable Enables the RADIUS server.

disable Disables the RADIUS server.

Usage Guidelines

The radius command is used to configure the RADIUS authentication parameters.

Example

Console(config)# radius server 171.71.90.121 70 password enable Console(config)# no radius server 171.71.90.121 70 password enable

snmp-server community

To set up the community access string to permit access to the SNMP protocol, use the snmp-server community global configuration command. Use the no form of this command to remove the previously configured community string.

snmp-server community string

no snmp-server community

Syntax Description

string Community string that acts like a password and permits access to the SNMP protocol.

Default

By default, an SNMP community string permits read-only access to all objects.

Usage Guidelines

The first snmp-server command that you enter enables both versions of SNMP. Cisco does not support sets. The no snmp-server command disables both versions of SNMP (SNMPv1 and SNMPv2C).

Examples

The following example assigns the string comaccess to SNMP:

Console(config)# snmp-server community comaccess

The following example removes the previously defined community string.

    Console(config)# no snmp-server community

The following example disables both versions of SNMP without removing a previously defined community string:

Console(config)# no snmp-server

snmp-server contact

To set the system contact (sysContact) string, use the snmp-server contact global configuration command. Use the no form of this command to remove the system contact information.

snmp-server contact line

no snmp-server contact

Syntax Description

line String that describes the system contact information.

Default

No system contact string is set.

Usage Guidelines

The system contact string is the value stored in the MIB-II system group sysContact object.

Example

The following is an example of a system contact string:

Console# snmp-server contact Dial System Operator at beeper # 27345 Console# no snmp-server contact

Related Commands

snmp-server location

show snmp

snmp-server enable traps

To enable the Cisco Cache Engine to send SNMP traps, use the snmp-server enable traps global configuration command. Use the no form of this command to disable SNMP notifications.

snmp-server enable traps

no snmp-server enable traps

Syntax Description

This command has no arguments or keywords.

Default

This command is disabled by default. No traps are enabled.

Usage Guidelines

If you do not enter an snmp-server enable traps command, no traps are sent. In order to configure this, you must enter the snmp-server enable traps command.

The snmp-server enable traps command is used in conjunction with the snmp-server host command. Use the snmp-server host command to specify which host or hosts receive SNMP traps. To send traps, you must configure at least one snmp-server host command.

For a host to receive a trap, both the snmp-server enable traps command and the snmp-server host command for that host must be enabled.

In addition, SNMP must be enabled with the snmp-server community command.

Example

The following example enables the router to send all traps to the host 172.30.2.160 using the community string public:

Console(config)# snmp-server enable traps Console(config)# snmp-server host 172.30.2.160 public Console(config)# no snmp-server enable traps

Related Commands

snmp-server host

snmp-server community

snmp-server host

To specify the recipient of an SNMP trap operation, use the snmp-server host global configuration command. Use the no form of this command to remove the specified host.

snmp-server host {hostname | ip-address} string

no snmp-server host {hostname | ip-address} string

Syntax Description

hostname Host name of SNMP TRAP host.

ip-address IP address of SNMP TRAP host.

string Password-like community string sent with the trap operation.

Default

This command is disabled by default. No traps are sent.

The version of the SNMP protocol used to send the traps is SNMPv1.

Usage Guidelines

If you do not enter an snmp-server host command, no traps are sent. To configure the Cisco Cache Engine product to send SNMP traps, you must enter at least one snmp-server host command. To enable multiple hosts, you must issue a separate snmp-server host command for each host. The maximum number of snmp-server host commands is four.

When multiple snmp-server host commands are given for the same host, the community string in the last command is used.

The snmp-server host command is used in conjunction with the snmp-server enable traps command to enable SNMP traps.

In addition, SNMP must be enabled with the snmp-server community command.

Example

The following example sends the SNMP traps defined in RFC 1157 to the host specified by the IP address 172.30.2.160. The community string sent n the trap message is defined as comaccess.

Console(config)# snmp-server enable traps Console(config)# snmp-server host 172.30.2.160 comaccess Console(config)# no snmp-server host 172.30.2.160

Related Commands

snmp-server enable traps

snmp-server community

snmp-server location

To set the system location string, use the snmp-server location global configuration command. Use the no form of this command to remove the location string.

snmp-server location line

no snmp-server location

Syntax Description

line String that describes the physical location of this node.

Default

No system location string is set.

Usage Guidelines

The system location string is the value stored in the MIB-II system group system location object.

You can see the system location string with the show snmp EXEC command.

Example

The following is an example of a system location string:

Console(config)# snmp-server location Building 3/Room 214

Related Commands

show snmp

snmp-server contact

tcp

To configure TCP parameters, use the tcp global configuration command. To disable TCP parameters, use the no form of this command.

tcp {client-receive-buffer kbytes | client-rw-timeout seconds | client-send-buffer kbytes | cwnd-base factor | init-ssthresh value | keepalive-probe-cnt count | keepalive-probe-interval seconds | keepalive-timeout seconds | listen-queue length server-receive-buffer kbytes | server-rw-timeout seconds | server-send-buffer kbytes}

no tcp {client-receive-buffer kbytes | client-rw-timeout seconds | client-send-buffer kbytes | cwnd-base factor | init-ssthresh value | keepalive-probe-cnt count | keepalive-probe-interval seconds | keepalive-timeout seconds | listen-queue length server-receive-buffer kbytes | server-rw-timeout seconds | server-send-buffer kbytes}

Syntax Description

client-receive-buffer Client connection's receive buffer size.

kbytes Buffer size (1 to 128) in kilobytes.

client-rw-timeout Client connection's read/write timeout.

seconds Timeout (1 to 3600) in seconds.

client-send-buffer Client connection's send buffer size.

kbytes Buffer size (1 to 128) in kilobytes.

cwnd-base TCP cwnd base factor.

factor Factor value (1 to 16).

init-ssthresh TCP initial smooth threshold.

value Treshold value (2920-1073741824).

keepalive-probe-cnt TCP keepalive probe counts.

count Times (1 to 10).

keepalive-probe-interval TCP keepalive probe interval.

seconds Seconds (1 to 300).

keepalive-timeout TCP keepalive timeout.

seconds Seconds (1 to 3,600).

listen-queue Maximum size of TCP listen queue.

length Listen queue length (1 to 1,000).

server-receive-buffer Server connection receive buffer size.

kbytes Buffer size (1 to 128) in kilobytes.

server-rw-timeout Server connection read/write timeout.

seconds Timeout (1 to 3,600) in seconds.

server-send-buffer Server connection send buffer size.

kbytes Buffer size (1 to 128) in kilobytes.

Default

tcp client-receive-buffer 8 kilobytes

tcp client-rw-timeout 30 seconds

tcp client-send-buffer 8 kilobytes

tcp keepalive-probe-cnt 4

tcp keepalive-probe-interval 75 seconds

tcp keepalive-timeout 300 seconds

tcp server-receive-buffer 8 kilobytes

tcp server-rw-timeout 120 seconds

tcp server-send-buffer 8 kilobytes

Usage Guidelines

In nearly all environments, the default TCP setting will be adequate. You must reboot the Cache Engine when changes are made to the listen-queue setting in order for this option to take effect.

Example

Console(config)# tcp client-receive-buffer 100 Console(config)# no tcp client-receive-buffer 100

Related Commands

show tcp

terminal

To configure the current terminal commands, use the terminal global configuration command. To disable the this function, use the no form of this command.

terminal length lines

no terminal length lines

Syntax Description

length Keyword.

lines Number of lines on screen (0 to 512). Select 0 for no pausing.

Usage Guidelines

Use this command to set the number of lines displayed in the console window at one time before pausing. This command is useful for monitoring output from all show commands in the EXEC mode, some of which require more than one screen length when complete. Once the limit has been reached, the -More- prompt is displayed. To view the next screen, use the Space bar. To view one line at a time, use the Enter key. To exit the show command output, use the Esc key or any other keystroke.

Example

Console(config)# terminal length 0 Console(config)# no terminal length 0

Related Commands

All show commands.

transaction-logs

To enable transaction logs, use the transaction-logs global configuration command. To disable transaction logs, use the no form of this command.

transaction-logs {destination disk | interval time}

no transaction-logs {destination disk | interval time}

Syntax Description

destination Location to store log files.

disk Logs to the disk to the file (/local/var/log/working.log).

interval Working log file is archived after this interval.

time Interval time in seconds (1 Day = 86400 sec) (120 to 60,4800).

Default

The default is 86,400 second interval.

Usage Guidelines

Use these commands to record all transactions serviced by the Cache Engine. To enable the feature, use the transaction-logs destination disk command. To configure the length of each working log (in seconds), use the transaction-logs interval time command. If no interval is configured, the Cache Engine will default to 86,400 seconds. Each working log is archived after the time interval allotted, and is stored as the archive log until over-written by a newly completed working log. Both log files can be found in the /local/var/log directory.

Example

Console(config)# transaction-logs destination /local Console(config)# no transaction-logs destination /local

Related Commands

show transaction-logging

type working log

type archive log

trusted-host

To enable trusted hosts on your Cache Engine, use the trusted-host global configuration command. To disable trusted hosts, use the no form of this command.

trusted-host {hostname | ip-address | domain-lookup}

no trusted-host {domain-lookup}

Syntax Description

hostname Host name.

ip-address IP Address.

domain-lookup Trusted host checking.

Default

No trusted hosts is the default.

Usage Guidelines

To allow reception of files (for example, rcp) from specified hosts, these hosts must be identified using the trusted-host hostname command. It is necessary to also enable this feature using the trusted-host domain-lookup command.

Example

Console(config)# trusted-host 171.71.90.33 Console(config)# no trusted-host domain-lookup

Related Commands

show trusted-hosts

url-filter

To enable URL blocking, use the url-filter global configuration command. To disable URL blocking, use the no form of this command.

url-filter {bad-sites-block | good-sites-allow}

no url-filter

Syntax Description

bad-sites-block Block access to sites listed in badurl.lst file.

good-sites-allow Allows access only to sites listed in goodurl.lst file.

Usage Guidelines

Use this command to either block access to restricted sties or allow access only to selected sites. Only one type of URL-filtering may be enabled at one time. Lists of allowed or restricted sites must also exist in the file system for proper functionality. To create URL lists, open a plain text file using the www.domain.com format. The filenames must be badurl.lst for the bad-site-block keyword, and goodurl.lst for the good-sites-allow keyword. Using FTP, put these lists into the /local/etc directory of the Cache Engine.

Example

Console(config)# url-filter bad-sites-block Console(config)# no url-filter

Related Commands

show url-filtering

user

To configure user accounts on your Cache Engine, use the user global configuration command.

user add username [capability] [admin-access]

user add username [capability] [ftp-access [admin-access | telnet-access [admin-access]]]

user add username [capability] [http-access [admin-access | ftp-access [admin-access [telnet-access] | telnet-access [admin-access]]]

user add username [capability] [telnet-access [admin-access]]

user add username [password] [0 | 1] {word} [capability (see capability options above)]

user add username [uid numberA] [capability (see capability options above) | password (see password options above) ]

user delete {uid numberD | username name}

user modify {uid numberM | username name}{add-capability (see capability options above) | del-capability (see capability options above) | password (see password options above)}

Syntax Description

add Adds new user information.

delete Deletes the user information.

mod Changes the user information.

username Name of the user.

capability (Optional) Add capability to a new user. Use with add keyword.

add-capability Add capability to an existing user. Use with modify keyword.

del-capability Delete capability to an existing user. Use with modify or delete keyword.

Capability options:

admin-access — Every possible access to Cache Engine.

ftp-access — FTP access to the Cache Engine.

http-access — HTTP (Web) access to the Cache Engine.

telnet-access — Telnet access to the Cache Engine.

password Password. Password options:

0 — Specifies clear-text password will follow (default).

1 — Specifies type 1 encrypted password will follow.

word User password.

username Name of the user.

name Username.

uid User's ID number. ID number options:

numberA — User ID number (2001 to 2147483647).

numberD — User ID number (1 to 2147483647).

numberM — User ID number (0 to 2147483647).


Note   The user's identification number (uid) number 0 is set aside for the user "admin" and cannot be assigned to anyone else. The system sets user ID numbers 1 to 2000 aside for itself to allocate at will. The user ID numbers 2001 to 2147483647 can e assigned manually to whomever is configured as a user. Therefore, you can add user ID numbers 2001 to 2147483647, delete user ID numbers2001 to 2147483647, and modify or show user ID numbers 0 to 2147483647.

Default

Default users upon first boot-up (for example, admin).

Usage Guidelines

Use this command to configure new users to the Cache Engine or to modify or delete existing users. You may use this command to modify user passwords, user identification numbers, or access to the Cache Engine allowed for each user. Capabilities (access) include ftp-access, http-access, and telnet-access or complete access to the cache is possible using the admin-access option. Up to 50 users may be configured.

Example

Console(config)# user add rich Operation successful

Related Commands

show user

show users

wccp auth-bypass

To enable the authentication bypass function with WCCP version 2, use the wccp auth-bypass global configuration command. To disable this function, use the no form of this command.

wccp auth-bypass timer minutes

no wccp auth-bypass

Syntax Description

timer Bypass removal timer.

minutes Bypass removal time in minutes (1 to 1440).

Default

Disabled.

Usage Guidelines

Authentication bypass can only be used in conjunction with WCCP Version 2. Some web sites, due to IP authentication, may not allow the Cache Engine to connect directly on behalf of the client. To avoid a disruption of service, the cache will generate a dynamic access list for these client-server pairs. These client-server pairs remain in cache for the time interval designated with the wccp auth-bypass timer minutes command. This command also enables the feature.

Example

Console(config)# wccp auth-bypass timer 200 Console(config)# no wccp auth-bypass

Related Commands

show wccp auth-bypass

wccp version 2

wccp home-router

To configure a WCCP version 1 router IP address, use the wccp home-router global configuration command. To disable this function, use the no form of this command.

wccp home-router ip-address

no wccp home-router ip-address

Syntax Description

ip-address Home router's IP address.

Default

Disabled.

Usage Guidelines

To use WCCP Version 1 with the Cache Engine, you must also point the Cache Engine to a designated home router. Use the wccp home-router ip-address command to do this. This may also be the address of the IP default gateway.

Make sure that WCCP Version 1 is enabled on the router.

Example

Console(config)# wccp home-router 171.71.65.243 Console(config)# no wccp home-router 171.71.65.243

Related Commands

show wccp routes

wccp version 1

wccp load-bypass

To bypass connections if the Cache Engine becomes overloaded, use the wccp load-bypass global configuration command. To disable this function, use the no form of this command.

wccp load-bypass enable

no wccp load-bypass enable

Syntax Description

enable Enables load bypass.

Default

Enabled.

Usage Guidelines

Use this command to allow the Cache Engine to bypass packets back to the router(s) if traffic to the router overloads the system capacity. This will prevent any disruption of service to clients. When packets transference subsides to a manageable level, the cache will stop bypassing packets and will process requests as usual.

Do not enable this command with URL blocking enabled.

Example

Console(config)# wccp load-bypass enable Console(config)# no wccp load-bypass enable

Related Commands

show wccp load-bypass lists

show wccp load-bypass statistics

wccp version 2

wccp reverse-proxy

To enable WCCP version 2 reverse proxy service, use the wccp reverse-proxy global configuration command. To disable this function, use the no form of this command.

wccp reverse-proxy router-list-num number [password key] [weight percentage]

no wccp reverse-proxy

Syntax Description

router-list-num Router list number.

number Router list number (1 to 8).

password (Optional) Authentication password (key) for the router.

key (Optional) Password for the router.

weight (Optional) Weight percentage for the router.

percentage (Optional) Percentage of load (1 to 100) that the system carries as compared to others.

Default

Disabled.

Usage Guidelines

This command applies only to WCCP Version 2.

You must set the wccp router list command before you use this command.

The options do not have to be specified in order. For example, you may specify the password or weight only.

By default, the router does load balancing across the various Cache Engines in a cluster based on the destination IP address (for example, web server IP address). When WCCP reverse-proxy is enabled, the router does load-balancing in a cluster based on the source IP address (for example, client's browser IP address).

To enable the use of a password for a secure reverse-proxy cache within a cluster, use the password key command to be sure to enable all other caches and routers within the cluster with the same password.

To specify the amount of total load to be assigned to each cache within a cluster, use the weight command. This value is totaled with weight values assigned to other caches within the cluster, and this total is used to discern the percentage of total load assigned to each cache. If one or more Cache Engines within the cluster are configured with a weight value, than only those with a weight assignment will be given a load allotment.

Example

Console(config)# wccp reverse-proxy router-list-num 8 password key weight 100 Console(config)# no wccp reverse-proxy

Related Commands

show wccp cache-engines

show wccp services

wccp router-list

wccp version 2

wccp router-list

To configure a router list for WCCP Version 2, use the wccp router-list global configuration command. To disable this function, use the no form of this command.

wccp router-list number ip-address

no wccp router-list number ip-address

Syntax Description

number Number of router lists (1 to 8).

ip-address IP address (1 to 6).

Default

Disabled.

Usage Guidelines

Use this command to configure various router lists for use with WCCP Version 2 services. For example, you may run WCCP Version 2 web-cache service using one router list, and reverse-proxy using another. This allows you to switch the cache between WCCP Version 2 environments by changing the router list for the service running without having to reconfigure groups of routers or caches. You may add up to eight router lists and up to six IP addresses per list.

Example

Console(config)# wccp router-list 7 171.71.68.98 Console(config)# no wccp router-list 7 171.71.68.98

Related Commands

wccp reverse-proxy

wccp web-cache

wccp version 2

wccp version

To configure the WCCP Version, use the wccp version global configuration command. Use the no form of the command to disable the currently running version. To disable this function, use the no form of this command.

wccp version {1 | 2}

no wccp version {1 | 2}

Syntax Description

1 WCCP Version 1.

2 WCCP Version 2.

Default

Version 1.

Usage Guidelines

WCCP allows transparent caching of web content. For a detailed description of both versions, see Appendix B and C. It is necessary to disable WCCP Version 1 before enabling WCCP Version 2, and vice-versa. Be sure the router(s) used in the WCCP environment are running an image compatible with the version configured on the cache.

Example

Console(config)# no wccp version 1 Console(config)# wccp version 2

Related Commands

wccp home-router

wccp web-cache

To instruct the router to run the web-cache service with WCCP Version 2, use the wccp web-cache global configuration command. To disable this function, use the no form of this command.

wccp web-cache route-list-num number [password key] [weight percentage]

no wccp web-cache

Syntax Description

route-list-num Router list number.

number Number of the router list (1 to 8).

password (Optional) Authentication password (key) for the router.

key (Optional) Password for the router.

weight (Optional) Weight percentage for the router.

percentage (Optional) Weight of load (1 to 100) that the system carries as compared to others.

Usage Guidelines

Use this command to enable web-cache service with WCCP Version 2. With web-cache service, the router balances the traffic load within a cache cluster based on the destination IP address (for example, web-server IP address).

You must set the wccp router-list command before you use this command.

Both weight and password are optional and may be used together or separately.

To enable the use of a password for a secure web-cache cluster, use password key and be sure to enable all other caches and routers within the cluster with the same password.

To specify a certain amount of total load to be assigned to each cache within a cluster, use the weight command. This value is totaled with weight values assigned to other caches within the cluster, and this total is used to discern the percentage of total load assigned to each cache. If one or more Cache Engines within the cluster are configured with a weight value, than only those caches within the cluster that do have a weight assignment will be given a load allotment. By default, a router will divide the load evenly between the number of caches within a cache cluster.

Example

Console(config)# wccp web-cache router-list-num 1 Console(config)# no wccp web-cache

Related Commands

show wccp cache-engines

show wccp services

wccp version 2

Interface Configuration Commands

The interface configuration Cache Engine commands are entered in the interface configuration mode.

To enter the interface configuration mode, enter the following commands:

Console# config Console(config)# interface ? ethernet Select an ethernet interface to configure Console(config)# interface ethernet 0 Console(config-if)# ? Configure Interface commands: autosense Interface autosense bandwidth Interface speed exit Exit from interface mode fullduplex Interface fullduplex halfduplex Interface halfduplex ip Interface Internet Protocol Config commands no Negate a command or set its defaults

To exit the interface configuration mode, enter exit to return to the global configuration mode.

Console(config-if)# exit Console(config)#

The section describes the following interface configuration commands.

autosense

To enable auto sense on a 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.

Usage Guidelines

Use this command to auto sense on a interface.

Example

Console(config-if)# autosense Console(config-if)# no autosense

bandwidth

To configure an interface bandwidth, use the bandwidth interface configuration command. To disable this function, use the no form of this command.

bandwidth mbits

no bandwidth

Syntax Description

mbits 10 megabits (10-10).

100 megabits (100-100).

Usage Guidelines

Use this command to set the bandwidth of an interface to either 10 or 100 megabits.

Example

Console(config-if)# bandwidth 10 Console(config-if)# no bandwidth

exit

To exit the Interface Config mode, use the exit interface configuration command.

exit

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

Use this command to return to the global configuration mode from the interface configuration mode.

Example

Console(config-if)# exit Console(config)#

fullduplex

To configure an interface full duplex, 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.

Usage Guidelines

Use this command to configure an interface for full duplex. Full duplex allows data to travel in both directions at the same time through an interface or a cable per instance. A half-duplex setting ensures that data only travels in one direction at any given time. Full duplex is obviously faster, but sometimes the interfaces can't seem to handle it for some reason. If you run into collisions or other sorts of problems, you may want to configure an interface for half duplex rather than full duplex.

Example

Console(config-if)# fullduplex Console(config-if)# no fullduplex

Related Commands

halfduplex

halfduplex

To configure an interface half duplex, 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.

Usage Guidelines

Use this command to configure an interface for half duplex. Full duplex allows data to travel in both directions at the same time through an interface or a cable per instance. A half-duplex setting ensures that data only travels in one direction at any given time. Full duplex is obviously faster, but sometimes the interfaces cannot seem to handle it for some reason. If you run into collisions or other sorts of problems, you may want to configure an interface for half duplex rather than full duplex.

Example

Console(config-if)# halfduplex Console(config-if)# no halfduplex

Related Commands

fullduplex

ip

To configure the IP interface, use the ip interface configuration command. To disable this function, use the no form of this command.

ip {address ip-address ip-subnet | broadcast-address ip-address}

no ip {address [ip-address ip-subnet] | broadcast-address}

Syntax Description

address Sets the IP address of an interface.

broadcast-address Sets the broadcast address of an interface.

ip-address IP address.

ip-subnet IP subnet mask.

Usage Guidelines

Use this command to set or change the IP address and subnet mask of the Cache Engine (Interface ethernet 0). The Cache Engine requires a reboot in order for the new IP address to take effect.

Example

Console(config-if)# ip address 12.10.10.10 255.0.0.0 Console(config-if)# no ip broadcast-address

no

To negate a command or set its defaults, use the no interface configuration command.

no {autosense | bandwidth | fullduplex | halfduplex | ip}

Syntax Description

autosense Interface autosense.

bandwidth Interface speed.

fullduplex Interface fullduplex.

halfduplex Interface halfduplex.

ip Interface Internet Protocol (IP) configuration commands.

Usage Guidelines

Use this command to negate a interface configuration mode command or set its defaults. See the interface configuration command descriptions for syntax options and descriptions.

Example

Console(config-if)# no autosense

Show Commands (EXEC Commands)

The show Cache Engine commands are entered in the EXEC mode. The following show commands are described in the following pages:

show access

To view access to a particular path, group, user, use the show access EXEC command.

show access pathname {groupname name | username name}

Syntax Description

pathname Absolute pathname of a file or a directory.

groupname Group name.

username Username.

name Group or username whose access rights is to be shown.

Usage Guidelines

Use this command to view access for a user or group to a particular path in the cache file system.

Example

Console# show access /local/etc groupname name username name

Related Commands

show user

show users

show arp

To display the Address Resolution Protocol (ARP) table, use the show arp EXEC command.

show arp

Syntax Description

This command has no arguments or keywords.

Example

Console# show arp LINK LEVEL ARP TABLE destination gateway flags Refcnt Use Interface 171.69.227.129 00:e0:b0:e2:6d:a2 405 1 0 fei0 Console#

show cfs

To view information about your cache file system, use the show cfs EXEC command.

show cfs {statistics | volumes}

Syntax Description

statistics Displays the cache file system statistics.

volumes Displays the cache file system volumes.

Example

Console# show cfs statistics Filesystem Statistics for volume /c0t0d0s3 Status: mounted Disk Wraps 0 Inode Hits 0 Inode Misses 0 CFS Read error 0 CFS Write error 0 Inode load error 0 Attribute load error 0 CFS object Truncations 0 Truncated CFS object Flushes 0 Filesystem Statistics for volume /c0t1d0s3 Status: mounted Disk Wraps 0 Inode Hits 0 Inode Misses 0 CFS Read error 0 CFS Write error 0 Inode load error 0 Attribute load error 0 CFS object Truncations 0 Truncated CFS object Flushes 0 Console# show cfs volumes /c0t0d0s3: mounted /c0t1d0s3: mounted

Related Commands

cfs

show clock

To display the system clock, use the show clock EXEC command

show clock [detail]

Syntax Description

detail      (Optional) Display detailed information; Indicates the clock source (NTP) and the current summer-time setting (if any).

Example

Console# show clock Wed Apr 28 20:52:48 1999 GMT Console show clock detail Tue Jun 1 14:48:18 1999 GMT Tue Jun 1 07:48:18 1999 LocalTime Epoch: 928248498 seconds UTC offset: -25200 seconds (-7 hr 0 min) timezone: PST summerzone: PDT summer offset: 0 minutes daylight: summer

Related Commands

clock clear

clock set

show cron

To displays CRON information, use the show cron EXEC command.

show cron

Syntax Description

This command has no arguments or keywords.

Example

Console# show cron ==CRON Configuration== CRON tab file: /local/etc/crontab Legend 1: min hr day-of-mon mon day-of-wk tclsh script-name Legend 2: min hr day-of-mon mon day-of-wk tcl tcl-cmd Sample: 0 5 * * * tclsh /local/test.tcl Crontab for user: "root" Id Type Source Entry 1 log_recycle api 0 * * * * tclsh /local/lib/tcl/recycle.tcl 50000 00 /local/var/log/syslog.txt

show debugging

To display the state of each debugging option, use the show debugging EXEC command.

show debugging

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

This command will only display the TYPE of debugging enabled, not the specific subset of the command. For example, it shows ICP debugging is enabled, but will not define if that debugging is monitoring ICP client or server packet transfer.

Example

Console# debug icp client trace Console# show debugging icp debugging is on

Related Commands

debug

no debug

undebug

show disk-partitions

To view information about your disk partitions, use the show disk-partitions EXEC command.

show disk-partitions devname

Syntax Description

devname Device name.

Usage Guidelines

Use this command to display partition information about a particular disk. The command show disks displays the names of the disks currently attached to the Cache Engine.

Example

Console# show disk-partitions devname

Related Commands

disk partition

disk prepare

show disks

show disks

To view information about your disks, use the show disks EXEC command.

show disks

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

The command show disks displays the names of the disks currently attached to the Cache Engine. You can partition a disk using the disk partition command.

Example

Console# show disks /c0t0d0 (scsi bus 0, unit 0, lun 0) /c0t1d0 (scsi bus 0, unit 1, lun 0)

Related Commands

disk partition

disk prepare

show disk-partitions

show dns-cache

To display DNS cache information, use the show dns-cache EXEC command.

show dns-cache

Syntax Description

This command has no arguments or keywords.

Example

Console# show dns-cache -- DNS Cache Configuration -- DNS cache: ON Max cache size: 1024 Hash table size: 256 --- DNS Cache Statistics --- Hit: 0 Miss: 1 Expire: 0 Total Access: 1 Add: 1 Del: 0 Update: 0 Drain: 0 Total Rec: 1

show dosfs

To view DOS file system information, use the show dosfs EXEC command.

show dosfs {config volname | label devicename | volumes}

Syntax Description

config Displays the DOS file system configuration for specified volume.

label Displays device volume label.

volumes DOS volumes.

volname Volume name.

devicename Device name.

Example

Console# show dosfs volumes /c0t0d0s1: mounted /c0t1d0s1: not mounted /local: mounted

Related Commands

dosfs

cfs

show cfs

show events

To display a number of system events by category, use the show events EXEC command.

show events number {all | critical | notice | warning}

Syntax Description

number Number of events to display (1 to 65,535).

all Shows all events.

critical Shows critical events.

notice Shows notice events.

warning Shows warning events.

Usage Guidelines

Use this command to show the chosen number of events by category.

Example

Console# show events 10 notice Notice: Waiting for admin traffic on port 8001 Thu, 01 Jan 1970 00:00:10 GMT Notice: Waiting for Web traffic on port 80 Thu, 01 Jan 1970 00:00:09 GMT Notice: Waiting for Web Proxy traffic on port 8080 Thu, 01 Jan 1970 00:00:10 GMT Notice: Waiting for admin traffic on port 8001 Thu, 01 Jan 1970 00:00:10 GMT Notice: Waiting for Web traffic on port 80 cepro#

show file-descriptors

To display information about the Cache Engine's file descriptors, use the show file-descriptors EXEC command.

show file-descriptors

Syntax Description

This command has no arguments or keywords.

Example

Console# show file-descriptors fd name drv 4 /tyCo/0 1 in out err 9 (socket) 6 10 (socket) 6 11 (socket) 6 12 (socket) 6 15 (socket) 6 18 /pipe/ring 2 19 /pipe/log 2 20 /c0t0d0s1/_uv_acl_.db 3 21 /raw0 5 22 /raw1 5 23 /raw2 5 24 /raw3 5 25 /raw4 5 26 /raw5 5 27 /raw6 5 28 /raw7 5 29 /null 0 36 (socket) 6 37 (socket) 6 38 /local/events.dat 4 39 /local/radius.dat 4 50 (socket) 6

show flash

To display the Flash memory content, such as file code names, version numbers, and sizes, use the show flash EXEC command.

show flash

Syntax Description

This command has no arguments or keywords.

Example

Console# show flash System flash directory: File Length Name/status 1 3412352 system image [655360 read only, 3674496 bytes used, 3731072 available, 8388608 total]

show group

To display a user group configured on the Cache Engine, use the show group EXEC command.

show group {gid gidnumber | groupname name | users {gid gidnumber | groupname name}}

Syntax Description

gid Group Identification Number (GID).

gidnumber Group ID of group (0 to 2147483647).

groupname Group name.

name Group name.

users Users in group.

Example

Console# show group gid 1004 GroupName: LocalUsers Gid: 1004 Number of Users in Group: 10

show groups

To display all groups configured on the Cache Engine, use the show groups EXEC command.

show groups

Syntax Description

This command has no arguments or keywords.

Example

Console# show groups There are 4 groups(s) GID GROUPNAME 0 root 1000 everyone 1001 nogroup 1004 LocalUsers

show hardware

To display system hardware status, use the show hardware EXEC command.

show hardware

Syntax Description

This command has no arguments or keywords.

Example

Console# show hardware Cisco Cache Engine Copyright (c) 1986-1999 by Cisco Systems, Inc. Image text-base 0x108000, data_base 0x425a5c System restarted by Power Up The system has been up for 19 hours, 43 minutes, 21 seconds. System booted from fei Cisco Cache Engine CE505 with CPU AMD-K6 (model 7) (rev. 0) AuthenticAMD 2 Ethernet/IEEE 802.3 interfaces 1 Console interface. 134213632 bytes of Physical Memory 131072 bytes of ROM memory. 8388608 bytes of flash memory.

Related Commands

show version

show hosts

To view the hosts on your Cache Engine, use the show hosts EXEC command.

show hosts

Syntax Description

This command has no arguments or keywords.

Example

Console# show hosts Domain name = cisco.com Name Servers: ----------- ip address ip address Host Table: hostname inet address aliases -------- ------------ ------- localhost ip address Rich's_cache ip address

show http

To display the HTTP related caching parameters, use the show http EXEC command.

show http {age-mult | all | cache-authenticated | cache-cookies | cache-miss | cluster | max-ttl | persistent-connections | proxy | reval-each-request | serve-ims}

Syntax Description

age-mult HTTP caching hueristic modifiers.

all All HTTP related caching parameters.

cache-authenticated Caching of authenticated web objects.

cache-cookies Caching of web objects with associated cookies.

cache-miss Handling of 'no-cache' requests.

cluster Cluster healing configuration.

max-ttl Maximum time to live for objects in the cache.

persistent-connections Persistent connections configuration.

proxy Proxy mode configuration.

reval-each-request Configuration of revalidation for every request.

serve-ims Handling of If-Modified-Since requests.

Example

Console# show http proxy Incoming Proxy-Mode: Servicing proxy mode connections on port 8080. Outgoing Proxy-Mode: Not using outgoing proxy mode.

show icp

To display the ICP client, root, or server information, use the show icp EXEC command.

show icp {client | root | server}

Syntax Description

client Shows ICP client detailed information.

root Shows ICP brief client/server information.

server Shows ICP server detailed information.

Example

Console# show icp client ICP client is disabled max wait for replies = 2 seconds remove from wait list after 20 failures local_domain "" Number of remote servers = 0 Total Icp Requests: 0 Total Icp Hits : 0

Related Commands

icp client

icp server

show inetd

To display TCP/IP services, which include echo, discard, charger, ftp, rcp, telnet, and tftp, use the show inetd EXEC command.

show inetd

Syntax Description

This command has no arguments or keywords.

Example

Console# show inetd Inetd task ID: 7fbc400 Inetd running configuration: Service Port Proto Func Max Live Total Acpt Rej Stck Lock echo 7 tcp 1d863c 0 0 0 0 0 2048 0 echo 7 udp 1d86dc 0 0 0 0 0 2048 0 discard 9 tcp 1d875c 0 0 0 0 0 2048 0 discard 9 udp 1d87cc 0 0 0 0 0 2048 0 chargen 19 tcp 1d884c 0 0 0 0 0 2048 0 chargen 19 udp 1d88fc 0 0 0 0 0 2048 0 ftp 21 tcp 2b9df0 10 0 0 0 0 4096 0 rcp 514 tcp 1ec45c 5 0 0 0 0 4096 0 tftp 69 udp 2bdf2c 5 0 0 0 0 12288 0 telnet 23 tcp 2b81f0 3 0 0 0 0 4096 0

Related Commands

inetd

show interface

To display hardware interfaces, use the show interface EXEC command.

show interface {ethernet number | scsi number}

Syntax Description

ethernet Ethernet interface device.

number Ethernet interface number.

scsi SCSI interface device.

number SCSI interface number.

Example

Console# show interface scsi 0 Max Transfer Size: 16777215 Sync: yes Disconnect: yes Wide: yes

Related Command

set interface

show ip

To display IP information, use the show ip EXEC command.

show ip routes

Syntax Description

routes Displays routing table.

Example

The following example shows how to display sl0 and sc0:

Console# show ip routes Destination Mask TOS Gateway Flags RefCnt Use In terface Proto 0.0.0.0 0 0 171.69.227.129 3 1 17080 fe i0 0 127.0.0.1 0 0 127.0.0.1 5 2 4 lo 0 0 171.69.227.128 ffffff80 0 171.69.227.250 101 0 0 fe i0 0

Related Commands

ip route

no ip route

show logging

To display the system message log configuration, use the show logging EXEC command.

show logging

Syntax Description

This command has no arguments or keywords.

Example

Console# show logging logging: on priority of messages for console: warnings priority of messages for file: debugging log file: /local/var/log/syslog.txt log file recycle size: 5000000

show memory

To display memory blocks and statistics, use the show memory EXEC command.

show memory free

Syntax Description

free Free blocks.

Example

Console# show memory free FREE LIST: num addr size --- ---------- ---------- 1 0x4e6cc28 56 2 0x4e6ca04 284 3 0x7fec8f8 5788 4 0x36dec00 20 5 0x36d01d8 32 6 0x36d0560 28 7 0x2daee7c 9485348 8 0x7fd7000 3868 9 0x3711000 236 SUMMARY: status bytes blocks avg block max block ------ --------- -------- ---------- ---------- current free 9495660 9 1055073 9485348 alloc 76750080 2525 30396 - cumulative alloc 76789352 2883 26635 - Page Freelist: num address npages canfree --- ---------- ---------- ------- 0 0x6eba000 16 0 0 1 0x6eaf000 5 0 0 2 0x4e7d000 8232 0 0

show ntp

To display the NTP parameters, use the show ntp EXEC command.

show ntp status

Syntax Description

status NTP status.

Example

Console# show ntp status NTP subsystem ------------- servers:

Related Commands

ntp

show processes

To display CPU or memory processes, use the show processes EXEC command.

show processes [cpu | memory]

Syntax Description

cpu (Optional) CPU utilization.

memory (Optional) Memory allocation of information.

Example

Console# show processes cpu Current CPU Percentage = 0 Peak CPU Percentage = 22 Console# show processes memory Pages: page size pages free hiwat lowat total --------- ------- ------ ------ ------ ------- 4096 17720 14839 25103 2091 29535 Type: bytes blocks sizes max byt tot blk pagw --------- ------ ------- -------- ------- ---- unknown 1600 100 0x10 1616 104 0 fcache bufhdr 12800 100 0x80 12800 100 0 fcache buffer 614400 100 0x3000 614400 100 0 fcache IO 0 0 0x80 256 46 0 fcache phys 409984 14 0x12040 409984 14 0 confval 192 3 0x350 960 402 0 task 71280 270 0x210 71808 500 0 stack 1257472 135 0x1f800 1323008 250 0 DB misc 2048 2 0x400 2048 2 0 DB hashtab 1024 1 0x400 1024 1 0 DB open 128 1 0x80 128 1 0 DB bufhead 64 2 0x20 64 2 0 DB cache 8192 2 0x1000 8192 2 0 DB databuf 0 0 0xb0 160 244 0 DB api 32 1 0x60 96 123 0 --More-- Console# show processes NAME ENTRY TID PRI STATUS PC SP ERRNO DELAY ---------- ------------ -------- --- ---------- -------- -------- ------- ----- tExcTask 3ca048 3a71aec 0 PEND 3fa981 3a71a5c 3006b 0 tLogTask 39a21c 3a6f1d4 0 PEND 3fa981 3a6ed3c 0 0 tWdbTask 3c46d4 161a18c 3 PEND 3c5a19 1619878 0 0 tScsiTask 3f5920 15ec514 5 PEND 3c5a19 15ec4b4 0 0 tF2000a 1260e8 7df1c00 25 PEND 3c5a19 7ddaf84 0 0 tF2000b 1260e8 7df1e00 25 PEND 3c5a19 7dc9f84 0 0 tF2001a 1260e8 7dc8e00 25 PEND 3c5a19 7507f84 0 0 tF2001b 1260e8 74f5000 25 PEND 3c5a19 74f6f84 0 0 tNetTask 3b201c 162a578 50 PEND 3c5a19 162a52c 41 0 tWCCP2 34e978 74eb200 60 PEND+T 3c5a19 74e8734 3d0004 27 tHotSpot 34b9b0 749a400 60 DELAY 39b996 74b1fa4 0 64 tDtimer 1214d8 7fb1000 75 DELAY 39b996 7f73fa8 0 7 tTtyUtil 264a18 74f5800 75 PEND 3fa981 74eef80 0 0 tOvrldDaemo281120 74a2400 75 PEND 3c5a19 749cfb0 0 0 tHealSrv 336340 74df000 75 PEND+T 3c5a19 74a870c 3d0004 2224 tCfsC000 244ed4 7dc8c00 98 PEND+T 3c5a19 7d93f58 3d0004 210 tCfsC001 244ed4 74f5400 98 PEND+T 3c5a19 74f3f58 3d0004 266 tCfsV000 224a4c 7dc8200 99 PEND+T 3c5a19 7d82f74 3d0004 150 tCfsT000 224d1c 7dc8400 99 PEND 3c5a19 794cfa4 0 0 --More--

show radius

To show RADIUS information, use the show radius EXEC command.

show radius

Syntax Description

This command has no arguments or keywords.

Example

Console# show radius No Radius servers are configured.

show running-config

To display the current running configuration information on the terminal, use the show running-config EXEC command. This command replaces the write terminal command.

show running-config

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

Use this command in conjunction with the show startup-config command to compare the information in running memory to the startup configuration used during boot-up.

Example

Console# show running-config Building configuration... Current configuration: ! ! ! group add admin gid 0 group add everyone gid 1000 ! user add admin uid 0 password 1 "ceSzbyeb" capability admin-access user add britt uid 2001 ! ! ! hostname Rich's_cache ! interface ethernet 0 ip address 171.69.227.250 255.255.255.128 ip broadcast-address 171.69.227.255 exit ! ! interface ethernet 1 exit --More--

Related Commands

configure

copy running-config

copy startup-config

show snmp

To check the status of SNMP communications, use the show snmp EXEC command.

show snmp

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

This command provides counter information for SNMP operations.

Example

Console# show snmp Contact: Mary Brown, system admin, mbrown@acme.com 555-1111 Location: Building 2, 1st floor, Lab 1 37 SNMP packets input 0 Bad SNMP version errors 4 Unknown community name 0 Illegal operation for community name supplied 0 Encoding errors 24 Number of requested variables 0 Number of altered variables 0 Get-request PDUs 28 Get-next PDUs 0 Set-request PDUs 78 SNMP packets output 0 Too big errors 0 No such name errors 0 Bad values errors 0 General errors 24 Response PDUs 13 Trap PDUs

Table A-1 describes the fields shown in the display


Table A-1: show snmp Field Descriptions
Field Description

SNMP packets input

Total number of SNMP packets input.

  Bad SNMP version errors

Number of packets with an invalid SNMP version.

  Unknown community name

Number of SNMP packets with an unknown community name.

  Illegal operation for community   name supplied

Number of packets requesting an operation not allowed for that community.

  Encoding errors

Number of SNMP packets that were improperly encoded.

  Number of requested variables

Number of variables requested by SNMP managers.

  Number of altered variables

Number of variables altered by SNMP managers.

  Get-request PDUs

Number of get requests received.

  Get-next PDUs

Number of get-next requests received.

  Set-request PDUs

Number of set requests received.

SNMP packets output

Total number of SNMP packets sent by the router.

  Too big errors

Number of SNMP packets that were larger than the maximum packet size.

  Maximum packet size

Maximum size of SNMP packets.

  No such name errors

Number of SNMP requests that specified a MIB object which does not exist.

  Bad values errors

Number of SNMP set requests that specified an invalid value for a MIB object.

  General errors

Number of SNMP set requests that failed due to some other error. (It was not a noSuchName error, badValue error, or any of the other specific errors.)

  Response PDUs

Number of responses sent in reply to requests.

  Trap PDUs

Number of SNMP traps sent.

Related Commands

snmp-server chassis-id

show stacktrace

To get stack trace information from your Cache Engine, use the show stacktrace EXEC command.

show stacktrace {task-ID | exception}

Syntax Description

task-ID Hexadecimal number without a 0x prefix (0 to ffffffff).

exception Stack trace on previous exception.

Example

Console# show stacktrace execption

show startup-config

To show the configuration, use the show startup-config EXEC command.

show startup-config

Syntax Description

This command has no arguments or keywords.

Usage Guidelines

Use this command to display the configuration used during an initial boot-up, stored in NVRAM.

Examples

Console# show startup-config

Related Commands

configure

copy running-config

show running-config

show statistics

To display Cache Engine statistics, use the show statistics EXEC command.

show statistics {http {performance | requests | savings | usage} | icmp | icp {client | server} | ip | mbuf | routing | tcp | udp}

Syntax Description

http Displays HTTP caching statistics.

performance Performance statistics.

requests Requests statistics.

savings Savings statistics.

usage Usage statistics.

icmp Displays ICMP statistics.

icp Displays ICP caching statistics.

client ICP client statistics.

server ICP Server statistics.

ip Displays IP statistics.

mbuf Displays mbuf statistics.

routing Displays Routing statistics.

tcp Displays TCP statistics.

udp Displays UDP statistics.

Usage Guidelines

To clear statistics without affecting configurations, use the clear statistics command. This will set all counters to zero.

Example

Consolet# show statistics icmp ICMP: 0 call to icmp_error 0 error not generated because old message was icmp Output histogram: echo reply: 37 0 message with bad code fields 0 message < minimum length 0 bad checksum 0 message with bad length Input histogram: destination unreachable: 1091 echo: 37 37 message responses generated

Related Commands

clear statistics

show tcp

To display TCP configuration information, use the show tcp EXEC command.

show tcp

Syntax Description

This command has no arguments or keywords.

Example

Console# show tcp ==TCP Configuration== TCP keepalive timeout 300 sec TCP keepalive probe count 4 TCP keepalive probe interval 75 sec TCP server R/W timeout 120 sec TCP client R/W timeout 120 sec TCP server send buffer 8 k TCP server receive buffer 32 k TCP client send buffer 32 k TCP client receive buffer 8 k TCP Listen Queue 200 TCP init ssthresh 65536 TCP cwnd base 2

show tech-support

To view information necessary for Cisco's Technical Assistance Center (TAC) to assist you, use the show tech-support EXEC command.

show tech-support [page]

Syntax Description

page (Optional) Page through output.

Usage Guidelines

Use this command to view system necessary for TAC to assist you with your Cache Engine. This is a lengthly display and you may wish to manage the output using the terminal length command.

Example

Console# show tech-support ---------------------show version---------------------

show transaction-logging

To show the transaction log summaries or to show transaction log settings, use the show transaction-logging EXEC command.

show transaction-logging [entries number]

Syntax Description

entries (Optional) Displays the last number of entries to the working log file

number (Optional) Number of entries to display (1 to 256).

Usage Guidelines

Use the show transaction-logging command to display the current settings for the transaction logging feature. Use the show transaction-logging entries number command to display the last entries to the working log files. Transaction logging must be enabled in order for the show entries command to work.

Example

Console# show transaction-logging Transaction Logs: Logging transactions to local disk Current Archive Interval: 86400 sec. Working Log file - size: 0 age: 1739 Archive Log file - size: 0

show trusted-hosts

To show which hosts are trusted on the Cache Engine, use the show trusted-hosts EXEC command.

show trusted-hosts

Syntax Description

This command has no arguments or keywords.

Example

Console# show trusted-hosts

Trusted Host checking: ON

ip-address/bert

ip-address/ernie

show url-filter

To display URL filter information, use the show url-filter EXEC command.

show url-filter

Syntax Description

This command has no arguments or keywords.

Example

Console# show url-filter block bad sites. please look at /local/etc/badurl.lst

show user

To display user information, use the show user EXEC command.

show user {uid number | username name}

Syntax Description

uid User ID keyword.

number User ID number (0 to 2147483647).

username User's name keyword.

name Username.

Example

Console# show user username rich Username : rich Uid : 5001 Number of Groups : 1 Primary Group : everyone (1000) Password : Comment : HomeDir : /local Capability : no-access

Related Commands

show groups

show users

show users

To display all users, use the show users EXEC command.

show users

Syntax Description

This command has no arguments or keywords.

Example

Console# show users There are 2 user(s) UID USERNAME 0 admin 5001 rich

Related Commands

show groups

show user

show version

To display the current software on your Cache Engine, use the show version EXEC command.

show version

Syntax Description

This command has no arguments or keywords.

Example

Console# show version Cisco Cache Engine Image text-base 0x108000, data_base 0x425a5c System restarted by Power Up The system has been up for 7 hours, 15 minutes, 14 seconds. System booted from fei

show wccp

To display WCCP information, use the show wccp EXEC command.

show wccp {auth-bypass-list | bypass-statistics | chache-engines | load-bypass-list |  routers | services}

Syntax Description

auth-bypass-list Shows IP authentication bypass list.

bypass-statistics Shows IP authentication bypass counts.

cache-engines Shows WCCP Cache Engine Information.

load-bypass-list Shows load bypass list.

routers Shows WCCP router list.

services Shows WCCP services configured.

Example

Console# show wccp routers Routers Seeing this Cache Engine Router Id Sent To 0.0.0.0 10.1.1.1 Routers not Seeing this Cache Engine 10.1.1.1 Routers Notified of but not Configured -NONE- Multicast Addresses Configured -NONE- Router Information for Service: Reverse-Proxy Routers Seeing this Cache Engine Router Id Sent To 0.0.0.0 10.1.1.1 Routers not Seeing this Cache Engine 10.1.1.1 Routers Notified of but not Configured -NONE- Multicast Addresses Configured -NONE-


hometocprevnextglossaryfeedbacksearchhelp
Posted: Fri Feb 1 16:44:00 PST 2002
All contents are Copyright © 1992--2002 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.