beautypg.com

Net Optics Director User Manual

Page 48

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 06/24/2008

Arguments:

is mm/dd/yyyy

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

del

del my_configuration-1

Arguments:

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=
=
action=< redir | drop >
redir_ports=

Notes:
The command may include
any number of , up
to the limit of Director's filter
resources (approximately
1,000 per chassis)
The action=< redir | drop >
argument is required
If action=redir, then
redir_ports=
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
— traffic from the network
ports specified in this portlist is aggregated before
being sent to the filter
and are filter qualifiers and values
as listed in the table that follows this table; any
number of = pairs may be included
Specify redir or drop as the filter action —
if redir, packets matching all of the are
copied to all of the Monitor ports specified in the
portlist
if drop, packets matching all of the 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
, it defines aggregation, regeneration, and
matrix switching functions without filtering

clear

filter clear

Clears all active filters