R3721-F3210-F3171-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
118
Default level
2: System level
Parameters
None
Description
Use reset userlog flow logbuffer to clear flow logs in the cache.
Flow logs are saved in the cache before being exported to the information center or log server.
This command results in loss of log information. Use this command with caution.
Examples
# Clear flow logs in the cache.
<Sysname> reset userlog flow logbuffer
userlog flow export host
Syntax
userlog flow export [ vpn-instance vpn-instance-name ] host ipv4-address udp-port
undo userlog flow export [ vpn-instance vpn-instance-name ] host ipv4-address
View
System view
Default level
2: System level
Parameters
vpn-instance vpn-instance-name: Specifies the VPN by its name, a case-sensitive string of 1 to 31
characters. If the flow logging server is on the public network, do not specify this option.
ipv4-address: Specifies the IPv4 address of the flow logging server, a valid unicast IPv4 address but not
a loopback address.
udp-port: Specifies the UDP port number of the flow logging server, in the range of 0 to 65535.
Description
Use userlog flow export host to configure the IPv4 address and UDP port number of the log server.
Use undo userlog flow export host to remove the configuration.
By default, the IPv4 address and UDP port number of the log server are not configured.
If you configure to output the flow logs through UDP packets, the flow logging server must be configured,
otherwise flow logs cannot be exported.
To avoid collision with general UDP port numbers, use a UDP port number in the range of 1025 to
65535.
The specified VPN instance must have been created. Otherwise packets delivery fails.
You can select at most two log servers from three types of log servers (which are flow logging server in
a VPN and IPv4 flow logging server) to receive flow 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