You can configure the NAT64 log function to record NAT operation information in real time, which strengthens device maintainability.
NAT64 logs are system information generated by a NAT64 device during NAT64 translation. The information contains basic user information and NAT64 translation information. The logs record internal users' access to external networks. When internal users access an external network through a NAT64 device, they share a public IP address. For this reason, the users accessing the external network cannot be located. The log function helps trace and record internal users' access to external networks in real time, enhancing network maintainability.
The system view is displayed.
The NAT64 instance view is displayed.
The NAT64 session log function is enabled.
A NAT64 log server is created.
Run quit
Return to the system view.
(Optional) Run nat64 time local
The time in syslogs is configured as the local time.
The end time, start time, or timestamp in the logs is set to the local time or UTC time.
The time format configured using the nat64 time command takes precedence over that configured using the nat64 time local command in the flexible log template view. If the nat64 time command is run, the time format of the end time, start time, or timestamp takes effect according to the configured format. If the nat64 time command is not configured, the nat64 time local command takes effect. If neither the nat64 time nor nat64 time local command is run, the default UTC time takes effect.
Enter the NAT64 flexible flow log template view and run the nat64 position command to configure a NAT64 flexible flow log template.
Run quit
Return to the system view.
The configuration is committed.