3Com OfficeConnect Remote 812 Network Router User Manual


 
Managing Filters Using CLI 6-59
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
VC/Remote Site Profile
Using CLI
To remove a filter that is assigned to a remote site profile, use the following
command:
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 ""
Deleting a Packet Filter
Using CLI
To delete a specific packet filter (removing the filter file permanently from the
FLASH memory), use the following CLI command
delete filter <filter_name>
Deleting a Tunnel Filter
Using CLI
To delete a specific tunnel filter, use the following CLI command:
set tunnel <tunnel name> input_filter ""output_filter""
Verifying Filter File
Syntax Using CLI
The verify filter command must be used if you make changes to a filter file that has
already been added to the managed list and re-TFTP it back to the routers FLASH
memory (using the same filename). The verify filter file will check the filter syntax.
If the syntax is valid, no message is generated and the command prompt returns. If
the syntax is not valid, error messages are generated detailing the source of the
errors.
To verify a filter file, use the CLI command
verify filter <filter_name>
Showing Filter File
Contents Using CLI
To view the contents of an entire filter file that has been added to the managed list
of filters, use this command:
show filter <filter_name>
To display the contents of the filter file by protocol, use the CLI command
show filter <filter_name> protocol BR-ETH | IP | IP-RIP | IPX | IPX-RIP | IPX-SAP