R3303-HP HSR6800 Routers Layer 3 - IP Services Command Reference

Table Of Contents
127
Views
Any view
Default command level
1: Monitor level
Parameters
slot slot-number: Displays NAT log information for the interface card specified by the slot number. (In
standalone mode.)
chassis chassis-number slot slot-number: Displays NAT log information for a card in an IRF member
device. The chassis-number argument represents the IRF member ID of the device, and the slot-number
argument represents the slot number of the card on the device. (In IRF mode.)
|: 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
This command can display all types of logs output to the log server, but it only displays NAT logs in this
section.
Examples
# Display the configuration and statistics of the NAT logs for the card in slot 2.
<Sysname> display userlog export slot 2
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 : test
Total Logs/UDP packets exported : 0/0
Logs in buffer : 0
Table 32 Command output
Field Descri
p
tion
flow Flow log information to be displayed.
Export Version 1 logs to log server NAT logs of version 1 are exported to the log server.
Source address of exported logs
Source address of exported NAT logs. If no source IP
address is configured, this field is not displayed.
Address of log server
Log server address, including the IP address and port
number.
Total Logs/UDP packets exported
Total number of the logs sent and that of the UDP packets
carrying NAT logs. The term "UDP packets" refers to the UDP
packets carrying NAT logs. A UDP packet can carry multiple
pieces of NAT logs.