LuxCom OM1004 User manual

OM1004
Ethernet Switch
Three 1000BASE-X optical ports
One 10/100/1000BASE-T port
With Rapid Spanning Tree
O ERATING MANUAL
REV. 2.5
April 26, 2013
102 WALGREEN ROAD, OTTAWA, ONTARIO, K0A 1L0
Telephone (613) 831-7777 Fax (613) 831-7778
www. luxcom.com
email: sales@luxcom.com

Table of Contents
Description........................................................................................................................1
Indicators..........................................................................................................................1
Dip Switches.....................................................................................................................2
Rapid Spanning Tree rotocol (RST )..........................................................................3
Configuration Interface...................................................................................................4
OM1004 Main Menu..........................................................................................................4
The main menu is shown below.....................................................................................4
Bridge RST Menu...........................................................................................................6
Software Menu..................................................................................................................7
Specifications*.................................................................................................................9
Ordering Information.....................................................................................................10
Certification....................................................................................................................10
Warranty..........................................................................................................................10

Manual Revision History
Revision 1.0 Initial release
Revision 2.0 new format
Revision 2.1
Revision 2.2
Revision 2.3 Revise ALARM LED description
Revision 2.4 Update spec. for power s pply
Revision 2.5 a xiliary power s pply c be not s pplied.
I

Description
Description
The OM1004 Ethernet switch has three 1000BASE-X optical ports and one 10/100/1000BASE-T
electrical port. Rapid Spanning Tree (RSTP) allows red ndant connections between nodes. A
dip switch allows pl g and play RSTP, while the serial console port allows for an RSTP
config ration tailored to specific needs. Optics for m ltimode, singlemode, and single fiber
applications are available. A niversal AC power s pply is b ilt in, while an a xiliary 5V DC inp t
from an external power c be (not s pplied) allows for power so rce red ndancy. The OM1004
is enclosed in a r gged metal case for low radiated and cond cted emissions. It does not
s pport j mbo packets.
Features
RSTP algorithm allows red ndant links
One 10/100/1000BASE-T electrical port
Three 1000BASE-X optical ports
Pl g and play operation
Red ndant power s pply inp ts
Single or m ltimode fiber option
Single bidirectional fiber option
SC or ST optical connectors
Temperat re range -10°C to 70°C
Distances p to 100 km
5 Year warranty
Indicators
LNK Link On when a bidirectional optical or electrical LINK has been
established with a remote Ethernet port.
Flashing when data is being transmitted or received.
ST Spanning Tree Green when the port is forwarding packets in RSTP mode.
Yellow when the port is blocking packets (is a standby link).
Note that only one end of a blocked link shows the blocking state;
however the remote link indicator will not flash which indicates it is
not passing data, and is therefore a back p link.
Green/Yellow when the port is in the transitory learning state.
Off when the port is not in RSTP mode.
S D Speed Green when electrical port is 1000BASE-T.
ALARM The switches on the back of the OM1004 control this indicator. It is
on when the link for a required port is off, or no link is present on
any port. When a port is required for proper network operation, the
corresponding switch sho ld be p. The front panel Alarm indicator
will then come on (red) when a req ired link fails. This gives a
vis al indication of link fail re. This is especially important in a
red ndant fiber config ration where the fail re wo ld not ca se a
data transfer fail re, and wo ld hence go nnoticed. If the
electrical port is connected to a comp ter which is t rned off at the
end of the day, switch five which controls that port sho ld be down
(off) to avoid nnecessary alarms.
1

Dip Switches
Dip Switches
1 RSTP Up enables Rapid Spanning Tree Protocol (RSTP).
See the Rapid Spanning Tree section.
2Mode Up (software) allows the RSTP to be config red sing the Serial
Config ration Interface.
Down (hardware) sets the RSTP to f nction in its defa lt settings.
3Un sed
4Un sed
5 Port alarm 1 Up if port 1 (electrical port) is a req ired port. See Alarm in the
Indicator section.
6Port alarm 2 Up if port 2 (optical port) is a req ired port. See Alarm in the
Indicator section.
7Port alarm 3 Up if port 3 (optical port) is a req ired port. See Alarm in the
Indicator section.
8Port alarm 4 Up if port 4 (optical port) is a req ired port. See Alarm in the
Indicator section.
2

