R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
95
View
User view
Default level
2: System level
Parameters
None
Description
Use the reset userlog flow logbuffer command to clear flow logs in the cache.
Flow logs are saved in the cache before being exported to the information center or log server.
CAUTION:
Clearin
g
flow lo
g
s in the cache causes the loss of lo
g
information, so you are recommended not to clear
the cache unless you are sure you want to clear it.
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 to which the flow logging server belongs, where
vpn-instance-name is a case-sensitive string of 1 to 31 characters. If the flow logging server is on the
public network, do not specify this keyword and argument combination.
ipv4-address: IPv4 address of flow logging server, a valid unicast IPv4 address but not a loopback
address.
udp-port: UDP port number of flow logging server, which ranges from 0 to 65535.
Description
Use the userlog flow export host command to configure the IPv4 address and UDP port number of the
log server.
Use the undo userlog flow export host command 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.