nat time local

Function

The nat time local command configures the time displayed in logs as the local time.

The undo nat time local command cancels the time displayed in logs as the local time.

By default, the time displayed in logs is the UTC time.

This command is supported only on the NetEngine 8000 F1A.

Format

nat time local

undo nat 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

To configure the time displayed in syslogs as the local time, run the nat time local command.

Prerequisites

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

Example

# Configure the time displayed in logs as the local time.
<HUAWEI> system-view
[~HUAWEI] nat syslog flexible template session
[~HUAWEI-nat-syslog-template] nat time local
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >