2041

Parameter ip-address: IP address of the NAT log server. The address must be a valid unicast IP address and cannot be a loopback address.

udp-port: UDP port number of the NAT log server, ranging from 0 to 65535.

Description Use the userlog nat export host command to configure the IP address and

UDP port number of the NAT log server that receives NAT logs.

Use the undo userlog nat export host command to restore the default setting.

By default, no IP address or UDP port number of the NAT log server is configured.

Note that:

You must configure the NAT log server to successfully export NAT logs in UDP packets.

You are recommended to use a UDP port number greater than 1024 to avoid conflicting with common UDP port numbers.

Related command: userlog nat export source-ip

Example # Export NAT logs to the NAT log server whose IP address is 169.254.1.1:2000.

<Sysname> system-view

[Sysname] userlog nat export host 169.254.1.1 2000

userlog nat export source-ip

Syntax userlog nat export source-ip ip-address

undo userlog nat export source-ip

View System view

Parameter ip-address: Source IP address of the exported UDP packets.

Description Use the userlog nat export source-ipcommand to set the source IP address of the UDP packets that carry NAT logs.

Use the undo userlog nat export source-ipcommand to restore the default.

By default, the source IP address of the UDP packets that carry NAT logs is the IP address of the interface that sends the UDP packets.

Related command: userlog nat export host.

Example # Set 169.254.1.2 as the source IP address of the UDP packets that carry NAT logs.

<Sysname> system-view

[Sysname] userlog nat export source-ip 169.254.1.2

Page 2041
Image 2041
3Com MSR 50, MSR 30 manual Userlog nat export source-ip, Related command userlog nat export source-ip, 2041