User manual
8-18 Packet Filter
s
If the syntax is invalid, the filter is still added to the managed
list with a status of verify failed. To correct filter file errors, you
must make the changes to the original filter file using a text
editor, and re-TFTP the file to the NETServer flash memory.
You can then use the verify filter command to check the filter file
syntax. For more information about the verify filter command,
refer to Verifying Filter File Syntax on page 8-19.
To add a filter file to the list of managed filters, use the
following command:
add filter <filter_name>
Tip: It may be helpful to use the list files command to see files
successfully stored in the NETServer flash memory.
Removing a Filter from an Interface
To remove a filter that is assigned to an interface, use the
following command:
set interface <interface_name>
input_filter ""
output_filter ""
The “” value represents a null value and removes the defined
filter from the interface. For example, to remove an output filter
from an interface named eth:1, you would use this command:
set interface eth:1 output_filter ""
Removing a Filter from a User Profile
To remove a filter that is assigned to a user profile, use the
following command:
set user <user_name>
input_filter ""
output_filter ""
The “” value represents a null value and removes the defined
filter from the user profile. For example, to remove an input
filter from a user profile named john_d, you would use the
following command:
set user john_d input_filter ""