Chapter 5: Operation

 

 

 

Table 5-2 (Continued). Commands.

 

 

 

Command

Response

Switch Action

 

 

 

 

set port 8

A

Port 8 set to A

COMMON Port 8 will be connected to A Port 8, all other COMMON port connections will remain as is.

 

 

 

 

set port 8

B

Port 8 set to B

COMMON Port 8 will be connected to B Port 8, all other COMMON port connections will remain as is.

 

 

 

get version 1

Rack 1 Version NBS008s Rev. A

No switching action taken.

 

 

 

 

help

 

See Table 5-1.

No switching action taken.

 

 

 

 

exit

 

Goodbye

Exits terminal mode.

 

 

 

 

Programming Tips for Using the RS-232 Terminal Commands

This section applies to switches WITHOUT an Ethernet Module installed (NBS004A, NBS006A, NBS008A, NBSALL8, or NBS016 models only), and is intended for programmers who want to control the switch in an automated environment using a computer.

BACKGROUND:

When first energized, the switch provides a special rack-to-rack interface at the GANG IN connector, which operates at 2400, N, 8, 1. When the switch receives a 1200 baud SPACE character, it detects a framing error with null data. This causes it to enter “Terminal” mode and to automatically change its data rate to 1200 bps. The switch indicates that is has entered terminal mode by displaying a prompt character (“>”, ASCII HEX 0x3E). It then stays in terminal mode, until it receives the “exit” command, or detects 2400 baud characters.

While in terminal mode, the switch echoes the received characters and collects them into a buffer until it receives a carriage return character. The carriage return is echoed and then the switch begins to process the received command. Any characters received while it is processing the command are ignored. When the command is processed, the switch responds, followed by a prompt character, indicating that it is ready to receive another command. If the switch gets a command that is intended for another switch, it passes that command out the GANG OUT port, and waits up to three seconds for a response. If it does not get a response, it responds “No Response,” followed by a prompt.

PROGRAMMING:

First, your program must set its RS-232 COM port to 1200, N, 8, 1.

Since the switch may be in rack-to-rack interface mode, your program should force the switch into terminal mode. This can be done by sending a SPACE character, followed by a carriage return character. If the switch is in rack-to-rack interface mode, the SPACE character will cause it to go into Terminal mode, and will then respond with a prompt character. The carriage return will then cause it to respond with “Invalid Command,” followed by another prompt character. If the switch was already in terminal mode, then it will simply respond “Invalid Command,” followed by a prompt character.

Now that the switch is in terminal mode, your program can issue other commands, but must wait for the switch to issue the prompt character (“>”, ASCII HEX 0x3E) before sending each new command.

If the switch loses power, it will reset itself when power is restored and come back up in the rack-to-rack interface mode. You may want to include an error recovery routine in your program that tries to force terminal mode if your program does not receive a response from the switch. In applications where your program will issue commands very infrequently, you may find it useful to force terminal mode before every command in case the switch has lost power since your last command.

Page 20

724-746-5500 blackbox.com

NBS008A

Page 20
Image 20
Black Box NBS008A manual Programming Tips for Using the RS-232 Terminal Commands, Background

NBS008A, Pro Switching System 4 Network Backup Switches specifications

The Black Box Pro Switching System 4 Network Backup Switches, specifically the NBS008A model, represents a cutting-edge solution for network resilience and management. This advanced device is designed to enhance network reliability by providing a seamless way to switch between primary and backup network links, ensuring continuous connectivity for critical applications.

One of the standout features of the NBS008A is its automatic failover capability. In the event of a link failure, the system swiftly transitions to a secondary connection without requiring manual intervention. This is crucial for businesses that rely on uptime, as it minimizes downtime and ensures that operations remain uninterrupted.

The device also supports a variety of network protocols, making it versatile for different network environments. It is compatible with Ethernet and other common standards, providing flexibility for integration into existing infrastructure. The NBS008A is equipped with multiple ports, allowing for connection to various devices and networks, and enabling redundancy across critical pathways.

In terms of management, the Black Box Pro Switching System features an intuitive user interface. Administrators can easily monitor the status of all connected links, configure settings, and access diagnostic tools to troubleshoot issues. This ease of use is essential for maintaining optimal network performance and quickly identifying any potential problems.

Moreover, the NBS008A incorporates advanced security features. It supports encryption and authentication protocols that protect against unauthorized access, ensuring that sensitive data is safeguarded during transmission. This security aspect is particularly important in today’s environment, where cyber threats are prevalent and organizations must prioritize data integrity.

The build quality of the NBS008A is robust, designed to withstand harsh operational conditions while maintaining high performance. Its compact form factor and rack-mountable design make it an efficient choice for various settings, whether in a data center or a smaller office environment.

Additionally, the NBS008A supports various network speeds, accommodating both legacy systems and modern high-speed networks. With its rich feature set, robust security measures, and reliable performance, the Black Box Pro Switching System 4 Network Backup Switches, NBS008A, is an invaluable asset for organizations seeking to enhance their network's reliability and efficiency.