532
# Add 192.168.1.2 to the blacklist. A log is output for the adding event.
[Sysname] blacklist ip 192.168.100.12
%Mar 13 03:47:49:736 2013 Sysname BLS/5/BLS_ENTRY_ADD:SrcIPAddr(1003)=192.168.100.12;
DSLiteTunnelPeer(1040)=--; RcvVPNInstance(1041)=--; TTL(1051)=;
Reason(1052)=Configuration.
# Delete 192.168.1.2 from the blacklist. A log is output for the deletion event.
[Sysname] undo blacklist ip 192.168.100.12
%Mar 13 03:49:52:737 2013 Sysname BLS/5/BLS_ENTRY_DEL:SrcIPAddr(1003)=192.168.100.12;
DSLiteTunnelPeer(1040)=--; RcvVPNInstance(1041)=--; Reason(1052)=Configuration.
Related commands
blacklist ip
blacklist ipv6
blacklist user
Use
blacklist user
to add a user blacklist entry.
Use
undo blacklist user
to delete a user blacklist entry.
Syntax
blacklist user user-name
[
timeout minutes
]
undo blacklist user user-name
Default
No user blacklist entries exist.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
user-name
: Specifies a user by the username, a case-sensitive string of 1 to 55 characters. Packets
sourced from this user will be dropped.
timeout minutes
: Specifies the aging time for the blacklist entry, in the range of 1 to 1000 minutes. If
you do not specify this option, the blacklist entry never ages out. You must delete it manually.
Usage guidelines
The user blacklist feature must be used together with the user identification feature. For more
information about user identification, see "Configuring user identification."
Examples
# Add a user blacklist entry for user
usera
and set the aging time to 20 minutes for the entry.
<Sysname> system
[Sysname] blacklist user usera timeout 20
Related commands
blacklist global enable
display blacklist user
Содержание FlexNetwork 7500 Series
Страница 350: ...335 Related commands display port security port security enable ...
Страница 379: ...364 Sysname system view Sysname keychain abc mode absolute Sysname keychain abc tcp kind 252 ...
Страница 519: ...504 Related commands display ssh2 algorithm ssh2 algorithm cipher ssh2 algorithm key exchange ssh2 algorithm mac ...