R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

181
Configuration procedure
# Configure IP addresses for the interfaces according to the network diagram. Make sure the devices can
reach each other. (Details not shown.)
# Set the flow logging version to 3.0.
<Router> system-view
[Router] userlog flow export version 3
# Export flow logs to the log server with IP address 1.2.3.6:2000.
[Router] userlog flow export 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.
<Router> display userlog export
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 : 112/87
Logs in buffer : 6
Configuring flow logging on the
HSR6602/6604/6608/6616 router
Network requirements
As shown in Figure 62, configure flow logging on the router so the log server can monitor the user's
access to the network.
Figure 62 Network diagram
IP network
169.1.1.1/24
User
169.1.1.2/24
1.1.1.1/24 1.1.1.4/24 1.2.3.1/24
Log server
1.2.3.6/24
Traffic
Logs Logs Logs
Router
Loop0
2.2.2.2/24