#
// Enable the NAT log to be sent to the XLog server 10.153.43.106 at UDP port 9021 which is different with Syslog
userlog nat export host 10.153.43.106 9021
#
// The acl for NAT
acl number 2000
rule 0 permit source 10.153.43.0 0.0.0.255
#
// The interface connects to the Intranet
interface GigabitEthernet0/0
port link-mode route
ip address 10.153.43.112 255.255.255.0
#
// The interface connects to the Internet
interface GigabitEthernet0/1
port link-mode route
// Enable the traffic defined by ACL 2000 to be translated by NAT
nat outbound 2000
ip address 1.2.0.1 255.255.255.252
#
// Enable the NAT log function
nat log enable
// The NAT log will be created as well as the NAT session created
nat log flow-begin
// Insert the NAT log every 10 minutes when the NAT session alive
nat log flow-active 10
# |