< Home

file-block unknown-type action

Function

The file-block unknown-type action command configures the action for unknown files.

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

Format

file-block unknown-type action { alert | allow | block }

undo file-block unknown-type action

Parameters

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

Views

System view

Default Level

2: Configuration level

Usage Guidelines

The default action for unknown files is allow.

Unknown files are files that cannot be identified or do not have any file name extensions. The device does not implement data filtering on unknown files.

Example

# Set the action for unknown files to block.

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