Table Of Contents
Optimize Configuration Mode Commands
show optimization-global(config-optimize) appscope-log
(config-optimize) debug-level
Optimize Configuration Mode Commands
The optimize mode includes a set of commands that allow you to globally configure application acceleration and optimization operation on the ACE. To remove an optimize mode selection, use the no form of the command. For details about using the commands in the optimize mode, see the Cisco 4700 Series Application Control Engine Appliance Application Acceleration and Optimization Configuration Guide.
To access the optimize mode, enter the optimize command. The CLI prompt changes to (config-optimize).
optimize
no optimize
Syntax Description
This command has no keywords or arguments.
Admin and user contexts
Command History
Release
|
Modification
|
A1(7)
|
This command was introduced.
|
Usage Guidelines
The commands in this mode require the loadbalance feature in your user role. For details about role-based access control (RBAC) and user roles, see the Cisco 4700 Series Application Control Engine Appliance Virtualization Configuration Guide.
Examples
To access the optimize mode, enter:
host1/Admin(config)# optimize
host1/Admin(config-optimize)#
Related Commands
To configure the ACE to upload the application acceleration and optimization statistical log information to the optional Cisco AVS 3180A Management Station, use the appscope-log command. Use the no form of this command to disable sending statistical log information to a Management Station.
appscope-log
no appscope-log
Syntax Description
This command has no keywords or arguments.
Admin and user contexts
Command History
Release
|
Modification
|
A1(7)
|
This command was introduced.
|
Usage Guidelines
The statistical log file contains an entry for each ACE optimization request to the server and is used for statistical analysis by the optional Cisco AVS 3180A Management Station. The ACE collects statistical log data and then sends it to the Management Station for loading into the management station database. For details about the optional Cisco AVS 3180A Management Station database, management, and reporting features, including AppScope reporting, see the Cisco 4700 Series Application Control Engine Appliance Application Acceleration and Optimization Configuration Guide.
To enable the AppScope feature, use the appscope command in action list optimization configuration mode. See the (config-actlist-optm) appscope command.
For each ACE request, information about the statistical log is written to the statlog.nnn file, where nnn is a three-digit number. Each entry in the statlog file is written in an XML-like syntax, where each element is opened with an angle-bracketed tag, and closed with a similar tag, and can contain several fields with nested elements.
Note
Statistical log information from active ACE nodes is carried by the syslog-ng daemon to the Cisco AVS 3180A Management Console and written to a file under the avs-log/syslog/ directory. The file is <optm-id>_<virtual-context-id>, which is unique across all ACE nodes.
To specify the host (the syslog server on the Management Station) that receives the syslog messages sent by the ACE, use the logging host configuration command. See the (config) logging host command. This command allows you to identify the IP address of the Management Station that will be used as the syslog server. You can specify that the host uses either UDP or TCP to send messages to the syslog server.
Examples
To specify that the information about statistical log is to be sent to a Management Station at 192.168.10.1 using TCP, enter:
host1/Admin(config)# optimize
host1/Admin(config-optimize)# appscope-log
host1/Admin(config-optimize)# exit
host1/Admin(config)# logging host 192.168.10.1 tcp
To disable sending information about the statistical log information to an AVS 3180A Management Station, enter:
host1/Admin(config-optimize)# no appscope-log
Related Commands
(config-actlist-optm) appscope
(config-parammap-optmz) appscope optimize-rate-percent
(config-parammap-optmz) parameter-summary parameter-value-limit
(config-parammap-optmz) request-grouping-string
(config-optimize) debug-level
To enable HTTP optimization logging and control the maximum level for system log messages sent to the host (the syslog server on the optional Cisco AVS 3180A Management Station), use the debug-level command. Use the no form of the command to disable the debug function for HTTP optimization.
debug-level severity_level
no debug-level severity_level
Syntax Description
severity_level
|
Maximum level for system log messages sent to a syslog server. The severity level that you specify indicates that you want syslog messages at that level and messages lower than that level. For example, if the specified level is 3, the syslog displays level 3, 2, 1, and 0 messages. The severity level that you specify indicates that you want to log messages at that level and below.
Allowable entries are as follows:
• 0—emergencies (system unusable messages)
• 1—alerts (take immediate action)
• 2—critical (critical condition)
• 3—errors (error message)
• 4—warnings (warning message)
• 5—notifications (normal but significant condition)
• 6—informational (information message)
• 7—debugging (debug messages)
|
Admin and user contexts
Command History
Release
|
Modification
|
A1(7)
|
This command was introduced.
|
Usage Guidelines
The debug-level command limits the HTTP optimization logging messages sent to a syslog server based on severity.
To specify the host (the syslog server on the optional Management Station) that receives the syslog messages sent by the ACE, use the logging host configuration command. See the (config) logging host command. You can specify that the host uses either UDP or TCP to send messages to the syslog server.
Examples
To enable HTTP optimization logging and send informational system message logs to the syslog server, enter:
host1/Admin(config)# debug-level 6
To disable the debug function for HTTP optimization, enter:
host1/Admin(config)# no debug-level
Related Commands
(config-parammap-optmz) appscope optimize-rate-percent
(config-parammap-optmz) parameter-summary parameter-value-limit
(config-parammap-optmz) request-grouping-string