Net Optics Director User Manual

Page 48

Advertising
background image

Director

44

Command Sub-Command Arguments

Example and description

!

[#] (a number)

!3

Executes a command from the CLI command history
buffer
(see history command)

commit

commit

Activates pending changes previously defined using
filter commands AND saves the changes as the new
default configuration

date

<date>

date 06/24/2008

Arguments:

<date> is mm/dd/yyyy

Sets the system calendar date; if <date> is omitted,
the current date is displayed

del

<filename>

del my_configuration-1

Arguments:

<filename> is the name of the file to delete; a

string; do not include an extension

Deletes a previously saved Director configuration file
(see save command)

exit

exit

Exits the CLI shell (same as logout and quit)
Note: To maintain system security, control is not
returned to the command shell.

filter

add

ipv6=y
in_ports=<network_portlist>
<qual>=<value>
action=< redir | drop >
redir_ports=<monitor_portlist>

Notes:
The command may include
any number of <qual>, up
to the limit of Director's filter
resources (approximately
1,000 <qual> per chassis)
The action=< redir | drop >
argument is required
If action=redir, then
redir_ports=<monitor_portlist>
argument is required

filter add in_ports=n1.1-n1.3 ip_src=10.1.1.1
action=drop

Arguments:

ipv6=y for IPv6 addressing; omit for IPv4
<network_portlist> — traffic from the network
ports specified in this portlist is aggregated before
being sent to the filter
<qual> and <value> are filter qualifiers and values
as listed in the table that follows this table; any
number of <qual>=<value> pairs may be included
Specify redir or drop as the filter action —
if redir, packets matching all of the <qual> are
copied to all of the Monitor ports specified in the
portlist <monitor_portlist>
if drop, packets matching all of the <qual> are
dropped

Defines a filter, including the network and monitor
ports involved in the filter; filter is pending (inactive)
until activated by a filter commit or commit command
Note: If the filter command does not include any
<qual>, it defines aggregation, regeneration, and
matrix switching functions without filtering

clear

filter clear

Clears all active filters

Advertising