Net Optics Director User Manual

Page 49

Advertising
background image

Director

45

Command Sub-Command Arguments

Example and description

filter
(continued)

commit

filter commit

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
id=<id>

filter del id=3

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>
ipv6=y
in_ports=<network_portlist>
<qual>=<value>
action=< redir | drop >
redir_ports=<monitor_portlist>

filter ins id=myfilter-1 in_ports=n1.1-n1.3 ip_
src=10.1.1.1 action=drop

Arguments:

<id> is a decimal number from 1 to 999 that
specifies the priority of this filter (the address for
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)

Advertising