nat64 time local

Function

The nat64 time local command enables a device to display the local time in logs.

The undo nat64 time local command enables a device to display the UTC time in logs.

By default, a device displays the UTC time in logs.

This command is supported only on the NetEngine 8000 F1A.

Format

nat64 time local

undo nat64 time local

Parameters

None

Views

Flexible log template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nat write

Usage Guidelines

Usage Scenario

A NAT64 syslog log format can be flexible configured for a customer-specific log system. To enable a device to display the local time in logs, run the nat64 time local command.

Prerequisites

Create a flexible NAT log template and enter the flexible NAT log template view.

Example

# Enable a device to display the local time in logs in the flexible log template view.
<HUAWEI> system-view
[~HUAWEI] nat syslog flexible template session
[~HUAWEI-nat-syslog-template] nat64 time local
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >