6-38 CHAPTER 6: MANUAL SETUP
Managing Filters
Using CLI This section provides information about how to perf orm filter management tasks.
Displaying the Managed
Filter List Using CLI To display the list of managed filters, use the following command :
list filters <filter_name>
The resulting display might look like this:
Adding Filters to the
Managed List Using CLI The add filter command verifies filter syntax prior to adding the filter to the
managed list. If the syntax is valid, no messag e is generated and the command
prompt returns. If syntax errors exist, error messages are generated detailing the
cause of the errors.
If the syntax is invalid, the filter is still added to the managed list with a status of
verify failed. To correct filter file err o rs , you must make the chang es to the origin al
filter file using a text editor, and re-TFTP the file to the routers FLASH memory.
Then use the verify filter command to check the filter file syntax.
To add a filter file to the list of managed filters, use the CLI command
add filter <filter name>
It may be helpful to use the list files command to see files successfully stored in
the FLASH memory.
Removing a Filter from an Interface U sing CLI
To remove a filter that is assigned to an interface, use the following command:
set interface <interface nam e> input_filter ""
set interface <interface nam e> 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 the following command:
set interface eth:1 output_f ilter ""
Removing a Filter from a
VC/Remote Site Profile
Using CLI
To remove a filter that is assigned to a remote site profile, use the following
command:
set vc <VCorremotesitename>input_fil ter ""output_filter ""
The " " value represents a null value and removes the defined filter from the user
profile. For example, to remove an input filt er from a VC / remote site profile
named corpoffice, you would use the CLI co mmand:
set vc corpoffice input_filter ""
Filter Name Status Protocols
ip.fil NORMAL IP IP-RIP