562
Syntax
blacklist enable
undo blacklist enable
Default
The blacklist function on an interface is disabled.
Views
Layer 3 interface view
Predefined user roles
network-admin
Usage guidelines
If the global blacklist function is enabled, the blacklist function is enabled on all interfaces.
If the global blacklist function is disabled, you must use this command to enable the blacklist function on
individual interfaces.
Examples
# Enable the blacklist function on interface GigabitEthernet 2/1/1.
<Sysname> system-view
[Sysname] interface gigabitethernet 2/1/1
[Sysname-GigabitEthernet2/1/1]blacklist enable
Related commands
• blacklist ip
• blacklist ipv6
blacklist global enable
Use blacklist global enable to enable the global blacklist function.
Use undo blacklist global enable to disable the global blacklist function.
Syntax
blacklist global enable
undo blacklist global enable
Default
The global blacklist function is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
If you enable global blacklist function, the blacklist function is enabled on all interfaces.