cc/td/doc/product/webscale/uce/acns41
hometocprevnextglossaryfeedbacksearchhelp
PDF

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.

1The arrow keys function only on ANSI-compatible terminals such as VT100s.

Command Modes

The four modes are:

EXEC Mode

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.

Console> enable
Console#

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:

--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 leave EXEC mode, use the exit command at the system prompt:

Console# exit

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
Console(config-domain)#

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.

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 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
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
Console(config-if)#

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:

Console(config-if)# exit
Console(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 1222
^
%Invalid input detected at `^' marker.
Console# clock ?
read-calendar Read the calendar and update system clock
set Set the time and date
update-calendar Update the calendar with system clock
Console# clock

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

Console# clock set ?
<0-23>: Current Time (hh:mm:ss)
Console# clock set

Enter the current time in 24-hour format with hours, minutes, and seconds separated by colons:

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 display the additional arguments:

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

Enter the day and month as prompted and use the question mark for additional instructions.

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

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.
Console#

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 ?
<1993-2035> Year
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
Console#

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 using the copy or write commands, as shown in the following example:

Console# copy running-config startup-config

or

Console# write

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

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}yle="font-style: normal; font-variant: normal; font-weight: normal; text-decoration: none; text-transform: none">} 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

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>] [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
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
Console(config-if)#
Console(config-if)# ?
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.

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

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.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed May 14 13:49:52 PDT 2003
All contents are Copyright © 1992--2003 Cisco Systems, Inc. All rights reserved.
Important Notices and Privacy Statement.