R0106-HP MSR Router Series Layer 3 - IP Services Command Reference(V7)

166
Related commands
display nat all
display nat log
nat log enable
nat log port-block-withdraw
Use nat log port-block-withdraw to enable NAT444 user logging for port block withdrawal.
Use undo nat log port-block-withdraw to disable NAT444 user logging for port block withdrawal.
Syntax
nat log port-block-withdraw
undo nat log port-block-withdraw
Default
NAT444 user logging is disabled for port block withdrawal.
Views
System view
Predefined user roles
network-admin
Usage guidelines
Enable NAT logging before you enable NAT444 user logging for port block withdrawal.
For static NAT444, the NAT444 gateway generates a user log when all connections from a private IP
address are disconnected.
For dynamic NAT444, the NAT444 gateway generates a user log when all the following conditions are
met:
All connections from a private IP address are disconnected.
The port blocks (including the extended ones) assigned to the private IP address are withdrawn.
The corresponding mapping entry is deleted.
Examples
# Enable NAT444 user logging for port block withdrawal.
<Sysname> system-view
[Sysname] nat log port-block-withdraw
Related commands
display nat all
display nat log
nat log enable
nat mapping-behavior
Use nat mapping-behavior to configure the mapping behavior mode for PAT.
Use undo nat mapping-behavior to restore the default.