nat syslog descriptive format flexible template

Function

The nat syslog descriptive format flexible template command binds a NAT flexible log template to NAT flow syslogs as flexible logs to make the template take effect.

The undo nat syslog descriptive format flexible template command unbinds a NAT flexible log template from NAT flow syslogs and restores the default format.

By default, NAT syslogs are in type3 format.

This command is supported only on the NetEngine 8000 F1A.

Format

nat syslog descriptive format flexible template session

undo nat syslog descriptive format flexible template session

Parameters

Parameter Description Value
session

Indicates flow logs.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
nat write

Usage Guidelines

Usage Scenario

After configuring a flexible NAT log template, you can run the nat syslog descriptive format flexible template command to make the flexible log template take effect.

Prerequisites

Flexible log template has been created.

Follow-up Procedure

After running the nat syslog descriptive format flexible template command to make the flexible log template take effect for NAT logs, you can run the display syslog flexible template command to view the log format in the flexible log template.

Example

# Bind a NAT flexible log template to flow logs to make the template take effect.
<HUAWEI> system-view
[~HUAWEI] nat syslog descriptive format flexible template session
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >