|
Managing Filters 4-7Interface name is eth:1 for the Ethernet interface and atm:1 for the ATMinterface. For example, to apply an input filter to the ethernet interface:set interface eth:1 input_filter filter.fltWhen assigning the filter to the Ethernet interface, you must turn off filter accessby entering the CLI command set interface eth:1 filter_access off.For more information about the filter access, refer to the Setting Filter Accesssection below.Configuring a Filter for aPortn To configure an input or output filter for a specific user, use the CLIcommands:set port input_filter set port output_filter n For example, to apply an output filter to port 2:set port 2 output_filter filter.fltSetting Filter Access When filters are assigned to both the WAN interface and a port profile, you needto tell the bridge which one to use using the filter access parameter. If filter accessis ON, the port filters will override interface filters. If filter access is OFF, then theinterface filters are used.Always turn filter access OFF for the Ethernet interface since there are no profilesassociated with it. If you do not turn if off, the filter will not be applied.n To set the filter access parameter to ON for a specific interface, use the CLIcommand:set interface filter_access ONn To set the filter access parameter to OFF for a specific interface, use the CLIcommand:set interface filter_access OFFManaging Filters This section provides information about how to perform filter management tasks.Displaying the ManagedFilter Listn To display the list of managed filters, use the following command:list filters The resulting display might look like this:Adding Filters to theManaged ListThe add filter command verifies filter syntax prior to adding the filter to themanaged list. If the syntax is valid, no message is generated and the commandprompt returns. If syntax errors exist, error messages are generated detailing thecause of the errors.Filter Name Status Protocolsfilter.flt NORMAL BR-ETH PreviousNext |