- Table of Contents
-
- 04-DPI Command Reference
- 00-Preface
- 01-DPI engine commands
- 02-IPS commands
- 03-URL filtering commands
- 04-Data filtering commands
- 05-File filtering commands
- 06-Anti-virus commands
- 07-Data analysis center commands
- 08-Proxy policy commands
- 09-WAF commands
- 10-APT defense commands
- 11-IP reputation commands
- 12-Domain reputation commands
- 13-DGA detection commands
- 14-Intelligent service platform commands
- Related Documents
-
Title | Size | Download |
---|---|---|
07-Data analysis center commands | 219.65 KB |
Contents
dac email-server client-authentication enable
dac email-server secure-authentication enable
dac email-server server-address
display dac report export template
statistics content (LB link statistics report view)
statistics content (LB real server statistics report view)
statistics content (LB server farm member statistics report view)
statistics content (LB server farm statistics report view)
statistics content (LB virtual server statistics report view)
Data analysis center commands
dac email-server client-authentication enable
Use dac email-server client-authentication enable to enable email client authentication.
Use undo dac email-server client-authentication enable to disable email client authentication.
Syntax
dac email-server client-authentication enable
undo dac email-server client-authentication enable
Default
Email client authentication is disabled.
Views
System view
Predefined user roles
network-admin
context-admin
Usage guidelines
Enable email client authentication on the device if the email server (specified by the dac email-server server-address command) requires client identity authentication.
For successful email client authentication, you must configure the correct username and password for connecting to the email server.
Examples
# Enable email client authentication.
<Sysname> system-view
[Sysname] dac email-server client-authentication enable
Related commands
dac email-server server-address
dac email-server username
dac email-server password
dac email-server password
Use dac email-server password to set the password for connecting to the email server.
Use unto dac email-server password to restore the default.
Syntax
dac email-server password { cipher | simple } string
undo dac email-server password
Default
The password for connecting to the email server is not specified.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
cipher: Specifies a password in encrypted form.
simple: Specifies a password in plaintext form. For security purposes, the password specified in plaintext form will be stored in encrypted form.
string: Specifies the password. Its plaintext form is a case-sensitive string of 1 to 63 characters. Its encrypted form is a case-sensitive string of 1 to 117 characters.
Usage guidelines
Both the username and password for connecting to the email server are required if email client authentication is enabled.
If you configure this command multiple times, the most recent configuration takes effect.
Examples
# Specify abc123 as the password for connecting to the email server.
<Sysname> system-view
[Sysname] dac email-server password simple abc123
Related commands
dac email-server client-authentication enable
dac email-server username
dac email-server secure-authentication enable
Use dac email-server secure-authentication enable to enable secure transmission of authentication credentials.
Use undo dac email-server secure-authentication enable to disable secure transmission of authentication credentials.
Syntax
dac email-server secure-authentication enable
undo dac email-server secure-authentication enable
Default
Secure transmission of authentication credentials is disabled.
Views
System view
Predefined user roles
network-admin
context-admin
Usage guidelines
This command enables the device to transmit email client authentication credentials to the email server over a secure channel.
This command takes effect only after email client authentication is enabled.
Examples
# Enable secure transmission of authentication credentials.
<Sysname> system-view
[Sysname] dac email-server secure-authentication enable
Related commands
dac email-server client-authentication enable
dac email-server sender
Use dac email-server sender to specify the email sender address.
Use undo dac email-server sender to restore the default.
Syntax
dac email-server sender address-string
undo dac email-server sender
Default
The email sender address is not specified.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
address-string: Specifies the email sender address, as case-sensitive string of 3 to 63 characters.
Usage guidelines
The data analysis center (DAC) uses the specified email sender address send emails.
Examples
# Specify mailto:[email protected] as the email sender address.
<Sysname> system-view
[Sysname] dac email-server sender [email protected]
Related commands
dac email-server server-address
dac email-server server-address
Use dac email-server server-address to specify the email server address for the DAC.
Use undo dac email-server server-address to restore the default.
Syntax
dac email-server server-address address-string
undo dac email-server server-address
Default
No email server is specified for the DAC.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
address-string: Specifies the IP address or host name of the email server. The host name is a case-sensitive string of 3 to 63 characters.
Usage guidelines
If a host name is used, make sure the device can obtain the IP address of the email server through DNS or DDNS and the device has routes to reach the email server. If the requirements are not met, email sending will fail. For more information about DNS and DDNS, see Layer 3—IP Services Configuration Guide.
The DAC can send emails only after the both email server address and email sender address are configured.
If you configure this command multiple times, the most recent configuration takes effect.
Examples
# Specify 101.1.1.255 as email server address for the DAC.
<Sysname> system-view
[Sysname] dac email-server server-address 101.1.1.225
Related commands
dac email-server sender
dac email-server username
Use dac email-server username to set the username for connecting to the email server.
Use undo dac email-server username to restore the default.
Syntax
dac email-server username username
undo dac email-server username
Default
The username for connecting to the email server is not specified.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
username: Specifies the username, a case-sensitive string of 1 to 63 characters.
Usage guidelines
If you configure this command multiple times, the most recent configuration takes effect.
Examples
# Specify admin as the username for connecting to the email server.
<Sysname> system-view
[Sysname] dac email-server username admin
Related commands
dac email-server client-authentication enable
dac email-server password
dac log-collect enable
Use dac log-collect enable to enable the log collection for a service that is registered to the DAC.
Use undo dac log-collect enable to disable the log collection for a service.
Syntax
dac log-collect service service-type service-name enable
undo dac log-collect service service-type service-name enable
Default
The log collection status for each service varies by service setting when the service module is registered to the DAC.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
service-type: Specifies the type of a service that is registered to the DAC. The service type name is a case-insensitive string. To view the supported service type, enter a question mark (?) for this argument.
service-name: Specifies the name of a service that is registered to the DAC. The service name is a case-insensitive string. To view the supported service name, enter a question mark (?) for this argument.
Usage guidelines
This command enables the log collection for a specific service. To collect the log messages for the traffic service, first enable the session statistics collection and then enable the log collection.
Repeat this command to enable log collection for multiple services.
Examples
# Enable the log collection for the DPI traffic service.
<Sysname> system-view
[Sysname] dac log-collet service dpi traffic enable
Related commands
display dac log-collect
dac log-display enable
Use dac log-display enable to enable the real-time log display.
Use undo dac log-collect enable to disable the real-time log display.
Syntax
dac log-display service service-type service-name enable
undo dac log-display service service-type service-name enable
Default
The real-time log display for all services is disabled.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
service-type: Specifies the type of a service that is registered with the DAC. The service type name is a case-insensitive string. To view the supported service type, enter a question mark (?) for this argument.
service-name: Specifies the name of a service that is registered with the DAC. The service name is a case-insensitive string. To view the supported service name, enter a question mark (?) for this argument.
Usage guidelines
This command for a service takes effect only after the log collection for the service is enabled by the dac log-collect enable command.
With this feature enabled, you can see the real-time log messages displayed on the Web interface.
Repeat this command to enable real-time log display for multiple services.
DPI do not support this feature in the current software version.
Examples
# Enable the real-time display for system logs.
<Sysname> system-view
[Sysname] dac log-display service syslog syslog enable
Related commands
dac log-collect enable
display dac log-display
dac report
Use dac report to configure the subscription parameters for a report type.
Use undo dac report to remove the subscription parameters for a report type.
Syntax
dac report type { comparison | integrated | intelligent | summary } subscriber mail-address [ language { chinese | english } ]
undo dac report type { comparison | integrated | intelligent | summary } [ subscriber mail-address ]
Default
No report subscription parameters are configured.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
comparison: Specifies the comparison report.
integrated: Specifies the integrated report.
intelligent: Specifies the intelligent report.
summary: Specifies the summary report.
subscriber mail-address: Specifies the email address of the report subscriber, a case-sensitive string of 3 to 63 characters. If you do not specify a subscriber, the undo command removes all subscribers for the specified report type.
language: Specifies a language for the reports. If you do not specify this keyword, Chinese is used in the reports.
chinese: Uses Chinese in the reports.
english: Uses English in the reports.
Usage guidelines
You can configure a maximum of 50 subscribers for each report type.
# Specify [email protected] and English as the subscriber address and language for the summary report, respectively.
<Sysname> system-view
[Sysname] dac report type summary subscriber [email protected] language english
# Remove subscriber address [email protected] for the summary report.
<Sysname> system-view
[Sysname] undo dac report type summary subscriber [email protected]
Related commands
display dac report
dac report export
Use dac report export to configure report export parameters.
Use undo dac report export to delete report export parameters.
Syntax
dac report export period { day | hour | month | quarter | week | year } template template-name [ mail-address mail-address ]
undo dac report export period { day | hour | month | quarter | week | year } template template-name [ mail-address mail-address ]
Default
No report export parameters are configured.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
period: Specifies the type of the periodic report.
day: Specifies the daily report.
hour: Specifies the hourly report.
month: Specifies the monthly report.
quarter: Specifies the quarterly report.
week: Specifies the weekly report.
year: Specifies the annual report.
template template-name: Specifies the template name, a case insensitive string of 1 to 63 characters.
mail-address mail-address: Specifies the mail address to which the reports are exported. The mail address is a case sensitive string of 3 to 63 characters. If you do not specify this option, the reports are exported to the local device.
Usage guidelines
This command enables the device to periodically export the reports of the specified types.
To export reports of the same type or multiple types to multiple mail addresses, repeat this command.
If you do not specify the mail address for the undo command, all mail addresses are deleted.
Examples
# Configure the device to use template template1 to export reports to the address [email protected] every week.
<Sysname> system-view
[Sysname] dac report export period week template template1 mail-address [email protected]
Related commands
display dac report export
dac report export template
dac report export template
Use dac report export template to create a report export template and enter its view, or enter the view of an existing report export template.
Use undo dac report export template to delete a report export template.
Syntax
dac report export template template-name
undo dac report export template template-name
Default
No report export template exists.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
template-name: Specifies the name of a report export template. The name is a case insensitive string of 1 to 63 characters.
Usage guidelines
In a report export template, you can define the following items:
· Report language.
· Statistics contents in the report.
Examples
# Create a report export template named template1, and enter its view.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1]
Related commands
display dac report export template
dac report top
Use dac report top to specify the number of statistics entries in descending order to be analyzed for a report type.
Use undo dac report top to restore the default.
Syntax
dac report type { comparison | integrated | intelligent | summary } top number
undo dac report type { comparison | integrated | intelligent | summary } top
Default
Top 5 statistics entries are specified to be analyzed for a report type.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
comparison: Specifies the comparison report.
integrated: Specifies the integrated report.
intelligent: Specifies the intelligent report.
summary: Specifies the summary report.
top number: Specifies the number of statistics entries in descending order. The value range for the number argument is 5, 10, 15, 20, and 25.
Usage guidelines
This command takes effect only when report subscription settings are configured.
Use this command to specify the range of statistics to be analyzed by a report. For example, if you specify top 20 statistics entries for the summary report, the generated report will contain the analysis results only about these statistics entries from each service.
Examples
# Specify top 5 statistics entries for the comparison report.
<Sysname> system-view
[Sysname] dac report type comparison top 15
Related commands
dac report
display dac report
dac storage
Use dac storage to configure the data storage limits for a service.
Use undo dac storage to restore the default.
Syntax
dac storage service service-type service-name limit { hold-time time-value | usage usage-value | action { delete | log-only } }
undo dac storage service service-type service-name limit { hold-time | usage | action }
Default
The service data can be saved for a maximum of 365 days.
The data of each service can occupy up to 20% of the total storage space.
If the storage time or storage space usage limit is exceeded, the system deletes the expired or the oldest data.
Views
System view
Predefined user roles
network-admin
Parameters
service-type: Specifies the type of a service that is registered with the DAC. The service type name is a case-insensitive string. To view the supported service type, enter a question mark (?) for this argument.
service-name: Specifies the name of a service that is registered with the DAC. The service name is a case-insensitive string. To view the supported service name, enter a question mark (?) for this argument.
limit: Configures the data storage limits for a service.
hold-time time-value: Specifies the storage time limit in days. The value range is 1 to 65535. The storage time limit should be longer than the number of days that the oldest service data has been stored for.
usage usage-value: Specifies the percentage of the total storage space the service data can occupy. The value range is 1 to 100. The storage usage limit should be higher than the current storage usage of the service.
action: Specifies the action to take when a data storage limit is exceeded.
delete: Deletes data collected on the oldest dates and generates a log message. The data of the current date cannot be deleted.
log-only: Generates a log message only. When a storage limit is exceeded, old data are not deleted and new data cannot be saved.
Usage guidelines
The DAC periodically checks the data of each service to determine if the storage time or storage space usage limit is exceeded.
· If a storage limit is exceeded and the action is delete, the system deletes the expired or the oldest service data. A log will be generated to report the event.
· If a storage limit is exceeded and the action is log-only, the system generates a log message. New data will not be saved.
If you configure this command to set the storage time limit for a service multiple times, the most recent configuration takes effect. The same is true for setting the storage space limit or storage limit-violated action for a service. You can view the storage space usage of each service on the Web interface.
This command is supported only on the default context. For more information about contexts, see context configuration in Virtual Technologies Configuration Guide.
Examples
# Set the storage time limit, storage space limit, and the action to take when the limits are exceeded for the traffic service.
<Sysname> system-view
[Sysname] dac storage service dpi traffic limit hold-time 60
[Sysname] dac storage service dpi traffic limit usage 30
[Sysname] dac storage service dpi traffic limit action delete
dac traffic-statistic enable
Use dac traffic-statistic enable to enable real-time traffic statistics collection.
Use undo dac traffic-statistic enable to disable real-time traffic statistics collection.
Syntax
dac traffic-statistic { application | user } enable [ verbose ]
undo dac traffic-statistic { application | user } enable
Default
The real-time traffic statistics collection is disabled.
Views
System view
Predefined user roles
network-admin
context-admin
Parameters
application: Collects application traffic statistics in real time.
user: Collects user traffic statistics in real time.
verbose: Collects detailed traffic information in real time. If you do not specify this keyword, this command collects brief traffic information in real time.
Usage guidelines
To collect the traffic statistics in real time, you must first enable the session statistics collection. For more information about the collected session statistics, see session management in Security Configuration Guide.
The detailed information about user traffic that is collected in real time provides used applications on a per-user basis.
The detailed information about application traffic that is collected in real time provides user information on a per-application basis.
Repeat this command to enable multiple collections of real-time traffic statistics.
Enabling this feature will have an impact on the CPU performance of the device. Make sure you are fully aware of the impact before you enable this feature in high traffic scenarios.
Examples
# Enable the collection of detailed user traffic statistics in real time.
<Sysname> system-view
[Sysname] dac traffic-statistic user enable verbose
Related commands
display dac traffic-statistic
display dac email-server
Use display dac email-server to display the email server configuration of the DAC.
Syntax
display dac email-server
Views
Any view
Predefined user roles
network-admin
network-operator
context-admin
context-operator
Examples
# Display the email server configuration of the DAC.
<Sysname> display dac email-server
Mail server address : 2.2.2.2
Mail sender address : [email protected]
Authentication : Enable
secure-authentication : Enable
Username : lkx
password : ******
Table 1 Command output
Field |
Description |
Authentication |
Enabling status of the email client authentication. |
Secure-authentication |
Enabling status of the secure transmission of authentication credentials. |
Username |
Username for connecting to the email server. |
Password |
Password for connecting to the email server. |
display dac log-collect
Use display dac log-collect to display the log collection configuration for a service.
Syntax
display dac log-collect { all | service service-type service-name }
Views
Any view
Predefined user roles
network-admin
network-operator
context-admin
context-operator
Parameters
all: Specifies all types of services that are registered with the DAC. The DAC provides functions only for services that have registered with the DAC.
service-type: Specifies the type of a service that is registered with the DAC. The service type name is a case-insensitive string. To view the supported service type, enter a question mark (?) for this argument.
service-name: Specifies the name of a service that is registered with the DAC. The service name is a case-insensitive string. To view the supported service name, enter a question mark (?) for this argument.
Examples
# Display the log collection configuration for all services.
<Sysname> system-view
[Sysname] display dac log-collect all
Service type Service Status
Slot 1:
dpi audit Disabled
dpi ffilter Disabled
dpi threat Disabled
dpi traffic Enabled
dpi uflt Disabled
Table 2 Command output
Field |
Description |
Service |
Service name. |
Status |
Status of the log collection: Disabled or Enabled. |
Related commands
dac log-collect enable
display dac log-display
Use display dac log-display to display the configuration of the real-time log display.
Syntax
display dac log-display { all | service service-type service-name }
Views
Any view
Predefined user roles
network-admin
network-operator
context-admin
context-operator
Parameters
all: Specifies all types of services that are registered with the DAC. The DAC provides functions only for services that have registered with the DAC.
service-type: Specifies the type of a service that is registered with the DAC. The service type name is a case-insensitive string. To view the supported service type, enter a question mark (?) for this argument.
service-name: Specifies the name of a service that is registered with the DAC. The service name is a case-insensitive string. To view the supported service name, enter a question mark (?) for this argument.
Examples
# Display the configuration of the real-time log display.
<Sysname> system-view
[Sysname] display dac log-display syslog syslog
Service type Service Status
Slot 1:
syslog syslog Disabled
syslog cfglog Disabled
Table 3 Command output
Field |
Description |
Service |
Service name. |
Status |
Status of the log collection: Disabled or Enabled. |
Related commands
dac log-display enable
display dac report
Use display dac report to display report subscriber information.
Syntax
display dac report [ comparison | integrated | intelligent | summary ]
Views
Any view
Predefined user roles
network-admin
network-operator
context-admin
context-operator
Parameters
comparison: Specifies the comparison report.
integrated: Specifies the integrated report.
intelligent: Specifies the intelligent report.
summary: Specifies the summary report.
Usage guidelines
If you do not specify a report type, this command displays subscriber information for all report types.
Examples
# Display subscriber information for all report types.
<Sysname> display dac report
Total subscribers:4
Summary subscribers:1
Comparison subscribers:1
Intelligent subscribers:1
Integrated subscribers:1
Report type Language Top Subscriber email
Summary CH 20 [email protected]
Comparison CH 20 [email protected]
Intelligent EN 15 [email protected]
Integrated EN 25 [email protected]
Table 4 Command output
Field |
Description |
Total subscribers |
Total number of subscribers. |
Summary subscribers |
Number of subscribers for the summary report. |
Comparison subscribers |
Number of subscribers for the comparison report. |
Intelligent subscribers |
Number of subscribers for the intelligent report. |
Integrated subscribers |
Number of subscribers for the integrated report. |
Language |
Language used in the reports: · CH—Chinese. · EN—English. |
Top |
Range of statistics for a report type. |
Subscriber email |
Email address of a report subscriber. |
display dac report export
Use display dac report export to display report export configuration.
Syntax
display dac report export
Views
Any view
Predefined user roles
network-admin
network-operator
context-admin
context-operator
Examples
# Display report export configuration.
<Sysname> display dac report export
Mail address: [email protected]
Period: Week, Month, Year
Template name: hhh
Mail address: [email protected]
Period: Day
Template name: 111
Table 5 Command output
Field |
Description |
Mail-address |
Mail address to which the reports are exported. If no mail address is specified, this field displays a hyphen (-), and the reports are exported to the local device. |
Period |
Type of the periodic report: · hour—Hourly report. · day—Daily report. · week—Weekly report. · month—Monthly report. · quarter—Quarterly report. · year—Annual report. |
Template name |
Name of the report export template. |
Related commands
dac report export
display dac report export template
Use display dac report export template command to display report export templates.
Syntax
display dac report export template [ template-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
context-admin
context-operator
Parameters
template-name: Specifies the name the report export template. The name is a case insensitive string of 1 to 63 characters. If you do not specify a template name, this command exports all report export templates.
Examples
# Display all report export templates.
<Sysname> display dac report export template
Template name: template1
Language: English
Export service: lb-link
Statistics content: app
Link name: link1
Export service: lb-virtual-server
Statistics content: class
Virtual server: vs1
Table 6 Command output
Field |
Description |
Template name |
Name of the report export template. |
Language |
Language used by the report: · Chinese. · English. |
Export service |
Service that the report is about: · lb-link—Load balancing link. · lb-virtual-server—Load balancing virtual server. · lb-real-server—Load balancing real server. · lb-server-farm—Load balancing server farm. · lb-server-farm-member—Load balancing server farm member. |
Statistic content |
Statistics content. |
Link-name |
Load balancing link name. |
Server farm |
Name of a load balancing server farm. |
Real server |
Name of a load balancing real server or load balancing server farm member. |
Port |
Load balancing server farm member port. |
Virtual Server |
Load balancing virtual server name. |
display dac storage
Use display dac storage to display the data storage limit configuration for services.
Syntax
display dac storage [service-type service-name ]
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
service-type: Specifies the type of a service that is registered with the DAC. The service type name is a case-insensitive string. To view the supported service type, enter a question mark (?) for this argument.
service-name: Specifies the name of a service that is registered with the DAC. The service name is a case-insensitive string. To view the supported service name, enter a question mark (?) for this argument.
Usage guidelines
If you do not specify a service, this command displays the data storage limit configuration for all services.
This command is supported only on the default context. For more information about contexts, see context configuration in Virtual Technologies Configuration Guide.
Examples
# Displays the data storage limit configuration for all services.
<Sysname> display dac storage
Total services :25
Service type Service name Time limit (days) Usage limit
Action
syslog cfglog 365 20%
delete
lb virtualserver 365 20%
delete
lb overviewvs 365 20%
delete
sandbox log 365 20%
---- More ----
Table 7 Command output
Field |
Description |
Total services |
Total number of services. |
Time limit |
Storage time limit in days. |
Usage limit |
Storage space usage limit in percentage. |
Action |
Action to take when the storage time limit or space limit is exceed. · delete—Delete the oldest data, and generates a log message. · log-only—Generate a log message only. |
display dac traffic-statistic
Use display dac traffic-statistic to display the configuration of the real-time traffic statistics collection.
Syntax
display dac traffic-statistic [ application | user ]
Views
Any view
Predefined user roles
network-admin
network-operator
context-admin
context-operator
Parameters
application: Specifies the collection of the real-time application traffic statistics.
user: Specifies the collection of the real-time user traffic statistics.
Usage guidelines
If you do not specify any keyword, this command displays the configuration of the collection for all real-time traffic statistics.
Examples
# Displays the configuration of the real-time user traffic statistics collection.
<Sysname> system-view
[Sysname] display dac traffic-statistic user
Slot 1:
Type Status
User Enabled (verbose)
Table 8 Command output
Field |
Description |
Type |
Type of traffic collected in real time: · Application. · User. |
Status |
Status of the real-time traffic statistics collection: · Disabled—This feature is disabled. · Enabled (brief)—This feature is enabled, and the DAC collects brief traffic information. · Enabled (verbose)—This feature is enabled, and the DAC collects detailed traffic information. |
Related commands
dac traffic-statistic enable
export-service
Use export-service to create the statistics report view of a service and enter the view.
Use undo export-service to delete the configuration in the specified statistics report view.
Syntax
export-service { lb-link | lb-real-server | lb-server-farm | lb-server-farm-member | lb-virtual-server }
undo export-service { lb-link | lb-real-server | lb-server-farm | lb-server-farm-member | lb-virtual-server }
Views
Report export template view
Predefined user roles
network-admin
context-admin
Parameters
lb-link: Specifies the LB link statistics.
lb-real-server: Specifies the LB real server statistics.
lb-server-farm: Specifies the LB server farm statistics.
lb-server-farm-member: Specifies the LB server farm member statistics.
lb-virtual-server: Specifies the LB virtual server statistics.
Usage guidelines
In the report view of a service, you can specify the statistics contents to be included in the report.
Examples
# In report export template template1, enter the LB link statistics report view.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-link
[Sysname-dac-report-export-template-template1-service-lblink]
Related commands
statistics content (LB link statistics report view)
statistics content (LB real server statistics report view)
statistics content (LB server farm statistics report view)
statistics content (LB server farm member statistics report view)
statistics content (LB virtual server statistics report view)
statistics link
statistics real-server
statistics server-farm
statistics server-farm real-server
statistics virtual-server
language
Use language to specify the language used in exported reports.
Use undo language to restore the default.
Syntax
language { chinese | english }
undo language
Default
Chinese is used.
Views
Report export template view
Predefined user roles
network-admin
context-admin
Parameters
chinese: Specifies Chinese.
english: Specifies English.
Examples
# In report export template template1, specify English as the language used in exported reports.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] language english
statistics content (LB link statistics report view)
Use statistics content to specify the contents for the LB link statistics report.
Use undo statistics content to delete contents from the LB link statistics report.
Syntax
statistics content { abnormal-flow | app | connection-count | connection-rate | delay | packetloss | stability } *
undo statistics content { abnormal-flow | app | connection-count | connection-rate | delay | packetloss | stability } *
Default
No content is specified for the LB link statistics report.
Views
LB link statistics report view
Predefined user roles
network-admin
context-admin
Parameters
abnormal: Specifies abnormal traffic statistics.
app: Specifies application statistics.
connection-count: Specifies the connection count statistics.
connection-rate: Specifies the connection rate statistics.
delay: Specifies the delay statistics.
packetloss: Specifies the packet loss statistics.
stability: Specifies link state statistics.
Usage guidelines
This command is required for LB link statistics reports. If no contents are specified, no LB link statistics reports will be exported.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# In LB link statistics report view, specify the application statistics as the report content.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-link
[Sysname-dac-report-export-template-template1 statistics content app
statistics content (LB real server statistics report view)
Use statistics content to specify the contents for the LB real server statistics report.
Use undo statistics content to delete contents from the LB real server statistics report.
Syntax
statistics content { httpdelay | stability } *
undo statistics content { httpdelay | stability } *
Default
No content is specified for the LB real server statistics report.
Views
LB real server statistics report view
Predefined user roles
network-admin
context-admin
Parameters
httpdelay: Specifies the HTTP delay statistics. HTTP delay starts from when an HTTP packet is sent to when an HTTP response is received.
stability: Specifies the server stability statistics.
Usage guidelines
This command is required for LB real server statistics reports. If no contents are specified, no LB real server statistics reports will be exported.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# In LB real server statistics report view, specify the stability statistics as the report content.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-real-server
[Sysname-dac-report-export-template-template1-service-lbrs] statistics content stability
Related commands
statistics real-server (LB real server statistics report view)
statistics content (LB server farm member statistics report view)
Use statistics content to specify the contents for the LB server farm member statistics report.
Use undo statistics content to delete contents from the LB server farm member statistics report.
Syntax
statistics content { httpdelay | stability } *
undo statistics content { httpdelay | stability } *
Default
No content is specified for the LB server farm member statistics report.
Views
LB server farm member statistics report view
Predefined user roles
network-admin
context-admin
Parameters
httpdelay: Specifies the HTTP delay statistics. HTTP delay starts from when an HTTP packet is sent to when an HTTP response is received.
stability: Specifies the server farm member stability statistics.
Usage guidelines
This command is required for LB server farm member statistics reports. If no contents are specified, no LB server farm member statistics reports will be exported.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# In LB server farm member statistics report view, specify the stability statistics as the report content.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-server-farm-member
[Sysname-dac-report-export-template-template1-service-lbsfmem] statistics content stability
Related commands
statistics server-farm real-server (LB server farm member statistics report view)
statistics content (LB server farm statistics report view)
Use statistics content to specify the contents for the LB server farm statistics report.
Use undo statistics content to delete contents from the LB server farm statistics report.
Syntax
statistics content stability
undo statistics content stability
Default
No content is specified for the LB server farm statistics report.
Views
LB server farm statistics report view
Predefined user roles
network-admin
context-admin
Parameters
stability: Specifies the server farm stability statistics.
Usage guidelines
This command is required for LB server farm statistics reports. If no contents are specified, no LB server farm statistics reports will be exported.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# In LB server farm statistics report view, specify the stability statistics as the report content.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-server-farm
[Sysname-dac-report-export-template-template1-service-lbsf] statistics content stability
Related commands
statistics server-farm (LB server farm statistics report view)
statistics content (LB virtual server statistics report view)
Use statistics content to specify the content for the LB virtual link statistics report.
Use undo statistics content to delete content from the LB virtual server statistics report.
Syntax
statistics content { cache-policy-hit { count | traffic } * | class | compression | http-status-code | stability }*
undo statistics content { cache-policy-hit { count | traffic } * | class | compression | http-status-code | stability }*
Default
No content is specified for the LB virtual server statistics report.
Views
LB virtual server statistics report view
Predefined user roles
network-admin
context-admin
Parameters
cache-policy-hit: Specifies the cache policy hit statistics.
count: Specifies the statistics collection on matching count of the cache policy.
traffic: Specifies the statistics collection on matching traffic of the cache policy.
class: Specify the LB class. The report contains the packet matching statistics for LB classes.
compress: Specifies the traffic compression statistics.
http-status-code: Specifies the HTTP status code statistics.
stability: Specifies the virtual server stability statistics.
Usage guidelines
This command is required for LB virtual server statistics reports. If no content is specified, no LB virtual server statistics reports will be exported.
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# In LB virtual server statistics report view, specify the LB classes as the content in LB virtual server statistics report.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-virtual-server
[Sysname-dac-report-export-template-template1-service-lbvs] statistics content class
statistics link
Use statistics link to specify an LB link for the LB link statistics report.
Use undo statistics link to delete an LB link from the LB link statistics report.
Syntax
statistics link name
undo statistics link name
Default
No LB link is specified for the LB link statistics report.
Views
LB link statistics report view
Predefined user roles
network-admin
context-admin
Parameters
name: Specifies the name of an LB link, a case insensitive string of 1 to 63 characters.
Usage guidelines
This command allows the DAC to export statistics report for the specified LB links.
Repeat this command to specify multiple object links.
Examples
# In LB link statistics report view, specify link1 and link2 as the statistics objects.
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-link
[Sysname-dac-report-export-template-template1-service-lblink] statistics link link1
[Sysname-dac-report-export-template-template1-service-lblink] statistics link link2
Related commands
statistics content (LB link statistics report view)
statistics real-server
Use statistics real-server to specify a real server for the LB real server statistics report.
Use undo statistics real-server to delete a real server from the LB real server statistics report.
Syntax
statistics real-server real-server-name
undo statistics real-server real-server-name
Default
No LB real server is specified for the LB real server statistics report.
Views
LB real server statistics report view
Predefined user roles
network-admin
context-admin
Parameters
real-server-name: Specifies the name of an LB real server, a case insensitive string of 1 to 63 characters.
Usage guidelines
This command allows the DAC to export statistics report for the specified LB real servers.
Repeat this command to specify multiple LB real servers.
Examples
# Specify real servers rs1 and rs2 as the statistics objects.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-real-server
[Sysname-dac-report-export-template-template1-service-lbrs] statistics real-server rs1
[Sysname-dac-report-export-template-template1-service-lbrs] statistics real-server rs2
Related commands
statistics content (LB real server statistics report view)
statistics server-farm
Use statistics server-farm to specify a server farm for the LB server farm statistics report.
Use undo statistics server-farm to delete a server farm from the LB server farm statistics report.
Syntax
statistics server-farm server-farm-name
undo statistics server-farm server-farm-name
Default
No LB server farm is specified for the LB server farm statistics report.
Views
LB server farm statistics report view
Predefined user roles
network-admin
context-admin
Parameters
server-farm-name: Specifies the name of an LB server farm, a case insensitive string of 1 to 63 characters.
Usage guidelines
This command allows the DAC to export statistics report for the specified LB server farms.
Repeat this command to specify multiple LB server farms.
Examples
# Specify server farms sf1 and sf2 as the statistics objects.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-server-farm
[Sysname-dac-report-export-template-template1-service-lbsf] statistics server-farm sf1
[Sysname-dac-report-export-template-template1-service-lbsf] statistics server-farm sf2
Related commands
statistics content (LB server farm statistics report view)
statistics server-farm real-server
Use statistics server-farm real-server to specify a server farm member for the LB server farm member statistics report.
Use undo statistics server-farm real-server to delete a server farm member from the LB server farm member statistics report.
Syntax
statistics server-farm server-farm-name real-server real-server-name port port-number
undo statistics server-farm server-farm-name real-server real-server-name port port-number
Default
No LB server farm member is specified for the LB server farm member statistics report.
Views
LB server farm member statistics report view
Predefined user roles
network-admin
context-admin
Parameters
server-farm server-farm-name: Specifies the name of an LB server farm, a case insensitive string of 1 to 63 characters.
real-server real-server-name: Specifies the name of an LB server farm member, a case insensitive string of 1 to 63 characters.
port port-number: Specifies an LB server farm member port, in the range of 0 to 65535.
Usage guidelines
This command allows the DAC to export statistics report for the specified LB server farm member ports.
Repeat this command to specify multiple LB server farms.
Examples
# Specify port 5000 on member rs1 of LB server farm sf as the statistics object.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-server-farm-member
[Sysname-dac-report-export-template-template1-service-lbsfmem] statistics server-farm sf real-server rs1 port 5000
Related commands
statistics content (LB server farm member statistics report view)
statistics virtual-server
Use statistics virtual-server to specify a virtual server for the LB virtual server statistics report.
Use undo statistics virtual-server to delete a virtual server from the LB virtual server statistics report.
Syntax
statistics virtual-server name
undo statistics virtual-server name
Default
No LB virtual server object is specified for the LB virtual server statistics report.
Views
LB virtual server statistics report view
Predefined user roles
network-admin
context-admin
Parameters
Name: Specifies the name of the virtual server, a case insensitive of 1 to 63 characters.
Usage guidelines
This command allows the DAC to export statistics report for the specified LB virtual server.
Repeat this command to specify multiple LB virtual servers.
Examples
# In LB virtual server statistics report view, specify vs1 as the statistics object.
<Sysname> system-view
[Sysname] dac report export template template1
[Sysname-dac-report-export-template-template1] export-service lb-virtual-server
[Sysname-dac-report-export-template-template1-service-lbvs] statistics virtual-server vs1
Related commands
statistics content (LB virtual server statistics report view)