CHAPTER 2: Administration Mode Commands
34
WatchGuard Vclass 5.1
ip command
WG#admin<ENTER>
WG(admin)#import ip {blocked|allowed}
{override|merge}
[-tftp] <host:/target/file_name>
-ftp <[user[:passwd]@]
host:/target/file_name>
Effect
Imports a list of blocked or allowed IP addresses to
the appliance database.
Prerequisites
The list of IP addresses must be a text file. The
formatting information follows.
For blocked IP, each line of the file should include:
<IPaddr> [space]<mm/dd/yyyy> [space]
<hh:mm:ss>
<mm/dd/yyyy> specifies the month, day, and
year.
<hh:mm:ss> specifies the hour, minute, and
second.
For example, a text file containing the following
lines blocks these sites until the provided
expiration time:
12.11.12.15 8/14/2003 14:00:00
12.13.22.8 10/19/2004 1:21:05
To add blocked sites that do not expire, use only
the IP address.
Arguments
blocked|allowed
Specifies whether to import the contents of the text
file to the blocked IP list, or to the allowed
(exceptions) IP list.
merge|override