R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Configuration Guide-6PW101

83
To export user logs to an IPv4 log server:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the IPv4 address
and UDP port number of the
log server.
userlog flow export [ vpn-instance
vpn-instance-name ] host ipv4-address udp-port
Not configured by
default.
To export user logs to an IPv6 log server:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Configure the IPv6 address
and UDP port number of the
log server.
userlog flow export [ vpn-instance
vpn-instance-name ] host ipv6
ipv6-address udp-port
Not configured by default.
NOTE:
You can select at most two log servers from three types of log servers (which are user logging server in a
V
PN, IPv4 user logging server, and IPv6 user logging server) to receive user logs for each device. If you
specify two log servers for a device, the servers can be of the same type or of different types. If you have
already specified two servers, you need to delete an existing one to specify a new one. If in a new
configuration, the IP address is the same with that of the currently effective configuration, but other
information of the two configurations is different, then the new configuration will overwrite the previous
one.
2. Exporting user logs to the information center
To export user logs to the information center:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Export user logs to
information center.
userlog flow syslog
User logs are exported to the log
server by default.
NOTE:
Exporting user logs to the information center takes up storage space of the device, so adopt this expor
t
approach when there are a small amount of logs.
When the user logs are exported to the information center, the severity level of the lo
g
s is informational,
namely, general messages of the device.
Displaying and maintaining user logging
Task Command
Remarks
Display the configuration and
statistics about user logging.
display userlog export [ | { begin |
exclude | include }
regular-expression ]
Available in any view
Clear statistics about user logging. reset userlog flow export Available in user view