25.06.2013 Views

CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 2: Administration Mode Commands<br />

ip command<br />

WG#admin<br />

WG(admin)#import ip {blocked|allowed}<br />

{override|merge}<br />

[-tftp] <br />

-ftp <br />

Effect<br />

Imports a list of blocked or allowed IP addresses to<br />

the appliance database.<br />

Prerequisites<br />

The list of IP addresses must be a text file. The<br />

formatting information follows.<br />

For blocked IP, each line of the file should include:<br />

[space] [space]<br />

<br />

specifies the month, day, and<br />

year.<br />

specifies the hour, minute, and<br />

second.<br />

For example, a text file containing the following<br />

lines blocks these sites until the provided<br />

expiration time:<br />

12.11.12.15 8/14/2003 14:00:00<br />

12.13.22.8 10/19/2004 1:21:05<br />

To add blocked sites that do not expire, use only<br />

the IP address.<br />

Arguments<br />

blocked|allowed<br />

Specifies whether to import the contents of the text<br />

file to the blocked IP list, or to the allowed<br />

(exceptions) IP list.<br />

merge|override<br />

34 <strong>WatchGuard</strong> Vclass 5.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!