Appendix C: Command Line Reference | IP filters 177 |
|
|
IP filters
ADD IP FILTER filterNum
Valid context: Profile
Adds a new IP filter to the list at the specified position. This enables you to insert a filter at any point in the list. filternum: Position to add the new filter.
DELETE IP FILTER filterNum
Valid context: Profile
Delete an IP filter.
filterNum: Number of the IP filter to delete.
ENABLE FILTER
DISABLE FILTER
Valid context: Filter/Profile
Enables or disables IP filters. In Profile context, this applies to all filters defined for the profile. In Filter context, this applies only to filters defined for the current filter.
COPY FILTER filterNumber
Valid context: Filter/Profile
Copies an existing filter to the current filter. Only available in the filter context. filterNumber: Number of the IP filter to copy.
SET ACTION {DROP FORWARD}
Valid context: Filter
Sets the action this filter takes when it encounters data that matches the filter setting.
DROP: Discard the data.
FORWARD: Forward the data to the next filter.
SET DIRECTION {IN OUT ANY}
Valid context: Filter
Sets whether the filter applies to incoming or outgoing data.
IN: Filter applies to incoming data only.
OUT: Filter applies to outgoing data only.
ANY: Filter applies to all data. Default setting.
SET IP SOURCE Ipaddr netMask
Valid context: Filter/Profile
Sets the source address and network mask for the filter. Only data which originates from the specified address and network is processed by this filter.
Ipaddr: Source IP address of data to filter.
netMask: Source network mask of data to filter.