Table Of Contents
Command-Line Interface Command Summary
Using Command-Line Processing
Command Modes
EXEC Mode
Domain Configuration Mode
Global Configuration Mode
Interface Configuration Mode
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 ACNS 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
Cisco Application and Content Networking System (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.
|
Command Modes
The four modes are:
•
EXEC
•
Domain configuration
•
Global configuration
•
Interface configuration
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.
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 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
mtu
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 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
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 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 a 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 oldfilename newfilename
|
Renames a file (path name).
|
rmdir
|
rmdir directory
|
Removes directory.
|
show
|
show
|
Displays running system information.
|
terminal
|
terminal {length lines | monitor [disable]}
|
Sets terminal commands.
|
traceroute
|
traceroute {hostname | ip-address}
|
Traces the route to a remote host.
|
type
|
type filename
|
Displays a file.
|
type-tail
|
type-tail filename [line | follow]
|
Displays the last several lines of 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 dump-log
|
boomerang dump-log
|
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 {access-lists 300 | all | authentication | boomerang | dns-cache | ftp | history | http {all | cluster | 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} | http install {hostname | ip-address} remotefiledir remotefilename [port port_num] | running-config {disk filename | startup-config | tftp {hostname | ip-address} remotefilename} | startup-config {disk filename | running-config | tftp {hostname | ip-address} remotefilename} | system-status disk filename | tech-support {disk filename | tftp {hostname | ip-address} remotefilename} | tftp disk {hostname | ip-address} remotefilename localfilename | tftp 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 {remaining | partitionsize} | ecdnfs {remaining | partitionsize} | mediafs {remaining | partitionsize} | sysfs {remaining | partitionsize}} | cancel-config | config sysfs {remaining | partitionsize} {cfs {remaining | partitionsize} | ecdnfs {remaining | partitionsize} | mediafs {remaining | partitionsize}} | raid-array add-array | raid-array repair diskname | disk recover
|
Configures disk space among file system functions.
|
dnslookup
|
dnslookup {hostname | domain-name}
|
Resolves a host name (DNS).
|
ecdn
|
ecdn {force-downgrade [disable] | reset-cdm-gui- password}
|
Forces E-CDN application downgrade or resets the administrator's CDM GUI password.
|
enable
|
enable
|
Accesses privileged EXEC commands.
|
exit
|
exit
|
Exits from the EXEC and configuration command levels to user level.
|
find-pattern
|
find-pattern {binary reg-express filename | case {binary reg-express filename | count reg-express filename | lineno reg-express filename | match reg-express filename | nomatch reg-express filename | recursive reg-express filename} | count reg-express filename | lineno reg-express filename | match reg-express filename | nomatch reg-express filename | recursive reg-express filename}
|
Searches for a particular pattern in a file.
|
help
|
help
|
Provides assistance for command-line interface.
|
install
|
install imagefilename
|
Installs a new version of the Cache software.
|
lls
|
lls [directory]
|
Displays files in long list format.
|
ls
|
ls [directory]
|
Lists files in directory.
|
mkdir
|
mkdir directory
|
Makes a directory.
|
mkfile
|
mkfile filename
|
Makes a file (for testing).
|
no
|
no debug
|
Disables debug functions.
|
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.
|
proxy-auto-config
|
proxy-auto-config download {ftp-hostname | ftp-ip-address} remotedir pacfile
|
Downloads the proxy automatic configuration file from an FTP server.
|
pwd
|
pwd
|
Views the present working directory.
|
reload
|
reload [force]
|
Halts and performs a cold restart.
|
rename
|
rename oldfilename newfilename
|
Renames a file (path name).
|
restore
|
restore factory-default
|
Restores the Content Engine to its manufactured default status.
|
rmdir
|
rmdir directory
|
Removes a directory.
|
rtsp
|
rtsp {real-proxy default-configuration | real-subscriber default-configuration}
|
Restores RealProxy or RealSubscriber to its default configuration.
|
show
|
show
|
Displays running system information.
|
tcpdump
|
tcpdump
|
Dumps TCP traffic on the network.
|
terminal
|
terminal {length lines | monitor [disable]}
|
Sets terminal commands.
|
traceroute
|
traceroute {hostname | ip-address}
|
Traces the route to a remote host.
|
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.
|
wmt
|
wmt {multicast-station {start name | stop name}
|
Starts and stops WMT multicast named stations.
|
write
|
write [erase | memory | terminal]
|
Writes running configuration to memory or terminal.
|
Domain Configuration Command Summary
The domain configuration commands are entered in 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 agent DNS, enables content routing, and enables logging the result of races on boomerang distributed reverse proxy.
|
Global Configuration Command Summary
The global configuration commands are entered in global configuration mode. Table 1-5 lists the global configuration commands.
Table 1-5 ACNS Software Global Configuration Commands
Global Configuration Command
|
Syntax
|
Description
|
access-lists
|
access-lists {300 {deny groupname {any [position number] | groupname [position number]}} | {permit groupname {any [position number] | groupname [position number]}} | enable}
|
Configures access control list entries.
|
asset
|
asset tag name
|
Configures CISCO-ENTITY-ASSETT-MIB.
|
authentication
|
authentication {configuration {local | radius | tacacs} enable [primary | secondary | tertiary] | login {local | radius | tacacs} enable [primary | secondary | tertiary]}
|
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 endmonth endhour offset | last startweekday startmonth starthour endweekday endmonth endhour offset}} | timezone {timezone hoursoffset minutesoffset}}
|
Sets summer daylight saving time of day and time zone.
|
dns-cache
|
dns-cache size maxsize
|
Configures maximum DNS cache size.
|
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 the 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 8 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} | fast-response enable | include-ecdn-stats | l4-switch enable | max-ttl {days text textdays binary bindays | hours text texthours binary binhours | minutes text textminutes binary binminutes | seconds text textseconds binary binseconds} | min-ttl minutes | object {max-size maxsize | url-validation enable} | persistent-connections [all | client-only | server-only | timeout seconds] | proxy {incoming ports | outgoing {connection-timeout microsecs | host {hostname | ip-address} port [primary] monitor seconds | origin-server | preserve-407}} | reval- each-request {all | none | text} | serve-ims text percentage binary percentage | smart-range {enable | max-start offset max-interval interval} | strict-request-content-length- checking enable}
|
Configures HTTP-related parameters.
|
https
|
https {destination-port allow {ports | all} | deny {ports | all} | proxy {incoming ports | 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 {ftp | rcp | tftp}
|
Enables 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}}
|
Configures a Fast Ethernet or Gigabit Ethernet interface.
|
ip
|
ip {default-gateway ip-address | domain-name name1 name2 name3 | 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-client | set-dscp dscp-packets | set-tos tos-packets}} | name-server {ip-addresses | serial-lookup} | path-mtu- discovery | route dest_addrs net_addrs gateway_addrs}
|
Configures Internet Protocol.
|
ldap
|
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 {hostname | 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 for the 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
|
ntlm server {domain name | enable | host {hostname | ip-address} [primary | secondary}}
|
Configures NTLM NT server parameters.
|
ntp
|
ntp {enable {cdm | manual} | server [hostnames | ip-addresses]
|
Configures Network Time Protocol (NTP).
|
pre-load
|
pre-load {concurrent-requests number | depth-level-default level-number | dscp {set-dscp dscpvalue | set-tos tosvalue} | enable | fetch {directory dir_names | domain domain_names | suffix suffix_names} | max-bandwidth bandwidth | no-fetch {directory dir_names | domain domain_names | suffix suffix_names} | resume | schedule {every-day [start-time time [end-time time]] | every-hour [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.
|
primary-interface
|
primary-interface {FastEthernet | GigabitEthernet} slot/port [dhcp]
|
Configures a primary interface for the Enterprise CDN (E-CDN) application.
|
proxy-auto-config
|
proxy-auto-config enable
|
Enables the browser automatic configuration feature.
|
proxy-protocols
|
proxy-protocols {outgoing-proxy exclude {enable | list word} | transparent {default-server | original-proxy | reset}}
|
Configures proxy protocols-related parameters.
|
radius-server
|
radius-server {enable | host {hostname | hostipaddr} [auth-port port] | key keyword | redirect {enable | message reply location url} | retransmit retries | timeout seconds}
|
Configures RADIUS authentication.
|
real-subscriber
|
real-subscriber {accept-license-agreement | enable | evaluate | license-key key}
|
Configures RealSubscriber parameters.
|
rtsp
|
rtsp proxy {incoming ports | 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
|
rule action-type pattern-type
For a more complete explanation of specific rules, see the "rule" section on page 2-168.
|
Sets the rules by which the Content Engine filters HTTP web traffic.
|
snmp-server community
|
snmp-server community string [group groupname | rw]
|
Enables SNMP; sets community string and optionally names group and enables read-write access with community string.
|
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 [notify name] [read name] [write name]}}
|
Defines a user security model group.
|
snmp-server host
|
snmp-server host {hostname | ip-address} communitystring [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 MIBfamily {excluded | included}
|
Defines a Version 2 SNMP (SNMPv2) MIB view.
|
ssh-key-generate
|
ssh-key-generate [key-length length]
|
Generates a Secure Shell (SSH) host key.
|
sshd
|
sshd {enable | password-guesses number | timeout seconds}
|
Configures SSH service parameters.
|
tacacs
|
tacacs {enable | key keyword | retransmit retries | server {hostname | ip-address} [primary] | timeout seconds}
|
Enables and configures TACAS+ authentication parameters.
|
tcp
|
tcp {client-mss maxsegsize | client-receive- buffer kbytes | client-rw-timeout seconds | client-satellite | client-send-buffer kbytes | cwnd-base segments | ecn 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.
|
telnet
|
telnet enable
|
Enables Telnet services.
|
tftp-server
|
tftp-server dir directory
|
Sets the Trivial File Transfer Protocol (TFTP) server directory.
|
transaction-logs
|
transaction-logs {archive {interval {seconds | every-day {at hour:minute | every hours} | every-hour {at minute | every minutes} | every-week [on weekdays at hour:minute]}} | max-file-size filesize} | ecdn enable | enable | export {compress | enable | ftp-server {hostname | servipaddrs} login passw directory | interval {minutes | every-day {at hour:minute | every hours} | every-hour {at minute | every minutes} | every-week [on weekdays at hour:minute]}} | file-marker | format {apache | extended-squid | squid} | log-windows-domain | sanitize}
|
Configures transaction logging parameters.
|
trusted-host
|
trusted-host {domain-lookup | {hostname | ip-address}}
|
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 {mask {[dst-ip-mask hex_num] [dst-port-mask hex_num] [src-ip-mask hex_num] [src-port-mask hex_num]} | router-list-num num port port [assign-method-strict] [hash-destination-ip] [hash-destination-port] [hash-source-ip] [hash-source-port] [l2-redirect] [mask-assign] [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 {mask {[dst-ip-mask hex_num] [dst-port-mask hex_num] [src-ip-mask hex_num] [src-port-mask hex_num]} | router-list-num num [assign-method-strict] [l2-redirect] [mask-assign] [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 {mask {[dst-ip-mask hex_num] [dst-port-mask hex_num] [src-ip-mask hex_num] [src-port-mask hex_num]} | router-list-num num [assign-method-strict] [l2-redirect] [mask-assign] [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 {mask {[dst-ip-mask hex_num] [dst-port-mask hex_num] [src-ip-mask hex_num] [src-port-mask hex_num]} | router-list-num num port-list-num port application {cache | streaming} [assign-method-strict] [hash-destination-ip] [hash-destination-port] [hash-source-ip] [hash-source-port] [l2-redirect] [mask-assign] [match-source-port] [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 spoof-client-ip
|
wccp spoof-client-ip enable
|
Uses client IP address while connecting to the origin server.
|
wccp version
|
wccp version {1 | 2}
|
Specifies WCCP version number.
|
wccp web-cache
|
wccp web-cache {mask {[dst-ip-mask hex_num] [dst-port-mask hex_num] [src-ip-mask hex_num] [src-port-mask hex_num]} | router-list-num num [assign-method-strict] [l2-redirect] [mask-assign] [password key] [weight percentage]}
|
Configures standard web caching service.
|
wccp wmt
|
wccp wmt {mask {[dst-ip-mask hex_num] [dst-port-mask hex_num] [src-ip-mask hex_num] [src-port-mask hex_num]} | router-list-num num [assign-method-strict] [l2-redirect] [mask-assign] [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 | wmt live-url-stripping enable | 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]} | proxy outgoing http host ip-address port unicast-url url}
|
Configures WMT.
|
Interface Configuration Command Summary
The interface configuration commands are entered in interface configuration mode.
The following example demonstrates how to enter 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 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
|
Enables Cisco Discovery Protocol (CDP) on an interface.
|
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 [secondary]
|
Configures specified interface Internet Protocol parameters.
|
mtu
|
mtu mtusize
|
Sets the interface Maximum Transmission Unit (MTU) size.
|
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 show commands are entered in EXEC mode. Table 1-7 lists the show commands.
Table 1-7 ACNS Software show Commands
show Command
|
Syntax
|
Description
|
show access-lists
|
show access-lists 300
|
Displays Access Control List configuration.
|
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 (CDP) 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
|
show ecdnfs volumes
|
Displays Enterprise CDN file system (ecdnfs) information.
|
show error-handling
|
error-handling {reset-connection | send-cache-error | transparent}
|
Displays 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 {proxy-auth- header | via-header | www-auth- header | x-forwarded-for-header} | authenticate-strip-ntlm | authentication | cache- authenticated {all | basic | ntlm} | cache-cookie | cache-on-abort | client-no-cache- request | cluster | fast-response | include-ecdn-stats | object | persistent- connections | proxy | reval-each- request | serve-ims | smart-range | 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 inetd
|
show inetd
|
Displays the status of TCP/IP services.
|
show interface
|
show interface {FastEthernet slot/port | GigabitEthernet slot/port | scsi number}
|
Displays hardware interface information.
|
show ip
|
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, see the "show rule" section on page 2-234
|
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 | user}
|
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 access-lists 300
|
show statistics access-lists 300
|
Displays Access Control List statistics.
|
show statistics authentication
|
show statistics authentication
|
Displays authentication statistics.
|
show statistics boomerang
|
show statistics boomerang [domain domainname]
|
Displays boomerang statistics.
|
show statistics bypass
|
show statistics bypass [auth-traffic | load | summary]
|
Displays bypass statistics.
|
show statistics cfs
|
show statistics cfs
|
Displays cache file system statistics.
|
show statistics dns-cache
|
show statistics dns-cache
|
Displays DNS caching statistics.
|
show statistics ftp
|
show statistics ftp
|
Displays File Transfer Protocol statistics.
|
show statistics http
|
show statistics http {cluster | ims | object | performance | proxy outgoing | requests | savings | usage}
|
Displays Hypertext Transfer Protocol statistics.
|
show statistics http-authcache
|
show statistics http-authcache
|
Displays HTTP cache authentication statistics.
|
show statistics https
|
show statistics https
|
Displays HTTPS statistics.
|
show statistics icmp
|
show statistics icmp
|
Displays Internet Control Message Protocol statistics.
|
show statistics icp
|
show statistics icp {client | server}
|
Displays Internet Cache Protocol statistics.
|
show statistics ip
|
show statistics ip
|
Displays Internet Protocol statistics.
|
show statistics ldap
|
show statistics ldap
|
Displays Lightweight Directory Access Protocol statistics.
|
show statistics mediacache
|
show statistics mediacache real {requests | savings}
|
Displays media cache statistics.
|
show statistics netstat
|
show statistics netstat
|
Displays Internet socket connection statistics.
|
show statistics ntlm
|
show statistics ntlm
|
Displays Windows NT LAN Manager statistics.
|
show statistics pre-load
|
show statistics pre-load
|
Displays preloaded URL list statistics.
|
show statistics radius
|
show statistics radius
|
Displays RADIUS authentication statistics.
|
show statistics rule
|
show statistics rule {action action-type {all | pattern pattern-type} | all | top reset}
For a more complete explanation of specific rules, see the "rule" section on page 2-168.
|
Displays rule statistics.
|
show statistics services
|
show statistics services
|
Displays services statistics.
|
show statistics snmp
|
show statistics snmp
|
Displays SNMP statistics.
|
show statistics streamstat
|
show statistics streamstat
|
Displays Windows Media Technologies streaming connection statistics.
|
show statistics tacacs
|
show statistics tacacs
|
Displays TACACS+ authentication and authorization statistics.
|
show statistics tcp
|
show statistics tcp
|
Displays Transmission Control Protocol statistics.
|
show statistics transaction-logs
|
show statistics transaction-logs
|
Displays transaction log export statistics.
|
show statistics udp
|
show statistics udp
|
Displays User Datagram Protocol statistics.
|
show statistics url-filter
|
show statistics url-filter {N2H2 | websense}
|
Displays URL filtering statistics.
|
show statistics wmt
|
show statistics wmt {all | bytes | errors | multicast | requests | savings | streamstat | usage [detail | summary]}
|
Displays Windows Media Technologies statistics.
|
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 telnet
|
show telnet
|
Displays Telnet services configuration.
|
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-hosts
|
show trusted-hosts
|
Displays the name of the trusted host.
|
show url-filter
|
show url-filter
|
Displays URL filter configurations.
|
show user
|
show user {uid number | username name}
|
Displays user identification number and username 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 | masks {custom-web-cache | media-cache | reverse-proxy | web-cache} | 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.
|