Net Optics Director manual Appendix B Command Line Interface, Tip

Page 47

Director

Appendix B

Command Line Interface

Tip!____________________________________________________________________________________________________

The command line interface (CLI) is case-sensitive; commands must be entered in lower case. However, certain items such as user-defined text strings, user names, and passwords may be entered in upper, lower, or mixed case, and are case-sensitive also.

________________________________________________________________________________________________________

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.

________________________________________________________________________________________________________

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 t1.1 and t1.2 (front panel) and t2.1 and t2.2 (rear panel)

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, -, _

Privilege levels – User accounts are assigned at one of three privilege levels:

root (level 1) – access to all CLI commands; only the root level can use the user and passwd commands

admin (level 2) – access to all CLI commands except user and passwd

user (level 3) – can access only these CLI read-only commands: help, history, list, ping, show, exit, logout, quit

The CLI commands are specified in the following table.

43

Image 47
Contents Data Monitoring Switch Trademarks and Copyrights Contents Appendix B Chapter Configuring Filters Using the CLIChapter Appendix aChapter Introduction Passive, Secure Technology Key FeaturesEase of Use Monitor port FilteringDescription About this GuideDirector internal architecture Director ArchitectureDirector Management USB portNetwork Links Typical ApplicationMonitoring Tools In-line Monitoring of 10 Gigabit Links 10 Gigabit in-line network connection using a network TapDNM / Network Port LEDs Power LEDsDirector Front Panel Monitor Port LEDsXFP Director Rear PanelChapter Installing Director Unpack and Inspect the Director device Plan the InstallationRack Mount the Director device Install Director Network ModulesInstall SFP and XFP Monitor port Modules Connect the local CLI Interface Connect Power to DirectorTo connect the CLI for remote use over the Management port Connect the remote CLI InterfaceBaud Data bits No parity 1 stop bit No flow control TipTo log into the CLI Log into the CLITo change the login password Configure Director using the CLIChange Director Password Change Port Modes To change the port modeAssign a New Manager IP Address To assign a new Manager IP address to DirectorSet the Current Date and Time Save and Load Director ConfigurationsTo view CLI help information Using the CLI Help CommandShow name show running, factory, default, or file name Using the CLI Command History BufferTo connect a Span port Connect Span Ports to DirectorTo connect an in-line network link Connect Director With In-line Network LinksConnect Monitoring Tools to Director Configure a Matrix Switch connection in DirectorCheck the Installation Syntax Chapter Configuring Filters Using the CLICopy Traffic From Any Network Port to Any Monitor Port Enter filter commit. The switch connection is activatedLter add inports=n1.1 action=redir redirports=m.3-m.5 Regenerate Traffic to Any Set of Monitor PortsTo create a filter that selects IPv4 packets by protocol Create FiltersLogical and filter connection Create Complex FiltersUDP View filtersConfigurable 10 Gigabit XFP ports used as Network ports Work with configurable 10 Gigabit portsXFP Port Protocol = Monitor Port CAM Understand filter interactionsFlow diagram now looks as follows N1.1 ipproto=UDP action=drop N1.1 m.1 Exclusive filtersUnderstand pending and active filters To change the Director filter configurationFilter running command Enter filter list to view the pending filter list Inports=n1.1-n1.7 Ipproto=6 Vlan=100 Redirports=m.1-m.5,m.10 Filter capacityDaisy-chaining Multiple Director Chassis Specifications, chassis Appendix a Director SpecificationsAvailable Models Specifications, DNMEnvironmental CertificationsAppendix B Command Line Interface Commit Command Sub-Command Arguments Example and descriptionFilter discard Image Quit User add name=bob pw=bob-pw priv=3 Filter parameters Vlan=128 Director Filter Parameters Qual Value Example DescriptionNum Keyword Protocol Appendix C Protocol NumbersMobile L2TP Limitations on Warranty and Liability By Net Optics, Inc. All Rights Reserved