addIPBlackList
Syntax
addIPBlackList(ips)
Arguments
ips is a STRING or IPADDR scalar/vector indicating one or more (up to 65535) IP addresses.
Details
Add IP addresses to the blacklist. The blacklist feature is enabled when the first IP address is added. The whitelist and blacklist cannot be enabled simultaneously. After the blacklist feature is enabled, all the access requests from IP addresses in the blacklist are blocked.
This function can only be executed by an administrator and takes effect on the cluster.
Examples
addIPBlackList(["1.1.1.1", "2.2.2.2", "3.3.3.3"])
Related functions: removeIPBlackList, getIPBlackList