R3303-HP HSR6800 Routers Network Management and Monitoring Configuration Guide

180
Ste
p
Command
Remarks
2. Configure the device to
timestamp flow logs in the
local time.
userlog flow export timestamps
localtime
By default, flow logs are time
stamped in the Coordinated
Universal Time (UTC).
Flow logs exported to the
information center are always time
stamped in the local time,
regardless of this configuration.
Displaying and maintaining flow logging
Task Command
Remarks
Display the configuration and
statistics about flow logging.
display userlog export slot
slot-number [ | { begin | exclude |
include } regular-expression ]
Available in any view.
Clear statistics of all logs.
reset userlog flow export slot
slot-number
Available in user view.
Clear flow logs in the cache.
reset userlog flow logbuffer slot
slot-number
Available in user view.
Flow logging configuration examples
Configuring flow logging on the 6602 router
Network requirements
As shown in Figure 61, configure flow logging on the device so that the log server can monitor the user's
access to the network.
Figure 61 Network diagram
IP network
169.1.1.1/24
User
169.1.1.2/24
1.1.1.1/24 1.1.1.4/24 1.2.3.1/24
Log server
1.2.3.6/24
Traffic
Logs Logs Logs
Router
Loop0
2.2.2.2/24