create filter
The command create filter creates a new filter using Berkeley Packet Filter (BPF). The BPF implemented has been extended to enhance its functionality. A quick reference of the BPF syntax can be viewed by typing 'help filter'.
Usage
create filter <"FilterName"> <"FilterString"> ["FilterDesc"]
Parameters
Parameter | Description |
---|
FilterName | The case-sensitive name of the filter. |
FID | The ID of the filter. The ID is a numeric value associated with the name. When referencing the filter, you may use either the name or ID. |
FilterDesc | The filter description is optional and appears in the Filters list. If it contains a space character, the entire string must be enclosed in quotes. |
NewFilterName | The filter's new name. |
FilterString | A filter that conforms to the BPF syntax. See
help filter
for more details about BPF. |
Examples
♦matrix_host(layout_name)# create filter filter1 "ip src host 10.0.64.31" "This is the description of filter1"