Filter and Firewall
Left running head:
Chapter name (automatic)
726
Beta Beta
OmniAccess 5740 Unified Services Gateway CLI Configuration Guide
Alcatel-Lucent
T
O ATTACH / DETACH A FILTER TO AN INTERFACE
Note: Each interface can have one ingress and one egress filter.
E
XAMPLE
The following example binds the filter f1 to interface GigabitEthernet3/0:
ALU(config)# interface GigabitEthernet3/0
ALU(config-if GigabitEthernet3/0)# ip filter in f1
If the filter f1 is interfaced to GigabitEthernet3/0, the following example detaches it
from GigabitEthernet3/0:
ALU(config)# interface GigabitEthernet3/0
ALU(config-if GigabitEthernet3/0)# no ip filter in f1
Command (in ICM) Description
ip filter {in|out} <filter-name> This command is used to attach a
filter to an interface in ‘in’ or ‘out’
direction.
Filter is applied to the ingress
(incoming) traffic if “in” keyword is
used.
Filter is applied to the egress
(outgoing) traffic if “out” keyword is
used.
no ip filter {in|out} <filter-
name>
This command detaches the filter
attached to an interface.
This does not delete the filter
definition in its entirety. It only
detaches it from its interface.
If the command "no ip filter name"
is issued at the top level and if this
filter is not bound to any interface, it
deletes the filter definition.