|
4-8 CHAPTER 4: FILTERING CAPABILITIESIf the syntax is invalid, the filter is still added to the managed list with a status ofverify failed. To correct filter file errors, you must make the changes to the originalfilter file using a text editor, and re-TFTP the file to the bridge’s FLASH memory.Then use the verify filter command to check the filter file syntax.n To add a filter file to the list of managed filters, use the CLI commandadd filter It may be helpful to use the list files command to see files successfully stored inthe FLASH memory.Removing a Filter froman Interfacen To remove a filter that is assigned to an interface, use the following command:set interface input_filter ""set interface output_filter ""The " " value represents a null value and removes the defined filter from theinterface. 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 aPort Profilen To remove a filter that is assigned to a port profile, use the followingcommand:set port input_filter ""set port output_filter ""The " " value represents a null value and removes the defined filter from the userprofile.n For example, to remove an input filter from port #2, you would use the CLIcommand:set port 2 input_filter ""Deleting a Packet Filter n To delete a specific packet filter, removing the filter file permanently from theFLASH memory, use the CLI commanddelete filter Verifying Filter FileSyntaxThe verify filter command must be used if you make changes to a filter file that hasalready been added to the managed list and re-TFTP it back to the bridge’s FLASHmemory (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. Ifthe syntax is not valid, error messages are generated detailing the source of theerrors.n To verify a filter file, use the CLI commandverify filter Showing Filter FileContentsn To view the contents of an entire filter file that has been added to themanaged list of filters, use this command:show filter PreviousNext |