Rapid Spanning Tree rotocol (RST )
Rapid Spanning Tree rotocol (RST )
When a connection between Ethernet switches exists, making a second connection
directly or indirectly (thro gh a third switch) will disr pt the Ethernet network nless the
Rapid Spanning Tree Protocol (RSTP) is active. The RSTP will disable all red ndant paths,
and transmit data only over the preferred path; if the preferred path fails, the next port on
the priority list will become enabled. When the OM1004 is in RSTP mode, and Hardware
(defa lt) mode, and has red ndant paths, the data path with the lowest cost (highest
thro ghp t) becomes active, and the other path(s) are blocked. When alternate paths have
the same cost, the lowest n mber port (incl ding the RJ45 port) is the preferred path.
Alternately the serial Config ration Port on the OM1004 can be sed to set the priority of
the ports (SW2 p), however this is best avoided nless the ser is familiar with RSTP.
The following fig re shows an an example of an acceptable OM1004 spanning tree
config ration when in the defa lt pl g-and-play mode. Note that each port connects to
one other spanning tree port.
The following fig re shows an nacceptable spanning tree config ration when in the
defa lt pl g-and-play mode. Note that port 2 of switch A connects to switch B and C.
If it is desired to se the above topology, the OM1004 sho ld be set for software
config ration, and config ration men item e Set port admin p2p MAC sho ld be set to
NO (the defa lt of AUTO s ally becomes YES). This will allow the above topology at the
expense of a longer recovery time when the topology changes.
3
12 3
123
12 3
A
BC
No Spanning Tree
12 3
12 3 12 3
123
45 6
D
A
BC

Rapid Spanning Tree rotocol (RST )
Importance of the Root Node
In RSTP, the root node is f ndamental in determining the final topology of a network - i.e.
which red ndant paths become blocked. RSTP first determines the root node, then the
other nodes determine the shortest and fastest path to that root node. Ideally the root node
connects directly to eq ipment (s ch as a server) which experiences the highest traffic
vol me. The root node location cannot be controlled when all nodes are in the hardware
defa lt settings; however in software config ration mode, the men item 4 Set bridge
priority may be set to a low n mber (s ch as 0) which forces that node to be the root node.
The other nodes may be left in the hardware defa lt mode.
Configuration Interface
This serial RS232 interface allows the ser to config re the RSTP and monitor the
Ethernet statistics; its se is optional. The s pplied cable m st be connected between the
serial port of a PC and ths interface. A terminal em lation program m st be sed on the
PC. HyperTerminalTM which comes with the WindowsTM XP operating system is one
option.
To start HyperTerminalTM do the following:
Click on the START icon
Select Programs
Select Accessories
Select Comm nication
Select HyperTerminal
To config re HyperTerminalTM do the following:
Select File
Select properties
On drop-down called connect to
Select ..................direct to COM1
Select ..................config ration
Bits per Second . .= 38400
Data Bits..............= 8
Parity ...................= None
Stop Bits..............= 1
Flow control.........= Hardware
At this point pressing “enter” on the keyboard will bring p the OM1004 management
men .
OM1004 Main Menu
The main men is shown below.
OM1004 Main Men
1 Ethernet men
2 Bridge RSTP men
3 Software men
:>
1' selects the Ethernet men , etc. Enter displays the c rrent men . In a s b-men , Esc goes back
one men level.
4

