< Home

nat port-block syslog header default timestamp

Function

The nat port-block syslog header default timestamp command sets the timestamp type for the port block syslog header.

Format

nat port-block syslog header default timestamp { utc | local }

Parameters

Parameter Description Value
utc

Indicates the UTC time.

-

local

Indicates the local time (subject to time zone changes).

-

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The default timestamp type is UTC.

Example

# Set the timestamp type of the port block syslog header to local.

<sysname> system-view
[sysname] nat port-block syslog header default timestamp local
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >