Table of Contents
Command-Line Interface Command Summary
Using Command-Line Processing
Command Modes
Check Command Syntax
System Help
Save Configuration Changes
EXEC Command Summary
Domain Configuration Command Summary
Global Configuration Command Summary
Interface Configuration Command Summary
show Command Summary
Command-Line Interface Command Summary
This chapter provides a summary of the command-line interface (CLI) commands included in the Cisco Application and Content Networking Software Command Reference . The command summary tables are grouped alphabetically in five categories: user-level EXEC commands, privileged-level EXEC commands, global configuration commands, interface configuration commands, and show EXEC commands. The CLI can be accessed through the console port or Telnet.
Using Command-Line Processing
ACNS software commands are not case sensitive. You can abbreviate commands and parameters as long as they contain enough letters to be different from any other currently available commands or parameters. You can scroll through the last 20 commands stored in the history buffer and enter or edit the command at the prompt. (See Table 1-1 .)
Table 1-1 Command-Line Processing Keystroke Combinations
Keystroke Combinations
Function
Ctrl-A
Jumps to the first character of the command line.
Ctrl-B or the left arrow key
Moves the cursor back one character.
Ctrl-C
Escapes and terminates prompts and tasks.
Ctrl-D
Deletes the character at the cursor.
Ctrl-E
Jumps to the end of the current command line.
Ctrl-F or the right arrow key1
Moves the cursor forward one character.
Ctrl-K
Deletes from the cursor to the end of the command line.
Ctrl-L
Repeats the current command line on a new line.
Ctrl-N or the down arrow key1
Enters the next command line in the history buffer.
Ctrl-P or the up arrow key1
Enters the previous command line in the history buffer.
Ctrl-T
Transposes the character at the cursor with the character to the left of the cursor.
Ctrl-U; Ctrl-X
Deletes from the cursor to the beginning of the command line.
Ctrl-W
Deletes the last word typed.
Esc-B
Moves the cursor back one word.
Esc-D
Deletes from the cursor to the end of the word.
Esc-F
Moves the cursor forward one word.
Delete key or Backspace key
Erases a mistake when entering a command; reenter the command after using this key.
The arrow keys function only on ANSI-compatible terminals such as VT100s.
Command Modes
The four modes are:
EXEC
Domain configuration
Global configuration
Interface configuration
EXEC Mod e
The two EXEC access levels are privileged and user. The enable and disable commands switch between the two levels. The user-level EXEC command line is available to users if they enter a valid password. The user-level EXEC commands are a subset of the privileged-level EXEC commands. The user-level EXEC prompt is the host name followed by a right angle bracket (>). The prompt for the privileged-level EXEC command line is the pound sign (#). To execute an EXEC command, enter the command at the EXEC system prompt and press the Return key. In the following example, a user accesses the privileged-level EXEC command line from the user level.
Use the Delete or Backspace 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, the letters sho can be entered for the show command.
Certain EXEC commands display multiple screens with the following prompt at the bottom of the screen:
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 leave EXEC mode, use the exit command at the system prompt:
Domain Configuration Mode
Domain configuration mode allows you to configure the Content Engine as a content routing agent for specific domains. To enter domain configuration mode, use the boomerang dns global configuration command. You must be in domain configuration mode to enter domain configuration commands.
Console(config)#
boomerang dns domain www.foobar.com
To exit domain configuration mode, use the end global configuration command:
Console(config-domain)#
end
You can also exit domain configuration mode by entering the exit command or by pressing Ctrl-Z .
Note For a description of how to configure the Content Engine as a content routing agent, refer to the Cisco
Cache Software Configuration Guide, Release 2.5. For more information about the boomerang
content routing process, refer to the Cisco Content Routing Software Configuration Guide and
Command Reference.
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.
To exit global configuration mode, use the end global configuration command:
You can also exit global configuration mode by entering the exit command or by pressing Ctrl-Z .
Interface Configuration Mode
To enter interface configuration mode, use the interface global configuration command. The following example demonstrates how to enter interface configuration mode:
Console(config)#
interface ?
FastEthernet Select a fast ethernet interface to configure
GigabitEthernet Select a gigabit ethernet interface to configure
Console(config)#
interface fastethernet ?
<0-3>/ FastEthernet slot/port
Console(config)#
interface fastethernet 0/1
The interface configuration commands are:
autosense
bandwidth
cdp
exit
fullduplex
halfduplex
ip
no
shutdown
standby
These commands are described in the "Interface Configuration Command Summary" section .
To exit interface configuration mode, enter exit to return to global configuration mode:
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:
%Invalid input detected at `^' marker.
read-calendar Read the calendar and update system clock
set Set the time and date
update-calendar Update the calendar with system clock
The help output shows that the set keyword is required. Check the syntax for entering the time:
<0-23>: Current Time (hh:mm:ss)
Enter the current time in 24-hour format with hours, minutes, and seconds separated by colons:
Console#
clock set 13:32:00
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 display the additional arguments:
Console#
clock set 13:32:00 ?
January Month of the year
Enter the day and month as prompted and use the question mark for additional instructions.
Console#
clock set 13:32:00 23 December ?
Now you can complete the command entry by entering the year:
Console#
clock set 13:32:00 23 December 00
%Invalid input detected at '^' marker.
The caret symbol (^) and help response indicate an error with the 00 entry. To display the correct syntax, press Ctrl-P or the Up Arrow . You can also reenter the command string, and then enter a space character, a question mark, and press Enter :
Console#
clock set 13:32:00 23 December ?
Console#
clock set 13:32:00 23 December
Enter the year using the correct syntax and press Return to execute the command:
Console#
clock set 13:32:00 23 December 2000
WARNING: Setting the clock may cause a temporary service interruption.
Do you want to proceed? [no]
yes
Sat Dec 23 13:32:00 EST 2000
System Help
You can obtain help when you enter commands by using the following methods:
For a brief description of the context-sensitive help system, enter help .
To list all commands for a command mode, enter a question mark (? ) at the system prompt.
To obtain a list of commands that start with a particular character set, enter an abbreviated command immediately followed by a question mark (? ).
To list the command keywords or arguments, enter a space and a question mark (? ) after the command:
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 Configur ation Changes
To avoid losing new configurations, save them to NVRAM using the copy or write commands, as shown in the following example:
Console#
copy running-config startup-config
or
See the command description for the copy running-config startup-config command for more information on "running" and "saved" configuration modes.
EXEC Command Summary
The EXEC commands are entered in the EXEC mode. Table 1-2 lists the user-level EXEC commands. Table 1-3 lists the privileged-level EXEC commands.
Table 1-2 ACNS Software User-Level EXEC Commands
User EXEC Command
Syntax
Description
cd
cd directoryname
Changes the current directory.
cpfile
cpfile oldfilename newfilename
Copies sysfs files.
delfile
del filename
Deletes a file.
deltree
deltree directory
Deletes directory and all subdirectories.
dir
dir [directory ]
Displays files in long list format.
dnslookup
dnslookup { hostname | domainname }
Resolves host name (DNS).
enable
enable
Accesses privileged EXEC commands.
exit
exit
Exits from terminal session.
help
help
Provides assistance for command line-interface.
lls
lls [ directory ]
Displays directory files in long list format.
ls
ls [directory ]
Displays files in directory.
mkdir
mkdir directory
Makes directory.
mkfile
mkfile filename
Makes file (for testing).
ping
ping { hostname | ip-address }
Sends echo packets.
pwd
pwd
Displays path name of the present working directory.
rename
rename sourcefile destinationfile
Renames a file (path name).
rmdir
rmdir directory
Removes directory.
type
type filename
Displays a file.
whoami
whoami
Displays current user's login name.
Table 1-3 ACNS Software Privileged-Level EXEC Commands
Privileged EXEC Command
Syntax
Description
boomerang log dump
boomerang log dump
Writes boomerang memory data to a disk file.
boomerang send-packet
boomerang send-packet { tcp | udp } dest-port source-port { dest-ip-address | dest-hostname } { source-ip-address | source-hostname }
Sends test packets to determine whether or not a destination accepts boomerang- altered source IP addresses.
cache
cache { clear [ force ] | reset | synchronize }
Specifies cache commands.
cd
cd directoryname
Changes directory.
cfs
cfs { clear partition [ force ] | format partition | mount partition | reset partition | sync partition | unmount partition }
Partitions cache file system.
clear
clear { bypass { counters | list } | cache [ dns [ domain domainname | hostname hostname ] | http [ url url ] | http-authentication | real-proxy | wmt ] | cdp { counters | table } | logging | statistics { all | authentication | boomerang | dns-cache | ftp | history | http { all | cluster | errors | ims | object | outgoing | proxy outgoing | requests | response | savings } | http-authcache | https | icp { all | client | server } | ip | ldap | mediacache real | ntlm | pre-load | radius | rule { action {action-type { all | pattern pattern-type} | all }} | running | tacacs | tcp | transaction-logs | url-filter { N2H2 | websense } | wmt } | transaction- log }
Resets counters and listed functions to default settings.
clock
clock { read-calendar | set time day month year | update-calendar }
Manages the system clock.
configure
configure
Enters configuration mode from privileged EXEC mode.
copy
copy { compactflash install filename | disk ftp { hostname | ip-address } remotefiledir remotefilename localfilename | disk startup-config filename | ftp { disk { hostname | ip-address } remotefiledir remotefilename localfilename | install { hostname | ip-address } remotefiledir remotefilename } | running-config { disk filename | startup-config | tftp { hostname | ip-address } remotefilename } | startup-config { disk filename | running-config | tftp { hostname | ip-address } remotefilename } | system-status disk filename | tech-support { disk filename | tftp { hostname | ip-address } remotefilename } | tftp disk { hostname | ip-address } remotefilename localfilename | tftp startup-config { hostname | ip-address } remotefilename | tftp running-config { hostname | ip-address } remotefilename }
Copies configuration or image files to and from Flash memory, disk, or remote hosts.
cpfile
cpfile oldfilename newfilename
Copies a file.
debug
debug { all option | authentication { http-request | user }}
Configures debugging options.
delfile
del filename
Removes a file.
deltree
deltree directory
Removes a directory and its subdirectories.
dir
dir [directory ]
Displays files in long list format.
disable
disable
Turns off privileged EXEC commands.
disk
disk { add diskname { cfs | ecdnfs | mediafs | sysfs } { remaining | partitionsize } [{ cfs | ecdnfs | mediafs | sysfs }{ remaining | partitionsize }] | cancel-config | config sysfs { remaining | partitionsize } [{ cfs | ecdnfs | mediafs } { remaining | partitionsize }] | raid-array { add-array | repair diskname }}
Configures disk space among functions.
dnslookup
dnslookup { host | domain-name }
Resolves a host name (DNS).
ecdn
ecdn force-downgrade [ disable ]
Forces E-CDN downgrade.
enable
enable
Accesses privileged EXEC commands.
exit
exit
Exits from the EXEC and configuration command levels to user level.
help
help
Provides assistance for command-line interface.
install
install paxfilename
Installs a new version of the Cache software.
lls
lls [ directory ]
Displays files in long list format.
ls
ls [directory ]
Lists files in directory.
mediafs
mediafs { format partition_name | mount partition_name | sync partition_num | unmount partition_num }
Performs maintenance on the media file system.
mkdir
mkdir directory
Makes a directory.
mkfile
mkfile filename
Makes a file (for testing).
no debug
no debug
Disables debugging.
ntpdate
ntpdate { hostname | ip-address }
Sets the NTP server name.
ping
ping { hostname | ip-address }
Sends echo packets.
pre-load force
pre-load force
Forces the preload operation.
pwd
pwd
View the current working directory.
reload
reload
Halts and performs a cold restart.
rename
rename sourcefile destinationfile
Renames a file (path name).
rmdir
rmdir directory
Removes a directory.
restore
restore factory-default
Restores the Content Engine to its manufactured default status.
sysfs
sysfs { check disk name | format disk name | mount { disk name { local1 | local2 }} | repair disk name | sync | unmount { local1 | local2 }}
Maintains system file system.
terminal
terminal { length lines | monitor [ disable ]}
Sets terminal commands.
transaction-log force
transaction-log force { archive | export }
Forces archive of working log file to make a transaction log file.
type
type filename
Displays a file.
type-tail
type-tail filename [ line | follow ]
Displays the last several lines of a file.
undebug
undebug
Disables debugging functions (see also debug ).
url-filter
url-filter local-list-reload
Reloads new good site or bad site lists when this feature is enabled.
whoami
whoami
Displays current user's name.
write
write [erase | memory | terminal ]
Writes running configuration to memory or terminal.
wmt
wmt { multicast-station { start name | stop name } | test-command }
Starts, stops, and tests WMT multicast stations.
Domain Configuration Command Summary
The domain configuration Content Engine commands are entered in the domain configuration mode. Table 1-4 lists the domain configuration command.
Table 1-4 ACNS Software Domain Configuration Command
Domain Configuration Command
Syntax
Description
boomerang
boomerang { dns { domain domain-name [ alias alias-name | content-server ip-address [ file filename ] | dns-ttl seconds | hops hops | key { 0 keyword | 7 keyword | keyword } | origin-server ip-address ] | enable } | log-races enable }
Configures boomerang DNS, enables content routing, and enables logging the result of races on boomerang distributed reverse proxy.
Global Configuration Command Summary
The global configuration Content Engine commands are entered in the global configuration mode. Table 1-5 lists the global configuration commands.
Table 1-5 ACNS Software Global Configuration Commands
Global Configuration Command
Syntax
Description
asset tag
asset tag name
Configures CISCO-ENTITY-ASSETT-MIB.
authentication
authentication { configuration { local | tacacs } enable [ primary | secondary ] | login { local | tacacs } enable [ primary | secondary ]}
Configures authentication parameters.
bypass
bypass { auth-traffic enable | load { enable | in-interval seconds | out-interval seconds | time-interval minutes } | static { clientipaddress { serveripaddress | any-server } | any-client serveripaddress } | timer minutes }
Configures bypass functions.
cdp
cdp { enable | holdtime seconds | timer seconds }
Configures CDP packets and timing.
clock
clock { summertime timezone { date startday startmonth startyear starthour endday endmonth endyear offset | recurring { 1-4 startweekday startmonth starthour endweekday endmonth endhour offset | first startweekday startmonth starthour endweekday endmonh endhour offset | last startweekday startmonth starthour endweekday endmonh endhour offset }} | timezone { timezone hoursoffset minutesoffset }}
Sets summer daylight saving time of day and time zone.
dns-cache
dns-cache size maxsize
Configures DNS cache.
ecdn
ecdn { cdm ip ip-address [ port port-number ] | enable }
Configures Enterprise Content Delivery Network (E-CDN).
end
end
Exits configuration and privileged EXEC modes.
error-handling
error-handling { reset-connection | send-cache-error | transparent }
Customizes how Content Engine handles errors.
exception
exception { coredump | debug }
Enables exception debug mode.
exec-timeout
exec-timeout timeout
Configures the length of time that an inactive Telnet session remains open.
exit
exit
Exits configuration and privileged EXEC modes.
external-ip
external-ip ip-address
Configures up to a maximum of eight external IP addresses.
ftp
ftp { age-multiplier directory-listing dl_time file fo_time | max-ttl { days directory-listing dlmax_days file fmax_days | hours directory-listing dlmax_hours file fmax_hours | minutes directory-listing dlmax_min file fmax_min | seconds directory-listing dlmax_sec file fmax_sec } | min-ttl min_minutes | object max-size size | proxy { active-mode enable | anonymous-pswd passwd | incoming port | outgoing host { hostname | ip-address } port | reval-each-request { all | directory-listing | none }}
Configures FTP caching services.
gui-server
gui-server { enable | port port }
Configures GUI server.
help
help
Provides assistance for command-line interface.
hostname
hostname name
Configures the system's network name.
http
http { age-multiplier text num binary num | anonymizer enable | append { proxy-auth- header { hostname | ip-address } | via-header | www-auth-header { hostname | ip-address } | x-forwarded-for-header } | authenticate- strip-ntlm | authentication { cache { max-entries entries | timeout minutes } | header { 401 | 407 }} | cache-authenticated { all | basic | ntlm } | cache- cookies | cache-on-abort { enable | max- threshold maxthresh | min-threshold minthresh | percent percenthresh } | client-no-cache-request { ignore | revalidate } | cluster { heal-port number | http-port number | max-delay seconds | misses number } | l4-switch enable | max-ttl { days text textdays binary bindays | hours text texthours binary binhours | minutes text textminutes binary binminutes | seconds text textseconds binary binseconds } | min-ttl minutes | object { max-size maxsize | url-validation enable } | persistent-connections { all | client-only | server-only | timeout seconds } | proxy { incoming ports | outgoing { connection-timeout microsecs | host { hostname | ip-address } port [ primary ] monitor seconds | origin-server | preserve-407 }} | reval- each-request { all | none | text } | serve-ims { text percentage binary percentage } | strict-request- content-length-checking enable }
Configures HTTP-related parameters.
https
https { destination-port allow { port | all } | deny { port | all } | proxy { incoming port | outgoing host { hostname | ip-address } port }}
Configures HTTPS-related parameters.
icp
icp { client {{ add-remote-server { hostname | ip-address } { parent | sibling } icp-port icpport http-port httpport [ restrict domainnames ]} | enable | exclude domainnames | max-fail retries | max-wait timeout | modify-remote-server { hostname | ip-address } { http-port port | icp-port port | parent | restrict domainnames | sibling }} | server { enable | http-port port | port icpport | remote-client { hostname | ip-address } { fetch | no-fetch }}}
Configures Internet Cache Protocol parameters.
inetd
inetd enable service concurrent_tasks
Configures, enables, and disables TCP/IP TFP, RCP, and TFTP services.
interface
interface { FastEthernet | GigabitEthernet } slot/port { autosense | bandwidth linespeed | cdp enable | fullduplex | halfduplex | ip address ip-address netmask [ secondary ] | shutdown | standby grpnumber { errors maxerrors | ip ip-address netmask | priority priority }}
For more detail, see the "Interface Configuration Command Summary" section .
Configures a Fast Ethernet or Gigabit Ethernet interface.
ip
ip { default-gateway ip-address | domain-name name | dscp { client { cache-hit { match-server | set-dscp dscp-packets | set-tos tos-packets } | cache-miss { match-server | set-dscp dscp-packets | set-tos tos-packets }} | server { match-server | set-dscp dscp-packets | set-tos tos-packets }} | name-server { ip-addresses | serial-lookup } | route dest_addrs netmask gateway }
Configures Internet Protocol.
ldap server
ldap server { administrative-dn name | administrative-passwd passwd | allow-mode | base baseword | enable | filter filterword | host { hostname | hostipaddress } [ primary | secondary ] | port portnumber | timeout seconds | userid-attribute useidword | version number }
Configures LDAP server parameters.
logging
logging { console { enable | priority loglevel } | cw2K | disk { enable | filename filename | priority loglevel | recycle size } | facility facility | host { ip-address | priority loglevel }}
Configures system logging (syslog).
mediafs-division
mediafs-division { wmt-cache-space percent_space real-cache-space percent_space }
Configures the media file system space allocation to WMT and RealProxy cache.
multicast-client
multicast-client { accept-license-agreement | enable | evaluate | license-key key }
Configures multicast client license options.
no
no command
Negates a command or sets its defaults.
ntlm server
ntlm server {domain name | enable | host { hostname | ip-address [primary | secondary }}
Configures NTLM server parameters.
ntp
ntp { server { hostname | ip-address } | enable { cdm | manual }
Configures Network Time Protocol (NTP).
pre-load
pre-load { concurrent-requests number | depth-level-default level_number | enable | fetch { directory dir_names | domain domain_names | suffix suffix_names } | no-fetch { directory dir_names | domain domain_names | suffix suffix_names } | schedule { every-day [ start-time time [ end-time time ]] | every-week { days of week [ start-time time [ end-time time ]]}} | traverse-other-domains | url-list-file path }
Configures the Content Engine to fetch and preload content.
proxy-auto-config
proxy-auto-config download {ftp-hostname | ftp-ip-address } remotedir pacfile
Automatically downloads proxy configuration in browser.
proxy-protocols
proxy-protocols { outgoing-proxy exclude { enable | list word } | transparent { default-server | original-proxy }}
Configures proxy protocols-related parameters.
radius-server
radius-server { enable | host { hostname | hostipaddr } [ auth-port port ] | key keyword | redirect {enable | message reply url } | retransmit retries | timeout seconds }
Configures RADIUS authentication.
real-subscriber
real-subscriber { accept-license-agreement | enable | evaluate | license-key key | publisher { host-name | ip-address } admin-port-number user-name user-password }
Configures RealSubscriber parameters.
rtsp proxy
rtsp proxy { incoming port | l4-switch enable | media-real {accept-license-agreement | enable | evaluate | ip-address ip-address | license-key keyword }}
Enables or disables the Real-Time Streaming Protocol (RTSP) proxy, manages license, and configures the RTSP proxy IP address and the redirector port number.
rule
show rule { action {action-type { all | pattern pattern-type} | all }
For a more complete explanation of specific rules, see the "rule" section .
Sets the rules by which the Content Engine filters HTTP web traffic.
snmp-server community
snmp-server community string [ group | rw ]
Enables SNMP; sets community string and optionally names group and enables read-write access.
snmp-server contact
snmp-server contact line
Text for MIB object sysContact.
snmp-server enable
snmp-server enable traps [ config | content-engine { disk-fail | disk-read | disk-write | overload-bypass | transaction-log } | entity | snmp [ authentication | cold-start ]]
Enables SNMP traps.
snmp-server group
snmp-server group name { v1 [ notify name | read name | write name ] | v2c [ notify name | read name | write name ] | v3 { auth [ notify name | read name | write name ] | noauth [ notify name | read name | write name ] | priv name [ notify name | read name | write name ]}}
Defines a user security model group.
snmp-server host
snmp-server host { hostname | ip-address } communitystring username [ v2c [ retry number | timeout seconds ] | v3 { auth [ retry number | timeout seconds ] | noauth [ retry number | timeout seconds ] | priv [ retry number | timeout seconds ]}]
Specifies hosts to receive SNMP traps.
snmp-server location
snmp-server location line
Specifies path for MIB object sysLocation.
snmp-server notify inform
snmp-server notify inform
Configures the SNMP inform request.
snmp-server user
snmp-server user name group [ auth { md5 password [ priv password ] | sha password [ priv password ]} | remote octetstring [ auth { md5 password [ priv password ] | sha password [ priv password ]}]
Defines a user who can access the SNMP engine.
snmp-server view
snmp-server view viewname familyname { excluded | included }
Defines a Version 2 SNMP (SNMPv2) MIB view.
ssh-key-generate
ssh-key-generate [ key-length length ]
Generates an Secure Shell (SSH) host key.
sshd
sshd { enable | password-guesses number | timeout seconds }
Configures SSH service parameters.
standby
standby group_number { errors max_errors | ip ip-address netmask | priority priority_level }
Configures an interface to be a backup for another interface.
tacacs
tacacs { key keyword | retransmit retries | server { hostname | ip-address } [ primary ] | timeout seconds }
Configures TACAS+ authentication parameters.
telnet enable
telnet enable
Enables Telnet services.
tcp
tcp { client-mss maxsegsize | client-receive- buffer kbytes | client-rw-timeout seconds | client-satellite | client-send-buffer kbytes | cwnd-base segments | ecdn enable | increase-xmit-timer-value value | init-ss-threshold value | keepalive-probe-cnt count | keepalive-probe-interval seconds | keepalive-timeout seconds | server-mss maxsegsize | server-receive-buffer kbytes | server-rw-timeout seconds | server-satellite | server-send-buffer kbytes | type-of-service enable }
Configures TCP parameters.
tftp-server
tftp-server dir directory
Sets the Trivial File Transfer Protocol (TFTP) server directory.
transaction-logs
transaction-logs { archive { interval { every-day { at time | every hour } | every-hour { at minute | every minute } | second }} | max-file-size filesize } | ecdn enable | enable | export { compress | enable | ftp-server { hostname | servipaddrs } login passw directory | interval { every-hour { at minute | every minute } | every-day { at hour:minute | every hour } | every-week on weekday [at hour:minute ] | minute }} | file-marker | format { apache | extended-squid | squid } | sanitize
Configures transaction logging parameters.
trusted-host
trusted-host { hostname | ip-address | domain-lookup }
Enables trusted hosts.
url-filter
url-filter bad-sites-deny { enable | filename } | custom-message dirname | good-sites-allow { enable | filename } | N2H2 { allowmode enable | enable | server { hostname | ip-address } [ port portnum [ timeout seconds ]]} | smartfilter enable | websense { allowmode enable | enable | server { hostname | ip-address } [ port portnum [ timeout seconds ]]}
Configures URL filtering.
username
username name { password { 0 word | 1 word | word } | privilege { 0-0 | 15-15 | 200-300 }}
Establishes username authentication.
wccp custom-web-cache
wccp custom-web-cache { router-list-num num port port [[ hash-destination-ip ] [ hash-destination-port ] [ hash-source-ip ] [ hash-source-port ] [ l2-redirect ] [ password key ] [ weight percentage ]]}
Configures custom web caching service.
wccp flow-redirect
wccp flow-redirect enable
Redirects moved flows.
wccp home-router
wccp home-router ip-address
Specifies WCCP Version 1 home router IP address.
wccp media-cache
wccp media-cache { router-list-num num [[ l2-redirect ] [ password key ] [ weight percentage ]]}
Configures WCCP Version 2 media caching service.
wccp port-list
wccp port-list listnum portnum
Associates ports with specific WCCP Version 2 dynamic services.
wccp reverse-proxy
wccp reverse-proxy { router-list-num num [[ l2-redirect ] [ password key ] [ weight percentage ]]}
Configures WCCP Version 2 reverse proxy web caching service.
wccp router-list
wccp router-list number ip-address
Creates a router list for use in WCCP services.
wccp service-number
wccp service-number servnumber { router-list-num num port port application { cache | streaming } [[ hash-destination-ip ] [ hash-destination-port ] [ hash-source-ip ] [ hash-source-port ] [ l2-redirect ] [ password key ] [ weight percentage ]]}
Configures WCCP Version 2 service number.
wccp shutdown
wccp shutdown max-wait seconds
Sets the maximum time interval over which the Content Engine will perform a clean shutdown.
wccp slow-start
wccp slow-start enable
Accepts traffic load in slow-start mode.
wccp version
wccp version { 1 | 2 }
Specifies WCCP version number.
wccp web-cache
wccp web-cache { router-list-num num [[ l2-redirect ] [ password key ] [ weight percentage ]]}
Configures standard web caching service.
wccp wmt
wccp wmt { router-list-num num [[ l2-redirect ] [ password key ] [ weight percentage ]]}
Configures the web cache service to run with WCCP Windows Media Technologies (WMT).
wmt
wmt { accept-license-agreement | broadcast { alias-name name source url } | cache { enable | max-obj-size size } | disallowed-client-protocols [ HTTP | TCP | UDP ] | enable | evaluate | incoming number | l4-switch { enable } | license-key key | max-bandwidth size | max-bitrate bit_rate | max-current-sessions number | multicast { schedule-start name minute hour day month | station-configuration name dest_addr dest_port media_source [ play-forever ]}}
Configures Windows Media Technologies (WMT).
Interface Configuration Command Summary
The interface configuration commands are entered in the interface configuration mode.
The following example demonstrates how to enter the interface configuration mode for a Fast Ethernet port:
Console(config)#
interface ?
FastEthernet Select a fast ethernet interface to configure
GigabitEthernet Select a gigabit ethernet interface to configure
Console(config)#
interface fastethernet ?
<0-3>/ FastEthernet slot/port
Console(config)#
interface fastethernet 0/1
Configure Interface commands:
autosense Interface autosense
bandwidth Interface bandwidth
exit Exit from this submode
full-duplex Interface fullduplex
half-duplex Interface halfduplex
ip Interface Internet Protocol Config commands
no Negate a command or set its defaults
shutdown Shutdown the specific interface
To exit the interface configuration mode, enter exit to return to the global configuration mode.
Table 1-6 lists the interface configuration commands.
Table 1-6 ACNS Software Interface Configuration Commands
Interface Command
Syntax
Description
autosense
autosense
Sets current interface to autosense.
bandwidth
bandwidth mbits
Sets specified interface line speed (10, 100 Mbps).
cdp
cdp {enable | full-duplex | half-duplex | ip address ip-address ip-subnet }
Sets Cisco Discovery Protocol interface configuration commands.
exit
exit
Exits from interface mode.
fullduplex
fullduplex
Sets current interface to full-duplex mode.
halfduplex
halfduplex
Sets current interface to half-duplex mode.
ip
ip { address ip-address ip-subnet }
Configures specified interface Internet Protocol parameters.
no
no { autosense | bandwidth | cdp | fullduplex | halfduplex | ip | shutdown | standby }
Negates a command or sets its defaults.
shutdown
shutdown
Shuts down the specified interface.
standby
standby group_number { errors max_errors | ip ip-address netmask | priority priority_level }
Configures an interface to be a backup for another interface.
show Command Summary
The Content Engine show commands are entered in the EXEC mode. Table 1-7 lists the show commands.
Table 1-7 ACNS Software show Commands
EXEC show Command
Syntax
Description
show arp
show arp
Displays Address Resolution Protocol (ARP) entries.
show authentication
show authentication {http-request | user }
Displays authentication configuration.
show boomerang
show boomerang
Displays boomerang content routing information.
show bypass
show bypass [ list ] [ statistics { auth-traffic | load }] [ summary ]
Displays Content Engine bypass configuration.
show cdp
show cdp [ entry neighbor { protocol | version } | holdtime | interface { fastEthernet slot/port | gigabitEthernet slot/port } | neighbors { detail | fastEthernet { slot/port | detail } | gigabitEthernet { slot/port | detail }} | run | timer | traffic ]
Displays Cisco Discovery Protocol configuration.
show cfs
show cfs { statistics | volumes }
Displays cache file system status.
show clock
show clock [ detail ]
Displays the system clock.
show debugging
show debugging
Displays the state of each debugging option.
show disks
show disks [ configured | current | details | raid-info ]
Displays disk configurations.
show dns-cache
show dns-cache
Displays DNS cache information.
show ecdn
show ecdn
Displays Enterprise CDN information.
show ecdnfs volumes
show ecdnfs volumes
Displays Enterprise CDN file system (ecdnfs) information.
show error-handling
error-handling { reset-connection | send-cache-error | transparent }
Sets error-handling options.
show flash
show flash
Displays Flash memory information.
show ftp
show ftp
Displays File Transfer Protocol (FTP) caching- related configuration.
show gui-server
show gui-server
Displays the graphical user interface (GUI) server configuration.
show hardware
show hardware
Displays system hardware information.
show hosts
show hosts
Displays IP domain name, name servers, and host table.
show http
show http { age-mult | all | anonymizer | append | authenticate-strip-ntlm | authentication | cache- authenticated | cache-cookie | cache-on-abort | client-no-cache- request | cluster | object | persistent-connections | proxy | reval-each-request | strict-request- content-length- checking | ttl }
Displays HTTP-related caching configuration.
show http-authcache
show http-authcache
Displays authentication cache.
show https
show https {all | destination-port | proxy }
Displays HTTPS-related parameters.
show icp
show icp { client | root | server }
Displays Internet Cache Protocol (ICP) information.
show interface
show interface { FastEthernet slot/port | GigabitEthernet slot/port | scsi number }
Displays hardware interface information.
show inetd
show inetd
Displays the status of TCP/IP services.
show ip routes
show ip routes
Displays IP routing table.
show ldap
show ldap
Displays LDAP parameters.
show logging
show logging
Displays system logging configuration.
show mediafs
show mediafs volumes
Displays media file system (mediafs) information.
show memory
show memory
Displays memory blocks and statistics.
show multicast-client
show multicast-client [license-agreement]
Displays multicast client configuration and license parameters.
show ntlm
show ntlm
Displays NTLM parameters.
show ntp
show ntp status
Displays the NTP configuration status.
show pre-load
show pre-load
Displays preload configuration.
show processes
show processes [ cpu | memory ]
Displays process status.
show proxy-auto-config
show proxy-auto-config
Displays the state of the browser automatic configuration feature.
show proxy-protocols
show { all | outgoing-proxy | transparent }
Displays proxy protocols parameters.
show radius-server
show radius-server
Displays RADIUS server information.
show real-subscriber
show real-subscriber [ license-agreement ]
Displays RealSubscriber configuration and license parameters.
show rtsp
show rtsp { all | license-agreement | proxy }
Displays the RTSP configurations.
show rule
show rule { action {action-type { all | pattern pattern-type} | all }
For a more complete explanation of specific rules, refer to the "show rule" section
Displays the Rules Template configuration information.
show running-config
show running-config
Displays the current operating configuration.
show services
show services { ports [ portnum ] | summary }
Displays services-related information.
show snmp
show snmp { engineID | group | stats }
Displays SNMP parameters.
show ssh
show ssh
Displays Secure Shell (SSH) status and configuration.
show standby
show standby
Displays standby interface-related information.
show startup-config
show startup-config
Displays the startup configuration.
show statistics
show statistics { authentication | boomerang [ domain domainname ] | bypass [ auth-traffic | load | summary ] | cfs | dns-cache | ftp | http { cluster | ims | object | performance | proxy outgoing | requests | savings | usage } | http-authcache | https | icmp | icp { client | server } | ip | ldap | mediacache real { requests | savings } | netstat | ntlm | pre-load | radius | rule { action {action-type { all | pattern pattern-type} | services | all }} | snmp | streamstat | tacacs | tcp | transaction-logs | udp | url-filter { N2H2 | websense } | wmt { all | bytes | errors | multicast | requests | savings | usage [ detail | summary ]}
Displays statistical system information.
show sysfs
show sysfs volumes
Displays system file system (sysfs) information.
show tacacs
show tacacs
Displays TACACS+ configuration.
show tcp
show tcp
TCP configuration.
show tech-support
show tech-support [ page ]
Displays system information for Cisco technical support.
show tftp-server
show tftp-server
Displays Trivial File Transfer Protocol (TFTP) server configuration.
show transaction-logging
show transaction-logging
Displays transaction logging information.
show trusted-host
show trusted-host
Displays the name of the trusted host.
show url-filter
show url-filter
Displays URL filter configurations.
show user
show user username name
Displays user information.
show users
show users { administrative | request-authenticated }
Displays specified users.
show version
show version
Displays system version.
show wccp
show wccp { content-engines | flows { custom-web-cache | media-cache | reverse-proxy | web-cache | wmt } [ summary ] | gre | modules | port- list | routers | services [ detail ] | slowstart { custom-web-cache | media-cache | reverse-proxy | web- cache | wmt } | status }
Displays WCCP information.
show wmt
show wmt [ license-agreement | proxy ]
Displays WMT configuration.
Posted: Wed May 14 13:50:25 PDT 2003
All contents are Copyright © 1992--2003 Cisco Systems, Inc. All rights reserved. Important Notices and Privacy Statement .