Managing Filters | This section provides information about how to perform filter management tasks. |
Using CLI |
|
Displaying the Managed To display the list of managed filters, use the following command:
Filter List Using CLI
list filters <filter_name>
The resulting display might look like this:
Filter Name | Status | Protocols |
ip.fil | NORMAL | IP |
Adding Filters to the | The add filter command verifies filter syntax prior to adding the filter to the |
Managed List Using CLI | managed list. If the syntax is valid, no message 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 errors, you must make the changes to the original |
| filter file using a text editor, and |
| 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 Using CLI |
| To remove a filter that is assigned to an interface, use the following command: |
| set interface <interface name> input_filter "" |
| set interface <interface name> 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_filter "" |
Removing a Filter from a | To remove a filter that is assigned to a remote site profile, use the following |
VC/Remote Site Profile | command: |
Using CLI |
|
| set vc <VC or remote site 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 VC / remote site profile |
| named corpoffice, you would use the CLI command: |
set vc corpoffice input_filter ""