background image

724-746-5500   |   blackbox.com 

Page 11

Chapter 5: Operation

5.4 Ethernet Switching (SW1046A)

A/B Switch models (SW1046A) that support Ethernet remote control can be switched using commands sent over an Ethernet net-
work. In order to use the Ethernet Network port on the A/B Switch you must set the IPADDRESS, SUBNETMASK, and GATEWAY 
address parameters before connecting to your network. See Section 6 for more details on how to do this. After setting up the 
system and powering up for the first time, you may also need to change other parameters for your application. All configuration 
parameters are stored in non-volatile memory. They are immediately active when a change is made, but they will not become per-
manent until the SAVE command, followed by the RESET command has been executed.

Once the Ethernet remote control port has been configured, the A/B Switch can be switched using SNMP commands—see the 
MIB path summary in the appendix for a list of SNMP variables and their functions.

The A/B Switch also supports remote telnet access, and can be controlled via a telnet session using the same commands as  
supported by the RS-232 serial interface. Refer to Section 7 for the complete list of console commands.

As an additional option, A/B Switch models that support Ethernet remote control also include a built-in http server application 
that allows all of the console commands listed in section 7 to be accessed via a web browser interface. See Section 8 for more 
details about the web browser interface feature.

NOTE:  The NETWORK port on the A/B Switch is 10BASE-T only. The STATUS LED will blink whenever the A/B Switch receives a 

command from the Ethernet network interface or from the serial RS232 interface. In addition the STATUS LED will blink 
when a switching command is issued via the remote control contacts or front panel push button switches.

The A/B Switch also has the ability to issue either SNMP traps, or UDP syslog messages. These messages can be sent to one or 
more network administrator systems to provide notification when the A/B Switch changes connection states either automatically 
(auto bypass switching or auto recovery switching) or via manual control (front panel toggle switch or commands received on the 
RS232 or Ethernet interfaces), and when certain other events occur. See Section 10 and Section 11 for additional details.

To restrict access to the A/B Switch, each of the Ethernet interface options (SNMP, telnet, and web browser) can be independently 
enabled/disabled, and if enabled, can be configured to require a login password. Additionally, user access can be restricted by IP 
address so only commands received from pre-defined “administrator” IP addresses will be acknowledged and acted upon. See 
section 7 for additional information regarding these commands.

5.5 Automatic Switching

The A/B Switch models that support Ethernet remote control can also be configured to automatically switch between a “normal” 
connection state (port C connected to port B) and a “bypass” or “failover” connection state (port C connected to port A). User 
configurable failover and recovery parameters control the auto-switching functions to allow the switch to be used in a variety of 
applications. In order to be able to perform the auto bypass and auto recovery switching functions, the A/B Switch issues ICMP 
echo request (PING) packets from its Ethernet network interface to a user configurable IP address on the network. If the “normal” 
network path connections between the A/B Switch and the device being monitored go down for any reason, the A/B Switch will 
no longer be able to PING the specified IP address, and will then automatically switch from the “normal” connection state (port C 
connected to port B) to the “bypass” or “failover” connection state (port C connected to port A). Once the problems on the  
primary path have been identified and corrected, the user can issue a command to cause the A/B Switch to switch from the 
failover connection state back to the normal connection state. If auto recovery is enabled, the A/B Switch will automatically  
re-connect the normal path connections when it is again able to PING the user specified IP address. When using the auto  
recovery feature, make sure that the Ethernet network port on the A/B Switch is connected to the user’s network so that the  
normal path is continuously being monitored even when the backup path has been selected; otherwise, the A/B Switch could 
repeatedly switch (flap) back and forth between the failed primary path and the functioning backup path. See Figures 5-1 and 
5-2 for examples of auto switching configurations.

Summary of Contents for SW1046A

Page 1: ...y Controlled Layer 1 A B Switch DB9 SW1046A SW1047A Order toll free in the U S Call 877 877 BBOX outside U S call 724 746 5500 FREE technical support 24 hours a day 7 days a week Call 724 746 5500 or fax 724 746 0746 Mailing address Black Box Corporation 1000 Park Drive Lawrence PA 15055 1018 Web site www blackbox com E mail info blackbox com Customer Support Information ...

Page 2: ...Support at 724 746 5500 or go to blackbox com and click on Talk to Black Box You ll be live with one of our technical experts in less than 60 seconds Trademarks Used in this Manual Black Box and the Double Diamond logo are registered trademarks of BB Technologies Inc Any other trademarks mentioned in this manual are acknowledged to be the property of the trademark owners ...

