H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – NAT, Netstream, Policy Routing
H3C S7500 Series Ethernet Switches Chapter 1
NAT Configuration Commands
1-22
Examples
# Display the configuration of NAT logging.
<H3C> display ip userlog export slot 6
NAT:
IP userlog export is not enabled
Version 1 export is enabled
Export logs to 0.0.0.0 (Port: 0)
(DEFAULT)Export logs to 0.0.0.0 (Port: 0)
Export using source address 0.0.0.0
IP userlog flowbegin mode is not enabled
IP userlog active time: 0 minutes
0 logs exported in 0 udp datagrams
0 logs in 0 udp datagrams failed to output
0 entries buffered currently
1.2.2 ip userlog nat slot
Syntax
ip userlog nat slot slot-number acl acl-number
undo ip userlog nat slot slot-number
View
System view
Parameters
slot-number: Slot number of an LPU.
acl-number: Index of an ACL, in the range from 2000 to 3999.
Description
Use the ip userlog nat slot slot-number acl command to enable NAT logging and
configure NAT logging ACL, which defines what packets’ information will be logged.
Use the undo ip userlog nat slot command to disable NAT logging.
By default, NAT logging is disabled for any LPU.
Examples
# Enable NAT logging on the LPU in slot 3, and use ACL 2000 as the logging ACL.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] ip userlog nat slot 3 acl 2000