F3215-HP Load Balancing Module System Maintenance Command Reference-6PW101
48
You can specify at most two log servers of the same type or different types for a device. There are three
types of log servers, the VPN log server, the IPv4 log server, and the IPv6 log server. If you have already
specified two servers, you need to delete one to specify a new one. If you specify a new server that has
the same IP address as but has other information different from the current server, the new configuration
overwrites the previous one.
Examples
# Export user logs to port 2000 on the IPv4 log server 1.2.3.6.
<Sysname> system-view
[Sysname] userlog flow export host 1.2.3.6 2000
Related commands
userlog flow export host ipv6
userlog flow export host ipv6
Use userlog flow export host to configure the IPv6 address and UDP port number of the log server.
Use the undo userlog flow export host command to remove the configuration.
Syntax
userlog flow export [ vpn-instance vpn-instance-name ] host ipv6 ipv6-address udp-port
undo userlog flow export [ vpn-instance vpn-instance-name ] host ipv6 ipv6-address
Default
The IPv6 address and UDP port number of the log server are not configured.
Views
System view
Default command level
2: System level
Parameters
vpn-instance vpn-instance-name: Specifies a VPN instance by its name, a case-sensitive string of 1 to 31
characters. If the log server is on the public network, do not specify this option.
ipv6-address: Specifies the IPv6 address of the log server.
udp-port: Specifies the UDP port number of the log server, in the range of 0 to 65535.
Usage guidelines
To output user logs in UDP packets to a server, you must specify the server. Otherwise user logs cannot
be exported.
To avoid collision with general UDP port numbers, use UDP port numbers in the range of 1025 to 65535.
The specified VPN instance must have been created. Otherwise packets delivery fails.
You can specify at most two log servers of the same type or different types for a device. There are three
types of log servers, the VPN log server, the IPv4 log server, and the IPv6 log server. If you have already
specified two servers, you need to delete one to specify a new one. If you specify a new server that has
the same IP address as but has other information different from the current server, the new configuration
overwrites the previous one.