HP Comware 5 Debug Manual Vol 3

debugging userlog nat
Use debugging userlog nat to enable NAT logging debugging.
Use undo debugging userlog nat to disabled NAT logging debugging.
Syntax
debugging userlog nat
undo debugging userlog nat
Default
NAT logging debugging is disabled.
Views
User view
Default command level
1: Monitor level
Usage guidelines
NOTE:
Support for this command depends on the device model.
Table 4 describes output fields and messages for the debugging userlog nat command.
Table 88 Output from the debugging userlog nat command
Field
Description
Export-host address or syslog not configured.
The NAT logging function does not function correctly
because either of the following reasons:
No log server is specified on the device.
The device is not configured to send logs to the
information center.
The log information is output in UDP packets.
Forced to output NAT logs.
The system is forced to output a certain number of NAT
logs when the number of NAT logs exceeds 250000.
Examples
# Enable NAT logging debugging on the NAT device. When NAT logging is enabled but no log server
is specified on the device, output similar to the following example is generated:
<Sysname> debugging userlog nat
*Dec 6 15:36:38:956 2010 Sysname S8505 USERLOG/8/NAT:Slot=3;
Export-host address or syslog is not configured.
// No log server is configured or the device is not configured to send logs to the information center.
# Enable NAT logging debugging on the NAT device. Output similar to the following example is
generated under the conditions that NAT logging is enabled and a log server is specified:
<Sysname> debugging userlog nat
*Dec 6 15:36:39:03 2010 Sysname S8505 USERLOG/8/NAT:Slot=3;
Exporting a UDP packet with 2 logs from slot 3.
116