< Home

firewall log session log-type

Function

The firewall log session log-type command selects the format for sending session logs.

The undo firewall log session log-type command restores the default setting, that is, the sending of session logs in binary format.

Format

firewall log session log-type { binary | syslog | netflow }

undo firewall log session log-type

Parameters

Parameter Description Value
binary Indicates session logs in binary format. -
syslog Indicates session logs in syslog format. -
netflow Indicates session logs in netflow format. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The FW sends session logs in binary format by default.

The format of packet discarding logs also is determined by the format of session logs. If session logs are in syslog format, packet discarding logs are in syslog format. If session logs are in binary format, packet discarding logs are in binary format. If session logs are in Netflow format, packet discarding logs cannot be output.

Example

# Configure the sending of session logs in netflow format.

<sysname> system-view
[sysname] firewall log session log-type netflow
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >