510
undo
userlog
flow
export load-balancing
Default
Load balancing is disabled. The device sends a copy of each flow log entry to all available log hosts.
Views
System view
Predefined user roles
network-admin
Usage guidelines
In load balancing mode, flow log entries are distributed among log hosts based on the source IP
addresses (before NAT) that are recorded in the entries. The flow log entries generated for the same
source IP address are sent to the same log host. If a log host goes down, the flow logs sent to it will
be lost.
Examples
# Enable load balancing for flow logging.
<Sysname> system-view
[Sysname] userlog flow export load-balancing
Related commands
userlog flow export host
userlog flow export source-ip
Use
userlog flow export source-ip
to specify a source IP address for flow log packets.
Use
undo userlog flow export source-ip
to restore the default.
Syntax
userlog
flow
export
source-ip
{
ip-address
|
ipv6 ipv6-address
}
undo
userlog
flow
export
source-ip
[
ipv6
]
Default
The source IP address of flow log packets is the IP address of their outgoing interface.
Views
System view
Predefined user roles
network-admin
Parameters
ip-address
: Specifies an IPv4 address.
ipv6
: Specifies an IPv6 address.