![HP FlexNetwork MSR Series Скачать руководство пользователя страница 836](http://html.mh-extra.com/html/hp/flexnetwork-msr-series/flexnetwork-msr-series_command-reference-manual_163078836.webp)
818
Examples
# Add a blacklist entry for the IPv6 address 2012::12:25 and set the aging time to 10 minutes for the
entry.
<Sysname> system-view
[Sysname] blacklist ipv6 2012::12:25 timeout 10
Related commands
blacklist enable
blacklist global enable
blacklist ip
blacklist logging enable
Use
blacklist logging enable
to enable logging for the blacklist feature.
Use
undo blacklist logging enable
to disable logging for the blacklist feature.
Syntax
blacklist logging enable
undo blacklist logging enable
Default
Logging is disabled for the blacklist feature.
Views
System view
Predefined user roles
network-admin
Usage guidelines
With logging enabled for the blacklist feature, the system outputs logs in the following situations:
•
A blacklist entry is manually added.
•
A blacklist entry is dynamically added by the scanning attack detection feature.
•
A blacklist entry is manually deleted.
•
A blacklist entry ages out.
A blacklist log records the following information:
•
Source IP address of the blacklist entry.
•
Remote IP address of the DS-Lite tunnel.
•
VPN instance name.
•
Reason for adding or deleting the blacklist entry.
•
Aging time for the blacklist entry.
Examples
# Enable logging for the blacklist feature.
<Sysname> system-view
[Sysname] blacklist logging enable
# Add 192.168.1.2 to the blacklist. A log is output for the adding event.
[Sysname] blacklist ip 192.168.100.12