F3215-HP Load Balancing Module System Maintenance Command Reference-6PW101

45
Log management commands
display userlog export
Use display userlog export to view the configuration and statistics for user logs exported to the log server.
Syntax
display userlog export [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see System Management Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case sensitive string of 1 to 256 characters.
Usage guidelines
Before using this command, configure the IP address and UDP port number of the log server with the
userlog flow export host command. Otherwise, the system may prompt you "No userlog export is
enabled".
Examples
# View the user log configuration and statistics.
<Sysname> display userlog export
flow:
Export Version 1 logs to log server : enabled
Source address of exported logs : 1.1.1.1
Address of log server : 2.2.3.3 (port: 2000)
VPN-instance : abc
Total logs/UDP packets exported : 0/0
Address of log server : 2.2.4.3 (port: 2000)
Total logs/UDP packets exported : 0/0
Logs in buffer : 0
Table 12 Command output
Field Descri
p
tion
flow User log configuration and statistics.