Page 3: ...wn expense will be required to take whatever measures may be necessary to correct the interference Changes or modifications not expressly approved by the party responsible for compliance could void the user s authority to operate the equipment This digital apparatus does not exceed the Class A limits for radio noise emis sion from digital apparatus set out in the Radio Interference Regulation of I...

Page 4: ...an el flujo de aire por los orificios de ventilación 10 El equipo eléctrico deber ser situado fuera del alcance de fuentes de calor como radiadores registros de calor estufas u otros aparatos incluyendo amplificadores que producen calor 11 El aparato eléctrico deberá ser connectado a una fuente de poder sólo del tipo descrito en el instructivo de operación o como se indique en el aparato 12 Precau...

Page 5: ...on 9 5 Operation 10 5 1 Manual Switching 10 5 2 Dry Contact Closure Switching 10 5 3 Serial RS 232 Switching 10 5 4 Ethernet Switching 11 5 5 Automatic Switching 11 6 Ethernet Network Interface Setup SW1046A 13 7 Console Commands SW1046A 15 8 Web Interface SW1046A 22 9 SNMP MIB Path Summary 24 10 Traps Summary 25 11 Syslog Messages 26 ...

Page 6: ...tate load Connectors SW1046A A B Switch Port 3 DB9 F Ethernet Control Port 1 RJ 45 Serial Control PortL 1 DB9 F Remote Control Status Port 1 6 position pluggable Phoenix terminal block Power 1 3 5 mm power input SW1047A A B Switch Port 3 DB9 F Remote Control Status Port 1 6 position pluggable Phoenix terminal block Power 1 3 5 mm power input Indicators 2 Switch Position LEDs A and B 1 Command Stat...

Page 7: ...k connector on the rear of the unit provides remote control capability and accepts external dry contact closures as inputs See Section 5 1 and Section 5 2 for additional details Models with Serial control capability SW1046A include an RS 232 console port that can be used to control the switch port connection state as well as monitor switch status using a serial RS 232 terminal type device See Sect...

Page 8: ...t the factory and should not be changed from their default settings They are shown here for reference only Table 3 1 Jumper settings Jumper Position Function W1 1 2 position no Ethernet control module SW1047A 2 3 position Ethernet control module installed SW1046A W2 1 2 position no Ethernet control module SW1047A 2 3 position Ethernet control module installed SW1046A NOTE DIP switch SW1 resistors ...

Page 9: ...nd hold for approximately 1 second the appropriate front panel pushbutton switch until the A B Switch changes connection state One of the LEDs A or B on the front of the unit will indicate the selected connection state and also serves to show that the switch has power Connect RJ 45 cables DB9 cables between the A B and C ports on the switch and your devices The A B Switch connects the C Common por...

Page 10: ...e status relay contact pin 5 will be internally connected shorted to either pin 4 switch in position A or pin 6 switch in position B See Table 5 1 for the pin assignments on the 6 position terminal block Table 5 1 6 position terminal block pin assignments Pin Number Description 1 A control input 2 Ground 3 B control input 4 Status Relay A contact 5 Status Relay COMMON 6 Status Relay B contact 5 3 ...

Page 11: ... switch or commands received on the RS232 or Ethernet interfaces and when certain other events occur See Section 10 and Section 11 for additional details To restrict access to the A B Switch each of the Ethernet interface options SNMP telnet and web browser can be independently enabled disabled and if enabled can be configured to require a login password Additionally user access can be restricted ...

Page 12: ... B Switch s internal Ethernet node set the A B Switch s monitormac address parameter to the MAC address of the gateway router on the A B Switch s subnet and set the monitorip address parameter to the IP address of the device being monitored This allows the PING packet issued by the A B Switch to be routed through the gateway router to the target device on a different subnet network If you don t kn...

Page 13: ...rting Rack position A Console ready At this point the A B Switch is ready to accept the configuration commands that are necessary before you will be able to communicate with the unit over an Ethernet network You will need to enter an IP address subnet mask and gateway address information for basic access You will also need to set the read and write SNMP community names if using SNMP or a web passw...

Page 14: ...izes you will again be greeted by the sign on message as before At this time you can connect an Ethernet cable to the 10Base T network port on the A B Switch and to an available port on your Ethernet switch or router The A B Switch will respond to SNMP telnet and HTTP messages at the assigned IP address ...

Page 15: ...C Address 00 06 57 00 01 02 Subnet Mask 255 255 255 0 Gateway IP Address 192 168 1 1 PING Reply Enabled SNMP Enable Enabled Read Community Name public Write Community Name private Web Enable Enabled Web Password mctech Web Timeout 300 Web Port 80 Telnet Enable Enabled Telnet Password dataman Telnet Timeout 80 Telnet Port 23 Monitor IP Address 192 168 1 113 Monitor MAC Address 00 00 00 00 00 00 Mon...

