367
To do…
Command…
Remarks
1.
Enter system view.
system-view
—
2.
Specify the flow log version.
userlog flow export version
version-number
Optional.
1.0
by default.
For more information about
flow log commands and
functions, see
Network
Management and Monitoring
Configuration Guide.
.
3.
Specify the source IP address for
UDP packets carrying flow logs.
userlog flow export
source-ip
ip-address
Optional.
IP address of the interface
sending UDP packets by
default.
4.
Specify the IP
address and UDP
port number of the
flow log server.
On a
centralized
device
userlog
flow
export
[
vpn-
instance
vpn-instance-name
]
host
ip-address udp-port
Required.
Not specified by default.
On a
distributed
device
userlog
flow export
slot
slot-
number
[
vpn-instance
vpn-
instance-name
]
host
ip-
address udp-port
5.
Specify to export flow logs to the
information center.
userlog flow syslog
Optional.
Flow logs are exported to the
flow log server by default.