R3102-R3103-HP 6600/HSR6600 Routers Network Management and Monitoring Command Reference
230
Flow logging configuration commands
display userlog export
Use display userlog export to view the configuration and statistics for flow logs exported to the log
server.
Syntax
display userlog export slot slot-number [ | { begin | exclude | include } regular-expression ]
Views
Any view
Default command level
1: Monitor level
Parameters
slot slot-number: Specifies a card by its slot number.
|: Filters command output by specifying a regular expression. For more information about regular
expressions, see Fundamentals Configuration Guide.
begin: Displays the first line that matches the specified regular expression and all lines that follow.
exclude: Displays all lines that do not match the specified regular expression.
include: Displays all lines that match the specified regular expression.
regular-expression: Specifies a regular expression, a case sensitive string of 1 to 256 characters.
Usage guidelines
The following matrix shows the option and router compatibility:
Option 6602 HSR6602 6604/6608/6616
slot slot-number No Yes Yes
Before using this command, configure the IP address and UDP port number of the log server with the
userlog flow export host command. Otherwise, the system might prompt you "No userlog export is
enabled".
Examples
# View the flow logging configuration and statistics.
<Sysname> display userlog export
flow:
Export Version 1 logs to log server : enabled
Source address of exported logs : 1.1.1.1
Address of log server : 2.2.3.3 (port: 2000)
VPN-instance : abc
Total logs/UDP packets exported : 0/0
Address of log server : 2.2.4.3 (port: 2000)










