R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

182
Configuration procedure
# Set the flow logging version to 3.0.
<Router> system-view
[Router] userlog flow export version 3
# Export flow logs of the interface card in slot 2 to the log server with IP address 1.2.3.6:2000.
[Router] userlog flow export slot 2 host 1.2.3.6 2000
# Configure the source IP address of UDP packets carrying flow logs as 2.2.2.2.
[Router] userlog flow export source-ip 2.2.2.2
Configuration verification
# Display the configuration and statistics about flow logs of the interface card in slot 2.
<Router> display userlog export slot 2
nat:
No userlog export is enabled
flow:
Export Version 3 logs to log server : enabled
Source address of exported logs : 2.2.2.2
Address of log server : 1.2.3.6 (port: 2000)
total Logs/UDP packets exported : 128/91
Logs in buffer : 10
Troubleshooting flow logging
Symptom 1: No flow log is exported
Analysis: No export approach is specified.
Solution: Configure flow logging to export flow logs to the information center or to the log server.
Symptom 2: Flow logs cannot be exported to log server
Analysis: Both of the export approaches are configured.
Solution: Restore to the default, and then configure the IP address and UDP port number of the log
server.