Net Optics Director manual Using the CLI Help Command, To view CLI help information

Page 24

Director

Using the CLI Help Command

To view CLI help information:

1.Enter Help at the "Net Optics:" prompt. The list of help topics is displayed.

Net Optics> help

- save local config to hardware

commit

date

- set system date

del

- delete file 'name'

filter

- set for filter command

help

- view cli usage

history

- display command history list

image

- switch image

list

- list xml file

load

- load file 'name'

logout

- logout from cm server

module

- show installed modules in the system

passwd

- change password for ssh user's account

ping

- ping 'ipaddr'

port

- set port command

reset

- reset the whole system

save

- save file 'name'

show

- show 'running', 'factory', 'default', or file 'name'

stats

- show/clear ports statistics

sysip

- show and set system network IP address

time

- set system time

upgrade

- upgrade image file

user

- manage user account

quit or exit

- exit current cli session

Net Optics>

 

Figure 16: Director CLI Help command

2.To view the syntax for changing Director filter parameters, enter help filter.

3.Repeat Step 2 with the command of interest to view the syntax for any command available in the CLI. For a complete description of all of the CLI commands, see Appendix B.

Tip!____________________________________________________________________________________________________

Help for an individual command is also displayed if the command is entered without the proper arguments.

________________________________________________________________________________________________________

Tip!____________________________________________________________________________________________________

The tab key can be used to automatically complete words in the CLI. This function works for commands as well as arguments. For example, typing the letter "t" followed by the tab key results in "time" being entered in the command line. Likewise, "da<tab>" auto-completes to the "date" command. However, "d<tab>" does not auto-complete, because it is ambiguous between the "date" and "del" commands.

________________________________________________________________________________________________________

Tip!____________________________________________________________________________________________________

To display a list of sub-commands and arguments for any command, press the tap key twice after entering the command. (A space is required between the command and the <tab><tab>.) For example, type "filter add <tab><tab>" to display a list of all the arguments that can be used to complete the command.

________________________________________________________________________________________________________

20

Image 24
Contents Data Monitoring Switch Trademarks and Copyrights Contents Chapter Configuring Filters Using the CLI ChapterAppendix a Appendix BChapter Introduction Key Features Ease of UseMonitor port Filtering Passive, Secure TechnologyAbout this Guide DescriptionDirector Architecture Director internal architectureUSB port Director ManagementTypical Application Network LinksMonitoring Tools 10 Gigabit in-line network connection using a network Tap In-line Monitoring of 10 Gigabit LinksPower LEDs Director Front PanelMonitor Port LEDs DNM / Network Port LEDsDirector Rear Panel XFPChapter Installing Director Plan the Installation Unpack and Inspect the Director deviceInstall Director Network Modules Install SFP and XFP Monitor port ModulesRack Mount the Director device Connect Power to Director Connect the local CLI InterfaceConnect the remote CLI Interface Baud Data bits No parity 1 stop bit No flow controlTip To connect the CLI for remote use over the Management portLog into the CLI To log into the CLIConfigure Director using the CLI Change Director PasswordTo change the login password To change the port mode Assign a New Manager IP AddressTo assign a new Manager IP address to Director 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 Show name show running, factory, default, or file nameConnect Span Ports to Director To connect a Span portConnect Director With In-line Network Links To connect an in-line network linkConfigure a Matrix Switch connection in Director Check the InstallationConnect 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 portsXFP Port Protocol = Monitor 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 filtersFilter running command Enter filter list to view the pending filter list Filter capacity Inports=n1.1-n1.7 Ipproto=6 Vlan=100 Redirports=m.1-m.5,m.10Daisy-chaining Multiple Director Chassis Appendix a Director Specifications Specifications, chassisSpecifications, DNM EnvironmentalCertifications Available ModelsAppendix B Command Line Interface Command Sub-Command Arguments Example and description CommitFilter discard Image Quit User add name=bob pw=bob-pw priv=3 Filter parameters Director Filter Parameters Qual Value Example Description Vlan=128Appendix C Protocol Numbers Num Keyword ProtocolMobile L2TP Limitations on Warranty and Liability By Net Optics, Inc. All Rights Reserved