6-38CHAPTER 6: MANUAL SETUP

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 IP-RIP

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 re-TFTP the file to the router’s 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 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 ""

Page 76
Image 76
3Com 812 Filter List Using CLI, Adding Filters to, Removing a Filter from an Interface Using CLI, VC/Remote Site Profile