The main menu is shown below.
Ethernet Menu
The Ethernet men is shown below:
OM1004 Ethernet Men
1 Show ethernet stat s
2 Show switch interface and port registers
3 Show switch global registers
4 Show port packet statistics
Esc Back
:>
This men shows stat s and statistics for each port. The ports are pl g and play, so there are no
config ration options. Ethernet men item 1 shows the link stat s of all ports; items 2 and 3 are for
factory diagnostic se only; item 4 shows the traffic statistics for each port.
Here is a sample of the information available in this men :
OM1004 Ethernet Men
1 Show ethernet stat s
2 Show switch interface and port registers
3 Show switch global registers
4 Show port packet statistics
Esc Back
:> 1
Ethernet Status
Port 1 2 3 4
Switch Port P1 P4 P6 P5
Type Electrical Optical Optical Optical
Media opper Fiber Fiber Fiber
Link Good Yes No No No
Auto-Negotiation Enabled Enabled Enabled Enabled
Speed 100BASE-TX 1000BASE-X 1000BASE-X 1000BASE-X
Duplex Full-Duplex Not available Not available Not available
MDI/MDI-X MDI NA NA NA
:> 4
Enter switch port (1 - 6): 1
Packet Statistics for Port P1 (cleared when read)
InGoodOctestsLo: 1686, InGoodOctestsHI: 0
InBadOctets: 0, OutF SErr: 0
InUnicast: 0, Deferred: 0
InBroadcasts: 22, InMulticasts: 0
64Octets: 22, 65 to 127Octets: 8
128 to 256Octets: 0, 256 to 511Octets: 0
512 to 1023Octets: 0, 1024 to MaxOctets: 0
OutOctetsLo: 512, OutOctetsHi: 0
OutUnicast: 0, Excessive: 0
OutMultcasts: 8, OutBroadcasts: 0
Single: 0, OutPause: 0
InPause: 0, Multiple: 0
InUndersize: 0, InFragments: 0
InOversize: 0, InJabber: 0
InRXErr: 0, InF Serr: 0
ollisions: 0, Late: 0
5

Bridge RST Menu
Bridge RST Menu
The Bridge RSTP men is shown below:
OM1004 Ethernet Bridge Men
See IEEE Std 802.1D-2004 for variable descriptions
1 Show bridge stat s
2 Show port stat s
3 Set defa lt config ration (reboot req ired)
4 Set bridge priority (BridgePriority)
5 Set bridge hello time (HelloTime)
6 Set bridge max age (MaxAge)
7 Set bridge forward delay (FwdDelay)
8 Set bridge protocol version (rstpVersion)
9 Set bridge transmit hold co nt (TxHoldCo nt)
a Set port priority (portPriority)
b Set port path cost (PortPathCost)
c Set port admin edge (AdminEdge)
d Set port a to edge (A toEdge)
e Set port admin p2p MAC (adminPointToPointMAC)
f Port mode check
Esc Back
:>
This men shows the stat s and config ration options for the Rapid Spanning Tree Protocol. It is
recommended that these parameters only be changed by someone with an nderstanding of IEEE
802.1D-2004. In most cases the defa lt settings are adeq ate. The RSTP options are shown below.
The hardware /software defa lt settings are shown in brackets to the right of each item.
1 Show bridge stat s Shows stat s which applies to all ports on the OM1004.
2 Show port stat s Shows stat s which applies to individ al ports on the OM1004.
3 Set defa lt config ration Restores the saved RSTP config ration to its defa lt settings. Reboot
req ired.
4 Set bridge priority [32768] The n mber m st be a m ltiple of 4096 between 0 and 61440.
A low number makes it more likely to be the RST root node.
5 Set bridge hello time [2] The interval in seconds when the root bridge broadcasts a packet with
topology information.
6 Set bridge max age [20] If another bridge in the RSTP does not send o t a hello packet in this
time (in seconds), it is ass med to be dead.
7 Set bridge forward delay [1] The time in seconds for the bridge to be in the Learning state before
the Forwarding state is entered. This delay ca ses a new bridge on a
network to look at some traffic before participating.
8 Set bridge protocol version [2] 1 = old Spanning Tree Protocol, 2 = new Rapid Spanning Tree
Protocol.
9
Set bridge transmit hold co nt
[6] The transmit hold co nt.
a Set port priority [128] This n mber m st be a m ltiple of 16 between 0 and 240. A low
n mber makes it more likely to be a forwarding port (as opposed to a
blocking port).
6

