< Home

file-block malformed action

Function

The file-block malformed action command configures the action for malformed files.

The undo file-block malformed action command restores the default action for malformed files. The default action is allow.

Format

file-block malformed action { alert | allow | block }

undo file-block malformed action

Parameters

Parameter Description Value
alert Allows the transfer of malformed files and generates event logs. -
allow Allows the transfer of malformed files and does not generate event logs. -
block Blocks malformed files and generates event logs. -

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The default action for malformed files is allow.

Malformed files are files that are damaged and cannot be identified. The device does not implement data filtering on malformed files.

Example

# Set the action for malformed files to block.

<sysname> system-view
[sysname] file-block malformed action block
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >