5000 Series Layer 2/3 Managed Data Center Switch CLI Reference Guide
223
5-100 cpu-traffic direction match cust-filter
CPU-traffic direction match allows custom filter configuration. The statistics and/or traces for the
configured filters are obtainable at the specific offset for the packet matching configured data. The default
mask is 0xFF. Three different offsets can be specified as the match conditions. The latest custom filter
overrides the previous configuration.
Note:
VLAN tag headers as the packet to the CPU should be considered as a tagged packet.
No
command removes the configured custom filter.
cpu-traffic direction {tx | rx | both} match cust-filter offset1 data1 [mask1 mask1] offset2 data2
[mask2 mask2] offset3 data3 [mask3 mask3]
no cpu-traffic direction {tx | rx | both} match cust-filter offset1 data1 [mask1 mask1] offset2 data2
[mask2 mask2] offset3 data3 [mask3 mask3]
Parameters
both
Select to match both ingress and egress packets.
rx
Indicates the egress packet.
tx
Indicates the ingress packet.
offset1
Select to configure the offset for custom filter. A hex value strings is
required.
data1
Select to configure the matching custom filter. A hex value strings is
required.
mask# mask#
(Optional) Select to configure the matching conditions.
Default
The default is None.
Command Mode
Global Config
5-101 cpu-traffic direction match srcip
CPU-traffic direction match configures the source IP address-specific filter. Use the command to obtain
the statistics and/or the traces for configured filters matching configured source IP/Mask.
No
command disables
the configured source IP address filter.
cpu-traffic direction {tx | rx | both} match srcip ipaddress [mask mask]
no cpu-traffic direction {tx | rx | both} match srcip ipaddress [mask mask]