blacklist enable

Syntax

blacklist enable

undo blacklist enable

View

System view

Default level

2: System level

Parameters

None

Description

Use blacklist enable to enable the blacklist feature. With the blacklist feature enabled, the switch filters all packets from IP addresses on the blacklist.

Use undo blacklist enable to restore the default.

By default, the blacklist feature is disabled.

After you enable the blacklist feature, you can manually add blacklist entries, or have the switch cooperate with the login user authentication feature to add blacklist entries automatically.

Examples

# Enable the blacklist feature.

<Sysname> system-view
[Sysname] blacklist enable