Bridge RST Menu
b Set port path cost [0] Zero ca ses the path cost to be based on the link speed (a tomatic
mode). This n mber is 2x1013/data rate in bps. A low n mber means the
port is more likely to be chosen. The maxim m n mber is 200 000 000.
c Set port admin edge [n] No ca ses the bridge detection state machine to initially ass me
operEdge is false. Yes ca ses it to initially ass me operEdge is tr e.
d Set port a to edge [n] No disables a to edge detection. Yes enables a to edge detection.
e Set port admin p2p MAC [a to] Yes ca ses the port to be treated as if it is connected to a “point-to
point” LAN. This allows the port to move into the forwarding state faster,
b t there must be only one Ethernet RST bridge directly connected
to that port (e.g., the port cannot connect to an Ethernet switch with two
or more additional RSTP bridges connected). A to ca ses
operPointToPointMAC to be set based on the d plex mode of the MAC
which is normally f ll d plex.
f Port mode check Ca ses the bridge to transmit RSTP BPDUs in order to test the
hypothesis that non RSTP bridges have been removed from the LAN
connected to the port, and if that is the case, the remaining bridges will
switch back to RSTP mode.
Software Menu
The software men is shown below:
OM1004 Software Men
1 Show stored files
2 Upload new BACKUP
3 Swap BACKUP and PRIMARY
4 Reset/Reprogram with new PRIMARY
Esc Back
:>
This men allows new software files for the OM1004 to be ploaded with the Xmodem protocol and
installed. There are two stored files: PRIMARY and BACKUP. A new pload replaces the previo s
BACKUP. The PRIMARY file is sed for reprogramming the OM1004. BACKUP and PRIMARY can
be swapped with the `3' command.
A sample session is shown below:
OM1004 Software Men
1 Show stored files
2 Upload new BACKUP
3 Swap BACKUP and PRIMARY
4 Reset/Reprogram with new PRIMARY
Esc Back
:> 1
PRIMARY MCU software file
Model: OM1004 Ethernet Switch
Card: Ethernet Card 1.1 Mar 24 2010 13:33:32
BACKUP MCU software file
Model: OM1004 Ethernet Switch
Card: Ethernet Card 1.0 Mar 5 2010 12:17:10
7

Software Menu
:> 3
BACKUP file is now PRIMARY file
:> 2
Delete BACKUP file (y/n): y
Start Xmodem transfer (Send File)
CCCCCC
File pload s ccessf l
233984 bytes ploaded
:> 3
BACKUP file is now PRIMARY file
:> 4
L xcom Technologies Inc.
OM1004 Ethernet Bridge BootLoader (Rev 1.0)
Erasing flash...
Writing flash...............................
Starting application...
L xcom Technologies Inc.
OM1004 Ethernet Bridge Application (Rev. 1.1)
FreeRTOS.org V5.2.0 - Copyright (C) 2003-2009 Richard Barry.
lwip - Copyright (c) 2001-2003 Swedish Instit te of Comp ter Science.
rstp - Copyright (c) 2007 EMC Corporation.
OM1004 Main Men
1 Ethernet men
2 Bridge RSTP men
3 Software men
:>
After the OM1004 req ests the ser to start the Xmodem transfer, the ser m st select the Xmodem
protocol and the pload file (e.g., sing HyperTerminal's Transfer/Send File men option). The
OM1004 send C's for thirty seconds. This is an indication to the terminal program to se the Xmodem
CRC protocol. After thirty seconds, the OM1004 switches to sending NAK characters every ten
seconds for another 100 seconds. This is an indication to the terminal program to se Xmodem
checks m mode. Th s, a ser has approximately 130 seconds to select the pload file. Us ally, it
doesn't matter whether the transfer occ rs in CRC or checks m mode, however, some terminal
programs don't switch a tomatically from CRC to checks m mode. In that case, it may be necessary
to select the pload file in the first thirty seconds, or defer selecting the pload file ntil the OM1004
has switched to checks m mode.
8

Specifications*
Specifications*
Optical
Model Light Fiber Optical Optical Optical Connectors
Source Size Output Sensitivity1Range2
Minimum Maximum
SX 850 nm laser 50/125 µm -9 dBm -18 dBm 550 m SC or ST
SX 850 nm laser 62.5/125 µm -9 dBm -18 dBm 275 m SC or ST
LX 1310 nm laser 50/125 µm -9 dBm -20 dBm 1 km SC or ST
LX 1310 nm laser 62.5/125 µm -9 dBm -20 dBm 1 km SC or ST
LX 1310 nm laser 9/125 µm -9 dBm -20 dBm 10 km SC or ST
LXE 1310 nm laser 9/125 µm -3 dBm -23 dBm 40 km SC or ST
BU 1310 nm TX laser 9/125 µm -9 dBm -20 dBm 20 km SC or ST
BD 1550 nm TX laser 9/125 µm -9 dBm -20 dBm 20 km SC or ST
S8031550 nm laser 9/125 µm 0 dBm -23 dBm 80 km SC or ST
S10031550 nm laser 9/125 µm 0 dBm -32 dBm 100 km SC
Electrical
Data I/O levels ........................................................................ IEEE 802.3 compatible
Data I/O connector .................................................................. RJ-45
A xiliary power inp t (c be not s pplied) ............................... 4.8 - 5.2V DC
Mains powers s pply .............................................................. 100 - 240V AC, 50-60 Hz
Power s pply certification........................................................ UL, GS, CE
Power cons mption ................................................................ < 4 Watts
General
Operating temperat re ............................................................ -10°C to 70°C
H midity (RH) ......................................................................... 10% to 95%
MTBF ...................................................................................... > 50,000 ho rs
Dimensions ............................................................................. 6.5 x 1.8 x 10 cm
Notes:
*Specifications are s bject to change witho t notice.
1 Optical sensitivity meas red at 10-10 BER.
2 The optical range val es are for typical fiber.
3 Operating temperat re range is 0°C to 70°C.
9

Ordering Information
Ordering Information
Certification
L xcom Technologies Inc. certifies that this eq ipment met its p blished specification at
the time of shipment from the factory.
Warranty
This L xcom prod ct is warranted against defects in materials and workmanship for a
period of five years from the date of shipment. L xcom will, at its option, repair or replace
prod cts that prove to be defective d ring the warranty period provided they are ret rned to
L xcom . Repairs necessitated by mis se of the prod ct are not covered by this warranty.
NO OTHER WARRANTIES ARE EX RESSED OR IM LIED, INCLUDING, BUT NOT
LIMITED TO , THE IM LIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A ARTICULAR UR OSE. LUXCOM TECHNOLOGIES INC. IS NOT LIABLE
FOR CONSEQUENTIAL DAMAGES.
Repackaging For Shipment
Before ret rning the item, paperwork indicating the name, department, company and
telephone n mber of the sender, model and serial n mber of the prod ct and a brief
description of the problem sho ld be enclosed. As well, the sender m st also req est a
Ret rn A thorization n mber from L xcom Technologies Inc. See front cover for shipping
address.
10
SC = Optical connectors
ST = Optical connectors
SX = 1000BASE-SX 850 nm m ltimode optics
LX = 1000BASE-LX 1310 nm single/m ltimode optics
LXE = 1000BASE-LX 1310 nm single/m ltimode optics
BU = 1000BASE-BX 1310 nm TX single-fiber bidirectional optics†
BD = 1000BASE-BX 1550 nm TX single-fiber bidirectional optics†
S80 = 1550 nm single-mode optics
S10 = 1550 nm single-mode optics
† The single-fiber models m st be sed as pstream/downstream pairs (one BU and one BD).
Mo nting accessories for the OM1004 can be fo nd at www.L xcom.com
OM1004-XX-XX
Table of contents
Other LuxCom Switch manuals