Filter Policies
7750 SR OS Router Configuration Guide Page 359
Context config>filter
Description This command enables the context for a MAC filter policy.
The mac-filter policy specifies either a forward or a drop action for packets based on the specified
match criteria.
The mac-filter policy, sometimes referred to as an access control list, is a template that can be applied
to multiple services as long as the scope of the policy is template.
Note it is not possible to apply a MAC filter policy to a network port or an IES service.
Any changes made to the existing policy, using any of the sub-commands, will be applied
immediately to all services where this policy is applied. For this reason, when many changes are
required on a mac-filter policy, it is recommended that the policy be copied to a work area. That
work-in-progress policy can be modified until complete and then written over the original filter
policy. Use the config filter copy command to maintain policies in this manner.
The no form of the command deletes the mac-filter policy. A filter policy cannot be deleted until it is
removed from all SAP where it is applied.
Parameters filter-id — The MAC Filter Policy ID number.
Values 1 — 16384
create — Keyword required when first creating the configuration context. Once the context is
created, one can navigate into the context without the create keyword.
redirect-policySyntax [no] redirect-policy redirect-policy-name
Context config>filter
Description This command configures redirect policies.
The no form of the command removes the redirect policy from the filter configuration only if the
policy is not referenced in an IP filter and the IP filter is not in use (applied to a service or network
interface).
Default none
Parameters redirect-policy-name — Specifies the redirect policy name. Allowed values are any string up to 32
characters long composed of printable, 7-bit ASCII characters. If the string contains special
characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes. There is no
limit to the number of redirect policies that can be configured.