Exec Mode Commands - Cisco
嚜澧hapter 3 CLI Commands
Exec Mode Commands
Use the EXEC mode for setting, viewing, and testing system operations. In general, the user EXEC
commands allow you to connect to remote devices, change terminal line settings on a temporary basis,
perform basic tests, and list system information.
The EXEC mode is divided into two access levels: user and privileged.
The user EXEC mode is used by local and general system administrators, while the privileged EXEC
mode is used by the root administrator. Use the enable and disable commands to switch between the two
levels. Access to the user-level EXEC command line requires a valid password.
The user-level EXEC commands are a subset of the privileged-level EXEC commands. The user-level
EXEC prompt is the hostname 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.
Note
You can change the hostname using the hostname global configuration command.
In the following example, a user accesses the privileged-level EXEC command line from the user level:
WAE> enable
WAE#
To leave EXEC mode, use the exit command at the system prompt:
WAE# exit
WAE>
Cisco Wide Area Application Services Command Reference
3-2
OL-8922-01
Chapter 3 CLI Commands
cd
cd
To change from one directory to another directory in the WAAS software, use the cd EXEC command.
cd directoryname
Syntax Description
directoryname
Defaults
No default behavior or values
Command Modes
EXEC
Device Modes
application-accelerator
Directory name.
central-manager
Usage Guidelines
Use this command to navigate between directories and for file management. The directory name
becomes the default prefix for all relative paths. Relative paths do not begin with a slash (/). Absolute
paths begin with a slash (/).
Examples
The following example shows how to change to a directory using a relative path:
WAE(config)# cd local1
The following example shows how to change to a directory using an absolute path:
WAE(config)# cd /local1
Related Commands
deltree
dir
lls
ls
mkdir
pwd
Cisco Wide Area Application Services Command Reference
OL-8922-01
3-3
Chapter 3 CLI Commands
clear
clear
To clear the hardware interface, statistics, and other settings, use the clear EXEC command.
clear cdp {counters | table}
clear ip access-list counters [acl-num | acl-name]
clear logging
clear statistics {all | authentication | history | icmp | ip | radius | running | tacacs | tcp | udp |
windows-domain}
clear users administrative
clear windows-domain-log
Syntax Description
cdp
Resets the Cisco Discovery Protocol (CDP) statistical data.
counters
Clears the CDP counters.
table
Clears the CDP tables.
ip access-list
Clears the IP access list statistical information.
counters
Clears the IP access list counters.
acl-name
(Optional) Clears the counters for the specified access list, identified
using an alphanumeric identifier of up to 30 characters, beginning with
a letter.
acl-num
(Optional) Clears the counters for the specified access list, identified
using a numeric identifier (standard access list: 1每99; extended access
list: 100每199).
logging
Clears the syslog messages saved in the disk file.
statistics
Clears the statistics as specified.
all
Clears all statistics.
authentication
Clears the authentication statistics.
history
Clears the statistics history.
icmp
Clears the ICMP statistics.
ip
Clears the IP statistics.
radius
Clears the RADIUS statistics.
running
Clears the running statistics.
tacacs
Clears the TACACS+ statistics.
tcp
Clears the TCP statistics.
udp
Clears the UDP statistics.
windows-domain
Clears the Windows domain statistics.
users
Clears the connections (login) of authenticated users.
administrative
Clears the connections of administrative users authenticated through a
remote login service.
windows-domain-log
Clears the Samba, Kerberos, and Winbind log files.
Cisco Wide Area Application Services Command Reference
3-4
OL-8922-01
Chapter 3 CLI Commands
clear
Defaults
No default behavior or values
Command Modes
EXEC
Device Modes
application-accelerator
central-manager
Usage Guidelines
The clear logging command removes all current entries from the syslog.txt file, but does not make an
archive of the file. It puts a ※Syslog cleared§ message in the syslog.txt file to indicate that the syslog has
been cleared, as shown in the following example.
Feb 14 12:17:18 WAE# exec_clear_logging:Syslog cleared
The clear statistics command clears all statistical counters from the parameters given. Use this
command to monitor fresh statistical data for some or all features without losing cached objects or
configurations.
The clear users administrative command clears the connections for all administrative users who are
authenticated through a remote login service, such as TACACS. This command does not affect an
administrative user who is authenticated through the local database.
The clear windows-domain-log command removes all current entries from the Windows domain log
file.
Examples
In the following example, all entries in the syslog.txt file are cleared on the WAAS device:
WAE# clear logging
In the following example, all authentication, RADIUS and TACACS+ information is cleared on the
WAAS device:
WAE# clear statistics radius
WAE# clear statistics tacacs
WAE# clear statistics authentication
In the following example, all entries in the Windows domain log file are cleared on the WAAS device:
WAE# clear windows-domain-log
Related Commands
show interface
show wccp
Cisco Wide Area Application Services Command Reference
OL-8922-01
3-5
Chapter 3 CLI Commands
clock
clock
To set clock functions or update the calendar, use the clock EXEC command. Use the no form of this
command to clear clock functions and calendar.
clock {read-calendar | set time day month year | update-calendar}
Syntax Description
read-calendar
Reads the calendar and updates the system clock.
set
Sets the time and date.
time
Current time in hh:mm:ss format (hh: 00每23; mm: 00每59; ss: 00每59).
day
Day of the month (1每31).
month
Month of the year (January, February, March, April, May, June, July,
August, September, October, November, December).
year
Year (1993每2035).
update-calendar
Updates the calendar with the system clock.
Defaults
No default behavior or values
Command Modes
EXEC
Device Modes
application-accelerator
central-manager
Usage Guidelines
If you have an outside source on your network that provides time services (such as a NTP server), you
do not need to set the system clock manually. When setting the clock, enter the local time. The WAAS
device calculates the UTC based on the time zone set by the clock timezone global configuration
command.
Two clocks exist in the system: the software clock and the hardware clock. The software uses the
software clock. The hardware clock is used only at bootup to initialize the software clock.
The set keyword sets the software clock.
Examples
The following example sets the software clock on the WAAS device:
WAE# clock set 13:32:00 01 February 2005
Related Commands
show clock
Cisco Wide Area Application Services Command Reference
3-6
OL-8922-01
................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- command line interface cli commands
- command line users manual
- windows 10 command prompt commands list
- exec mode commands cisco
- mac os x server command line administration
- racadm command line reference guide
- pkzip 2 50 command line user s manual cachefly
- powershell commands usalearning
- explanation venango technology center
- command line guide version 11 3 1 symantec endpoint
Related searches
- cisco basic commands list pdf
- cisco console commands cheat sheet
- cisco basic commands list
- cisco switch commands list pdf
- cisco commands list
- all cisco commands pdf
- cisco 2960 commands list
- cisco switch configuration commands pdf
- cisco vlan commands list
- cisco show commands cheat sheet
- cisco 3850 commands cheat sheet
- cisco commands cheat sheet pdf