Page 16: ...r display whether or not the A B Switch will respond to incoming PINGs ICMP echo requests Any change will not become permanent until a SAVE operation is performed SET SNMPENABLE ON OFF GET SNMPENABLE Set or display whether or not the SNMP interface on the A B Switch is enabled Any change will not become permanent until a SAVE operation is performed SET READCOMMUNITYNAME string GET READCOMMUNITYNAM...

Page 17: ...play the current state of telnet based access The network module will not accept any telnet requests when telnet enable is off Any change will not become permanent until a SAVE and RESET operation sequence is performed SET TELNETPASSWORD string GET TELNETPASSWORD Set or display the current telnet password Note that this is a case sensitive field Any change will not become permanent until a SAVE an...

Page 18: ...onitormac address is set to 00 00 00 00 00 00 the A B Switch will automatically determine the proper MAC address required for the PING packet by issuing an ARP request to the gateway router Any change will not become perma nent until a SAVE operation is performed SET MONITORINTERVAL N GET MONITORINTERVAL Set or display the time interval between PINGs issued by the internal Ethernet node in the A B...

Page 19: ...0 If all 8 ADMIN IP addresses are 0 0 0 0 no ADMIN IP addresses are configured the A B Switch will allow access via the Ethernet interface from any IP address subject to the existing password and enable flags for each interface If one or more ADMIN IP addresses are non zero the A B Switch will only process messages received from the configured non zero ADMIN IP addresses All other messages will be...

Page 20: ... message Request timed out SAVE Save settings for next startup All settings are stored in NV memory and restored upon power on Any change will not become permanent until a SAVE and RESET operation sequence is performed RESET Causes a network system reboot and reloads all parameters from stored settings NOTE You will lose your connection and have to log in again if giving this command from a telnet...

Page 21: ... 0 0 0 0 to disable GET SET MONITORMAC X X X X X X X HEX CHARS GET SET MONITORINTERVAL N 1 10 seconds 0 to disable GET SET MONITORFAILCOUNT N 0 to disable GET SET MONITOROKCOUNT N 0 no auto recover GET SET AUTHENTICATIONTRAP ON OFF GET SET ALERTTYPE TRAP SYSLOG GET SET ADMINIP N X X X X 0 0 0 0 to disable an entry GET ADMINIP display all administrator IP addresses GET SET MANAGER N X X X X 0 0 0 0...

Page 22: ...address index html in your web browser s URL address line will present a log on page for the A B Switch similar to the following example Note If using a pop up blocker on your web browser be sure to allow pop ups from the IP address of the A B Switch otherwise you could experience trouble receiving a response through the interface Figure 8 1 Logon screen After successfully entering the correct web...

Page 23: ...e following is an example result of the GET ALL command Figure 8 3 Example Command Results screen The A B Switch will only allow 1 telnet or web access session To free up a session without waiting for the web timeout click Logoff For this reason the web timeout should be set to a workable time Resetting the A B Switch will also clear the current web session ...

Page 24: ...hen set to B the switch will connect channel B to C d1000KeyStat 1 3 6 1 4 1 9477 1 7 2 D1000 Key Lock Switch Status This is a read only variable This variable can be used to determine if the Key Lock Switch is in the OFF or ON position Although the standard A B Switch does not have a Key Lock Switch this feature is supported and could be added on future models d1000PowerStat 1 3 6 1 4 1 9477 1 7 ...

Page 25: ...g theses traps and the SNMP MIB objects supported by the A B Switch please refer to the d1000 mib file supplied with your switch generic trap 0 coldStart issued when the unit is powered up or after a RESET command generic trap 4 AuthenticationFailure issued when an invalid SNMP read write community name is used when attempting to access the A B Switch specific trap 6 SystemSwitchChange issued in r...

Page 26: ...e clock within the A B Switch however so each syslog message uses a default timestamp value of Jan 1 00 00 00 The device receiving the syslog messages will need to apply a timestamp or other identifier if this information is needed The general format for each syslog message from the A B Switch is as follows Jan 1 00 00 00 IP address Bypass Switch specific message based on the event that occurred L...

Page 27: ...724 746 5500 blackbox com Page 27 NOTES ...

Page 28: ...4 7 Tech support available in 60 seconds or less Copyright 2015 Black Box Corporation All rights reserved Black Box and the Double Diamond logo are registered trademarks of BB Technologies Inc Any third party trademarks appearing in this manual are acknowledged to be the property of their respective owners Black Box Tech Support FREE Live 24 7 Tech support the way it should be Great tech support i...

Reviews: