3Com OfficeConnect 3C100XF Cli User's Manual - page 206
26-2
C
HAPTER
26: IP F
ILTERS
C
OMMANDS
Add Commands
add ip filter
default_action
[accept | reject]
Adds an IP filter to the IP Filter Table.
add ip rule
Adds a packet-matching rule to an IP filter. This command has the following
parameters:
filter
ip_filter_name
>
src_address
ip_range_address
>
action [
accept
|
reject
]
Command
Type
Command Name
Set
set interface
output_ip filter
set packet_logging
set policy update
Show
show ip filters
show interface
Parameters
Description
ip_filter_name
Name of the IP filter. The limit is 20 ASCII characters.
default_action
Indicates whether IP packets that do not match any of the
rules added to this filter by
add ip rule
should be accepted
or rejected.
Parameters
Description
number
Each rule added to an IP filter must have a unique number.
The rules need not be added to the IP filter in increasing
order by rule number, but they will be displayed and
searched in increasing order.
ip_filter_name
Name of the IP filter.
ip_range_address
The source address(es) of IP packets that will match this rule.
The address may be specified as a single IP address, an IP
subnet, or a range of IP addresses.
Examples:
192.168.1.2
192.168.1.1/C
192.168.1.2-192.168.1.200
action
Indicates whether IP packets that match this rule should be
accepted (transmitted) or rejected (discarded).