Home
FC811 User`s manual
Contents
1. gt shows group gp1 status only You will have to create group before using it with c option as explained in Group Management section S osctl s 2 gt shows port 2 status only Port group Management Port group management commands provide convenience of switching bunch of ports together identified by a name Group name can be any alpha numeric name Group name can not be just a number or start with a number For example group name can not be 10 or 10gp1 1 To create a new group S osctl c lt port_group gt lt in_port s gt lt inport_range gt 2 To update existing group S osctl u lt port_group gt a r lt in_port s gt 3 To delete a group S osctl d lt port_group gt 4 To delete all groups S osctl R 5 To list ports in a group S osctl l lt port_group gt lt in_port gt For example S osctl c gp1 1 3 4 gt creates group named gp1 with ports 1 3 and 4 The double quotes around space separated port numbers are required Note that when you create a group all the ports in the gp1 will be in OFF state by default S osctl c gp2 5 8 gt creates group named gp2 with ports 5 6 7 and 8 5 to 8 range Sosctl ugp1 a 5 6 gt adds ports 5 amp 6 to existing group gp1 S osctl u gp1 a 7 gt adds port 7 to existing group gp1 S osctl u gp1 r 2 4 gt removes ports 2 amp 4 from group gp1 S osctl d gp1 gt deletes group gp1 and release all ports which we
2. PORT shift STAT shift create objects xml new XML Simple ua LWP UserAgent gt new set status on off REQUEST IPADDR xmlapi setstatus php port PORT amp status STAT print REQUEST REOUESTyn req HTTP Request gt new GET gt REQUEST reg gt header Cookie gt test quest res ua gt request req check status REOUEST IPADDR xmlapi getstatus php portz PORT print REQUEST REQUEST n req HTTP Request gt new GET gt REQUEST reg gt header Cookie gt test guest res ua gt reguest reg data xml gt XMLin res gt content print status print STATUS data gt status n 3 Troubleshooting gt If you use telnet and is very slow it could be due to name server DNS issue Make sure you have name server configured correctly n option Try ping lt name_server_ip gt to see if name server configured can be reached from fc811 If you don t have dns on your network then you can just remove file etc resolv conf and see if it works normal gt All the group information is stored in a hidden XML database file If for some reason this file is corrupted the system will recover from this error by trying to copy the backup database file If this happens it will throw a warning message but it is not guaranteed that all the group information will be restored correctly In that case you may need to recrea
3. 168 1 1 The above command configures IP address of FC811 as 192 168 1 10 with mask 255 255 255 0 and gateway amp DNS as 192 168 1 Once the IP is configured from a PC or a Laptop using Ethernet or serial port you can then connect FC811 to your network and access it using telnet or ssh Configuring Dynamic IP If you have a DHCP server running on your network and you may want to dynamically assign an available IP address to FC811 by using following option osctl D Make sure you know the assigned IP address to login using telnet or ssh Configuring Hostname r a You can also change the hostname of FC811 switch using osctl osctl h FC811 SW 1 The above command changes hostname of FC811 to FC811 SW 1 Configuring DNS Nameserver To configure a DNS or Nameserver you can use n option of osctl osctl n 192 168 1 11 Configuring Syslog Server To send system generated events to an external syslog server use S option of osctl You have to specify the address of the syslog server which will receive these event logs Note this option only available in software version 2 0 and above osctl S 192 168 1 200 Version Info The following command shows hardware and software versions and serial number of the switch H osctl v Other Administrative commands Most of other administrative functions can be done using standard Linux commands For example to change the password u
4. and Dynamic IP DHCP Initially it shows the current set values You can change them by clicking on the corresponding field Note that the changing IP Gateway Mask or DHCP setting would make switch to reboot Device Info page Device Info page shows hardware and software information such as model and version Help page This page displays user s manual 3 Automating Echola s Optical Switches In order to automate Echola s Layer 1 switches you would need to write Tcl Expect based scripts or Perl Xml based scripts both example scripts are given below The tcl and expect scripting languages are easy to learn We have given an example script written for fc811 FC811 at the end which you can modify to suit your need There are tons of online sources for learning tcl amp expect The following provides guick high level overview of tcl and expect http cplug org t uploads 2009 02 tcl expect pdf There is a good book from O Reilly which provides great insight into expect language itself Exploring Expect A Tcl based Toolkit for Automating Interactive Programs Nutshell Handbooks Running scripts from Unix Linux systems If you want to run the script from a Unix Linux based machines then there is possibility that you may be already having these tools on your system Check if it s already been installed by typing expect from Unix Linux prompt If it is not then you will have to install it using package install too
5. gt switch port 4 to ON LED on port 4 of FC811 lids when this command is issued which confirms that the port is switched ON osctl p 1 2 3 on gt switch ports 1 2 and 3 to ON Note the double quote without that it won t work S osctl p 1 4 off gt switch ports 1 2 3 and 4 to OFF range 1 to 4 This comes in handy when you want to switch bunch of ports in order S osctl p gp1 off gt switch all ports in group gp1 to OFF You will have to create group before using it with c option as explained in Group Management section S osctl p 2 off t 120 gt switch port 2 to OFF after 120 secs delayed switching S osctl p 2 off T 120 gt switch port 2 to OFF gradually with in 120 milliseconds This option is only available with VFC series switch It is different from above delay where the switching happens almost immediately after 120 secs of wait but in this case switching takes 120 milliseconds to come to completely OFF state to simulate real world fiber cuts Default is 10 milliseconds Following command shows the status of a port whether it is on off or status of ports in a pre defined group S osctl s lt port_group gt lt in_port gt For example S osctl s gt shows all ports amp groups status as follows It shows first all ports and tells you which ports are part of a group All Ports Status GroupName lt gp1 gt Port Status off Portsinthegroup 1234 S osctl s gp1
6. 100 first and ramp up to 160 in 5000 milliseconds period This is useful for creating packet errors as opposed to fiber cut S osctl A 1 160 100 T5000 you need sw ver 3 0 and above for this option gt set attenuation of port 1 to 160 first and ramp down to 100 in 5000 milliseconds period ezau Web interface In order to access FC811 Web interface you will have to use its IP address in URL address bar of the web browser The web interface is included in software version 2 2 and above The first page you will see is the management page where you control all ports Following screen shot shows how GUI for fc811 looks like nr http 192 168 2 13 File Edit View Favorites Tools Help ECHOLA Management Device Info Help Manage Ports Port Number Off On BEN o o E o gt o Cd BEN o oo o o BEN o oo BEN oo r eue C ECHOLA Management Setup Device Info Help localhost 192168299 255 255 2550 ee Web interface has a main menu tab with following pages Management page The management page for FC811 is a simple page with 8 pull down menu to choose ON or OFF state Initially it shows the current status of ports and once you change the status to ON or OFF by clicking on corresponding pull down menu and then Update button to switch corresponding port to ON or OFF Setup page Setup page allows you to change Hostname Static IP address configuration
7. Installation amp Operating Guide FC811 VFC811 8 port fiber cut switch Echola Systems L L C 1161 Ringwood Ct Ste 100 San Jose CA 95131 Phone 408 321 9663 Fax 408 321 9663 5 y ste m 5 http www echola com optical 1 Installation FC811 is a Linux based 8 port fiber cut switch with eight 1x1 physical layer L1 optical switches You can either use 8 single fibers or 4 duplex fibers Tx Rx combo to simulate fiber cut scenarios LEDs to indicate which port is ON sf n A O O O O O O O O oe See ee oe e i cs Te fh 11 3 AA i 91 9 IF e ale f hf J ielleilollelie io lelle lello o leillo eilioliol Connecting test equipment to FC811 Suppose if you want to simulate fiber cut scenario between 2 optical devices Duplex Fiber Device1 TX gt Device2 RX Device1 RX lt Device2 TX 2 Fiber IN and OUT Fiber IM and OUT Each LC connector of FC811 has two input outputs marked as B and A Then you need to disconnect the fiber connecting these 2 devices which are under test and connect them through FC811 ports between A and B like the following Device1 TX gt Port1B gt FC811 SWITCH_PORT1 gt Port1A gt Device2 RX If you want to simulate break between both TX and RX fibers of the these devices under test which may be the case in many scenarios then you will have to us
8. e 2 ports of FC811 like the following Device1 TX gt Port2B gt FC811 SWITCH_PORT1 gt Port2A gt Device2 RX Device1 RX lt Port1B lt FC811 SWITCH_PORT2 Port1A Device2 TX UPSR 2F BLSR protection ring testing may require 2 FC811 ports while 4F BLSR might reguire 4 ports Configuring FC811 FC811 provides a serial RS232 and an Ethernet 10 100 port connectivity for management Serial port is only used in special situations such as to debug network connectivity if FC811 is not reachable through Ethernet r You might reguire a Laptop or a PC to configure FC811 with an IP address before connecting to your network You can use either serial or Ethernet port to configure IP If you use serial port using supplied null modem cable then you would need to configure serial for 38400 baud rate with 8 N 1 to access FC811 If you use Ethernet then you would need to configure the PC or Laptop s IP to match FC811 s default network The default network configuration and Login information is as follows IP Address 10 1 1 100 Mask 255 255 255 0 Gateway 10 1 1 1 DNS 10 1 1 1 root password osctl Other non root default user Username osctl Password osctl Configuring Static IP Use osctl command to configure a static IP address after login as root user osctl shows detailed osctl command options with examples osctl i 192 168 1 10 m 255 255 255 0 g 192
9. email to support echola com or call us at 408 321 9663 ext 2 You can also download latest documents and software from our website www echola com optical eE
10. gin prompt received Send user name to fc811 FC811 send Susername r eof No login prompt received Display an error puts could not connect n Wait for a password prompt from the Unix server expect Password Password prompt received Send the password send Spassword r Wait for the switch prompt expect re Sprompt Issue osctl command to switch given port send Scommandcontrol r Wait for the switch prompt again to check status expect re Sprompt 3 Issue osctl command to check status send Scommandstatus r Discard echoed command we need only the status expect Scommandstatus r Discard unwanted prompt as well expect re Sprompt HDebug puts NnGOT Sexpect_out buffer Vn puts Vn GOTS Sexpect_out 1 string HHHH n Save remaining to buffer data set data Sexpect_out 1 string Check return status and display result accordingly switch re Sdata off puts Port Sport is OFF on puts Port Sport is ON default puts Port Sport status is unknown Terminate telnet send exit r Sample Perl xml script HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHH Command Syntax osctlauto pl http lt ipaddress gt lt port gt lt on off gt HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH HHHHHHHHHHHHHHHHH use LWP UserAgent use XML Simple IPADDR shift
11. have proper path set for expect on first line H usr bin expect for Unix Linux based systems For windows you will have to uncomment exec and package commands as mentioned in the script All comments inside provide more info on what the script is doing 3 ea eaeu Sample Tcl Expect script usr bin expect HHHHHHHHHHAHHHAHAHHHHAHAH AHHH HAHAHAHAHAHA AHHH HHHHHHH This script switches the given port and verifies if the port is switched from a remote machine H Command Usage rosctl p lt port gt on off RR EFE FERF EFE HF HHHHHHH For windows uncomment following exectclsh SO 1 S package require Expect Check number of arguments passed to this command if lt 3 then spit out error amp exit if Sargc lt 3 puts Usage rosctl p lt port gt on off n exit 1 Set telnet host username password and other parameters modify these to reflect your setup set hostname 192 168 2 20 set username osctl set password osctl set prompt osctl s set port lindex Sargv 1 set status lindex Sargv 2 set commandcontrol osctl p Sport Sstatus set commandstatus osctl s Sport Display info puts Connecting to Shostname Connect to the telent server using the spawn command spawn telnet Shostname 3 ea mu R spawn C Putty putty exe telnet Shostname Wait for a login prompt expect re Name login Login Username Lo
12. l for that particular flavor of Unix Linux For instance on Fedore core Linux you can use yum install tcl expect to install tcl and expect Running scripts from Windows For windows based systems you can install windows free community version of ActiveTcl from Activestate http www activestate com activetcl downloads The expect is not available yet for 64bit version of Windows 7 Vista So you will need to download 32bit version for ActiveTcl first and then make sure to install expect using command teacup install Expect Also you need to enable telnet client on Windows before running any scripts In order to enable telnet on Windows follow these steps gt Start Control Panel gt Programs And Features gt Turn Windows features on or off gt Check Telnet Client gt Hit OK After that you can start Telnet via Command Prompt to check if it works 3 e The following sample script actually login into FC811 fc811 switch and issue a switch command then check whether the switch command was successful and return the result before terminating the telnet session This script takes argument port number and state of the port on off from commands line argument Cut and Paste the following script on to any editor and save as rosctl Then you can run the script by issuing rosctl p lt port gt on off For instance to switch port 2 to ON you can call script as rosctl p 2 on Make sure you
13. re part of the group p i o S osctl l gt lists ports in group like GroupName lt gp1 gt Portsinthegroup 1234 S osctl R gt delete all groups in the database Using VFC series switch as VOA The A option is used to set the attenuation of any particular output port or group to fraction of input power It takes 1 to 256 number as the divisor It sets the power of output port to 256 divisor input power divisor dB More the divisor more the attenuation is 256 is fully off amp 1 is on Note the attenuation setting is not saved once you reset or reboot the switch this setting is lost you will have to configure it again Sosctl A lt port_group gt lt in_port gt lt divisor 1 256 gt lt divisor range 1 256 gt T lt msec gt For example S osctl A 1 128 gt set attenuation of port 1 to 128 so that the output power is gt 256 128 input power 256 dB gt 1 2 the input power gt More the divisor more the attenuation 256 is fully off amp 1 is on S osctl A gp1 64 gt set the attenuation group gp1ports to 64 so output power is gt 256 64 input power 256 dB which is 1 4 of the input S osctl A 3 8 32 gt set the attenuation of ports 3 4 5 6 7 amp 8 to 32 gt which is 256 32 input power 256 dB S osctl A 1 100 160 T5000 youneed sw ver 3 0 and above for this option gt set attenuation of port 1 to
14. se passwd command from the Linux prompt and to add new user use useradd command You have to be root user in order to add a new user To simply the operation all functions are provided in a single command called osct osctl provides 3 major functions 1 Network amp Host configuration allowed only in root 2 Switch Control amp Status 3 Port group Management Network amp Host configuration The following are the commands used to configure network 1 To configure static IP osctl i lt ip gt m lt mask gt g lt gw gt 2 To use DHCP dynamic IP osctl D 3 To configure hostname alone osctl h lt hostname gt 4 To configure a DNS or Nameserver you can use n option of osctl H osctl n lt dns_server_ip gt 5 To configure syslog server to receive FC811 s events osctl S lt syslog_server_ip gt For details refer to installation section as these are explained in that section In order to switch ON or OFF particular a port or ports or a group you can use following command S osctl p lt port s gt lt port_range gt lt port_group gt lt on off gt t lt secs gt Note that the braces groups options and is equivalent to or If the options are in square brackets then it is optional Wherever you see port or in_port they all the same and represents one of 8 ports of FC811 For example gt a S osctl p 4 on
15. te missing groups gt For adding new users you can use Linux s useradd command You have to be root in order to add new user to the system 3 Hardware Specifications Electrical Input Power 100 240 AC Total Power Consumption lt 7 Watts Serial Port 1x RS232 Networking 1x 10 100 Ethernet Optical Specification for FC Series Connectivity 16 duplex LC connectors Data rate Any data rate Physical Layer Switch no limitation Wavelength nm Multimode version 850 1310 nm Singlemode version 1280 1625 nm Optical Technology 1x1 Electro mechanical optical switch Insertion Loss dB 0 5 Typical 0 8 Max without connectors Switching Time ms lt 10 Crosstalk dB lt 80 Repeatability dB lt 0 1 Optical Specification for VFC Series SM Connectivity 16 duplex LC connectors Data rate Any data rate Physical Layer Switch no limitation Wavelength nm 1310450nm_ amp 1550 50nm Optical Technology MEMS VOA Insertion Loss dB lt 0 8 dB without connectors Switching Time ms lt 5 Crosstalk dB 265 Attenuation Dynamic Range dB gt 30 Attenuation Resolution steps 256 steps Optical Power Handling mW lt 250mW channel Environmental Operating Temperature C 5 75 Storage Temperature C 40 85 Relative Humidity Range 0 85 If you have any technical guestions and need help you can send
Download Pdf Manuals
Related Search
Related Contents
c3 led - Fiatlux Lighting manual de instruções do pré aquecedor modelo dk853 Montaggio di un S7-400 Copyright © All rights reserved.
Failed to retrieve file