264Flow log configuration exampleNetwork requirementsAs shown in Figure 78, configure flow log on the device to send flow log entries generated for the userto the log host.Figure 78 Network diagramConfiguration procedure# Configure IP addresses, as shown in the network diagram. Make sure the device and the log host canreach each other. (Details not shown.)# Enable NAT logging. system-view[Device] nat log enable# Enable NAT logging for session establishment events, session removal events, and active flows.[Device] nat log flow-begin[Device] nat log flow-end[Device] nat log flow-active 10# Set the flow log version to 3.0.[Device] userlog flow export version 3# Specify the log host at 1.2.3.6 as the destination for flow log export. Set the UDP port number to 2000.[Device] userlog flow export host 1.2.3.6 port 2000# Specify 2.2.2.2 as the source IP address for flow log packets.[Device] userlog flow export source-ip 2.2.2.2[Device] quitVerifying the configuration# Display the flow log configuration and statistics. display userlog export