Net Optics none manual Appendix B Command Line Interface

Page 46

Director

Appendix B

Command Line Interface

Tip!____________________________________________________________________________________________________

The command line interface (CLI) is not case sensitive.

________________________________________________________________________________________________________

Port numbering:

Network ports are numbered Ns.p where

s is the DNM module (1 or 2; 1 is on the left, 2 is on the right)

p is the port number within the DNM (1 through 12)

for example, n2.1 and n2.12 are the lowest and highest port numbers in the second DNM Monitor ports are numbered m.1 through m.10

Configurable 10 Gigabit ports are numbered t.1 and t.2

a portlist is a list of ports separated by commas; dashes may be used to specify ranges; for example, n1.1,n1.2,n1.3 and n1.1-n1.3 mean the same thing; NOTE: Do not include any space characters in the list (do not put a space after the comma)

A string is a string of characters up to 32 characters in length, not case sensitive; valid characters are A-Z, a-z, 1-9, -, _

Parameters marked with an asterisk (*) are required, and must be the first parameter in the parameter list for the command. Other parameters are optional and may be included in any order.

Command

Sub-Command

Parameters

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; same as a filter commit command

 

 

 

 

date

 

<date>

date 06/24/2008

 

 

 

Parameters:

 

 

 

<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

 

 

 

Parameters:

 

 

 

<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)

 

 

 

 

42

*** Confidential - DO NOT Distribute ***

Image 46
Contents Smart Filtering Appliance Trademarks and Copyrights Contents Appendix C Appendix aAppendix B Filter parametersChapter Introduction Monitor port Filtering Key FeaturesEase of Use Passive, Secure TechnologyAbout this Guide DescriptionDirector Architecture Director internal architectureUSB port Director ManagementTypical Application Network LinksMonitoring Tools In-line Monitoring of 10 Gigabit Links IBypass Switch MethodExternal Network Tap method Monitor Port LEDs Power LEDsDirector Front Panel DNM / Network Port LEDsDirector Rear Panel XFPChapter Installing Director Plan the Installation Unpack and Inspect the Director deviceInstall SFP and XFP Monitor port Modules Install Director Network ModulesRack Mount the Director device Connect Power to Director Connect the local CLI InterfaceTip Connect the remote CLI InterfaceBaud Data bits No parity 1 stop bit No flow control To connect the CLI for remote use over the Management portLog into the CLI To log into the CLIChange Director User Name and Password Configure Director using the CLITo change the user name and password To assign a new Manager IP address to Director To change the port modeAssign a New Manager IP Address Change Port ModesSave and Load Director Configurations Set the Current Date and TimeUsing the CLI Help Command To view CLI help informationUsing the CLI Command History Buffer Current config fileConnect Span Ports to Director To connect a Span portConnect Director With In-line Network Links To connect an in-line network linkCheck the Installation Configure a Matrix Switch connection in DirectorConnect Monitoring Tools to Director Chapter Configuring Filters Using the CLI SyntaxEnter filter commit. The switch connection is activated Copy Traffic From Any Network Port to Any Monitor PortRegenerate Traffic to Any Set of Monitor Ports Lter add inports=n1.1 action=redir redirports=m.3-m.5Create Filters To create a filter that selects IPv4 packets by protocolCreate Complex Filters Logical and filter connectionView filters UDPWork with configurable 10 Gigabit ports Configurable 10 Gigabit XFP ports used as Network portsNetwork Port 11 XFP Port Understand filter interactions CAMFlow diagram now looks as follows Exclusive filters N1.1 ipproto=UDP action=drop N1.1 m.1To change the Director filter configuration Understand pending and active filtersEnter filter list to view the pending filter list User interactions Filter capacityDaisy-chaining Multiple Director Chassis Appendix a Director Specifications Specifications, chassisCertifications Specifications, DNMEnvironmental Available ModelsAppendix B Command Line Interface Command Sub-Command Parameters Example and descriptionFilter add ipv6=n inports=n1.1-n1.3 ip Command may includeFilter add and filter ins commands Src=10.1.1.1 action=dropFilter running Load myconfiguration-1Filter list Filter syncPasswd Save myconfiguration-1Show myconfiguration-1 PingSysip show Sysip commitSysip ipaddr=192.168.1.2 netmask=255.255.0.0 TimeUser add name=bob pw=bob-pw priv=3 This This command is only available at root level CommandUser show Is onlyFilter parameters Director Filter Parameters Qual Value Example DescriptionAppendix C Protocol Numbers Num Keyword ProtocolMobile L2TP Limitations on Warranty and Liability By Net Optics, Inc. All Rights Reserved