Net Optics Director manual Filter discard

Models: Director

1 59
Download 59 pages 36.95 Kb
Page 49
Image 49

 

 

 

 

 

 

 

 

 

 

 

Director

 

 

 

 

 

 

 

 

Command

Sub-Command

Arguments

Example and description

 

 

 

 

filter

commit

 

filter commit

(continued)

 

 

Activates pending filters previously defined using

 

 

 

 

filter add and filter ins commands but does NOT save

 

 

 

 

the changes as the new default configuration

 

 

 

 

 

 

 

del

ipv6=y

filter del id=3

 

 

 

id=<id>

Arguments:

 

 

 

 

ipv6=y for IPv6 addressing; omit for IPv4

 

 

 

 

<id> is a decimal number from 1 to 999 that

 

 

 

 

identifies which filter is to be deleted

 

 

 

 

Deletes a pending filter

 

 

 

 

 

 

 

discard

 

filter discard

 

 

 

 

Clears all pending filters

 

 

 

 

 

 

 

ins

id=<id>

filter ins id=myfilter-1 in_ports=n1.1-n1.3 ip_

 

 

 

ipv6=y

src=10.1.1.1 action=drop

 

 

 

in_ports=<network_portlist>

Arguments:

 

 

 

<qual>=<value>

<id> is a decimal number from 1 to 999 that

 

 

 

action=< redir drop >

specifies the priority of this filter (the address for

 

 

 

redir_ports=<monitor_portlist>

the filter in the filter CAM)

 

 

 

 

The rest of the filter parameters are as defined for

 

 

 

 

the filter add command

 

 

 

 

Defines and prioritizes a filter

 

 

 

 

 

 

 

list

ipv6=y

filter list

 

 

 

 

Arguments:

 

 

 

 

ipv6=y for IPv6 addressing; omit for IPv4

 

 

 

 

Displays all pending filters (with filter IDs)

 

 

 

 

 

 

 

running

ipv6=y

filter running

 

 

 

 

Arguments:

 

 

 

 

ipv6=y for IPv6 addressing; omit for IPv4

 

 

 

 

Displays all active filters

 

 

 

 

 

 

 

sync

 

filter sync

 

 

 

 

Loads the pending filter list with a copy of the currently

 

 

 

 

active filters

 

 

 

 

help

 

<command>

help filter

 

 

 

 

Arguments:

 

 

 

 

<command> is any CLI command

 

 

 

 

Displays information about the specified CLI command;

 

 

 

 

if <command> is omitted, displays a list of all CLI

 

 

 

 

commands

 

 

 

 

history

 

 

history

 

 

 

 

Displays a numbered list of previously executed CLI

 

 

 

 

commands; any command can be executed directly

 

 

 

 

by entering the command number preceded by an

 

 

 

 

exclamation point; up- and down-arrow keys can be

 

 

 

 

used to scroll through the command history buffer

 

 

 

 

(see ! command)

 

 

 

 

 

 

45

Page 49
Image 49
Net Optics Director manual Filter discard