511
Examples
# Specify 1.2.1.2 as the source IP address for flow log packets.
<Sysname> system-view
[Sysname] userlog flow export source-ip 1.2.1.2
Related commands
userlog flow export host
userlog flow export timestamp localtime
Use
userlog flow export timestamp localtime
to configure the device to use the local time in the
timestamp of flow logs.
Use
undo userlog flow export timestamp localtime
to restore the default.
Syntax
userlog flow export timestamp localtime
undo userlog flow export timestamp localtime
Default
The device uses the UTC time in the timestamp of flow logs.
Views
System view
Predefined user roles
network-admin
Usage guidelines
The device uses either the local time or the UTC time in the timestamp of flow logs.
•
UTC
time
—S•
Local
time
—Standard GMT plus or minus the time zone offset.
The time zone offset can be configured by using the
clock timezone
command. For more
information, see
Fundamentals Command Reference
.
Examples
# Configure the device to use the local time in the timestamp of flow logs.
<Sysname> system-view
[Sysname] userlog flow export timestamp localtime
userlog flow export version
Use
userlog flow export version
to set the flow log version.
Use
undo userlog flow export version
to restore the default.