beautypg.com

Block hosts – Amer Networks E5 CLI User Manual

Page 36

background image

Note: Static blacklist hosts cannot be unblocked.

If

-force

is not specified, only the exact host with the service, protocol/port and destiny

specified is unblocked.

Example 2.8. Block hosts

blacklist -show -black -listtime -info
blacklist -block 100.100.100.0/24 -serv=FTP -dest=50.50.50.1 -time=6000

Usage

blacklist -show [-creationtime] [-dynamic] [-listtime] [-info]

[-black] [-white] [-all]

Show information about the blacklisted hosts.

blacklist -block [-serv=] [-prot={TCP | UDP | ICMP

| OTHER | TCPUDP | ALL}] [-port=]
[-dest=] [-time=]

Block specified netobject.

blacklist -unblock [-serv=] [-prot={TCP | UDP |

ICMP | OTHER | TCPUDP | ALL}] [-port=]
[-dest=] [-time=] [-force]

Unblock specified netobject.

Options

-all

Show all the information.

-black

Show blacklist hosts only.

-block

Block specified netobject. (Admin only)

-creationtime

Show creation time.

-dest=

Destination

address

to

block/unblock

(ExceptExtablished flag is set on).

-dynamic

Show dynamic hosts only.

-force

Unblock all services for the host that matches to
options.

-info

Show detailed information.

-listtime

Show time in list (for dynamic hosts).

-port=

Number of the port to block/unblock.

-prot={TCP | UDP | ICMP | OTHER |
TCPUDP | ALL}

Protocol to block/unblock.

-serv=

Service to block/unblock.

Chapter 2: Command Reference

36

This manual is related to the following products: