R3204P16-HP Load Balancing Module System Maintenance Command Reference-6PW101

39
Parameters
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.
To avoid collision with general UDP port numbers, UDP port numbers in the range 1025 to 65535
are recommended.
You can select at most two log servers from three types of log servers 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 is the same with that of the currently effective
configuration, but other information of the two configurations is different, then the new
configuration will overwrite the previous one.
Examples
# Export flow logs to the log server with IP address 1.2.3.6, and port number 2000.
<Sysname> system-view
[Sysname] userlog flow export host 1.2.3.6 2000
userlog flow export source-ip
Syntax
userlog flow export source-ip ip-address
undo userlog flow export source-ip
View
System view
Default level
2: System level
Parameters
ip-address: Source IP address of a flow logging packet.
Description
Use the userlog flow export source-ip command to configure the source IP address of flow logging
packets.
Use the undo userlog flow export source-ip command to restore the default.
By default, the source IP address of flow logging packets is the IP address of the egress interface of the
packets.