HP VPN Firewall Appliances System Management and Maintenance Configuration Guide

99
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.
Clear user logs in the cache. reset userlog flow logbuffer Available in user view.
User logging configuration example
Network requirements
As shown in Figure 35, configure user logging on the firewall so that the log server can monitor the user's
access to the network.
Figure 35 Network diagram
Configuration procedure
# Configure IP addresses for the interfaces according to the network diagram. Make sure that the devices
can reach each other. (Details not shown.)
# Set the user logging version to 3.0.
<Firewall> system-view
[Firewall] userlog flow export version 3
# Export user logs to the log server with IP address 1.2.3.6:2000.
[Firewall] userlog flow export host 1.2.3.6 2000
# Configure the source IP address of UDP packets carrying user logs as 2.2.2.2.
[Firewall] userlog flow export source-ip 2.2.2.2
Configuration verification
# Display the configuration and statistics about user logs.
<Firewall> display userlog export
flow: