R3204P16-HP Load Balancing Module Network Management Command Reference-6PW101

85
Description
Use the display userlog export command to view the configuration and statistics of logs output to the log
server.
This command can display all types of logs output to the log server, but it only displays NAT logs in this
document.
Related commands: reset userlog nat export.
Examples
# View the configuration and statistics of NAT logs.
<Sysname> display userlog export
flow:
No userlog export is enabled
Table 23 Output description
Field Descri
p
tion
flow Flow log information to be displayed
No userlog export is enabled
NAT logs cannot be exported. The reason may be:
The NAT log function is not enabled.
The NAT log function is enabled, but NAT logs are
configured to be exported to the information center.
The NAT log function is enabled, but the IP address and
the UDP port number of the log server are not configured.
nat address-group
Syntax
nat address-group group-number start-address end-address
undo nat address-group group-number
View
System view
Default level
2: System level
Parameters
group-number: Index of the address pool, in the range of 0 to 255.
start-address: Start IP address of the address pool.
end-address: End IP address of the address pool. The end-address cannot be smaller than the
start-address.
Description
Use the nat address-group command to configure an address pool for NAT.
Use the undo nat address-group command to remove an address pool.
An address pool consists of a set of consecutive IP addresses. When an internal packet is to be
forwarded to the external network, an address is selected from the pool to replace the original source