724-746-5500 | blackbox.com
Page 28 NBS008A
724-746-5500 | blackbox.com
Chapter 7: Console Commands
SET SYSTEM A[B]
Sets the entire system (all connected racks) to position A or B.
GET RACK N
Displays status of rack N (1-255). This is the same as the status returned by the SNMP variable abRackCards. It displays a
16-character string showing the status of each port.
Rack Status: AAAABBAABBBBAABB
SET RACK N A[B]
Sets the entire addressed rack N (1-255) to position A or B.
GET PORT N
Displays the connection status of COMMON port N ( NBS/NAC Gang Switch models) or Device port N (Sharing
Switch models) where N is the port number (1-4080). Switch port addresses are assigned using the formula N = 16*(rack address
– 1) + port#. The response will be “A” or “B”, or “X” (if a port is not present).
Port Status: B
Port Status: X
SET PORT N A[B]
Sets the addressed COMMON port N (or the addressd Device port N on Sharing Switch models) to position A or B. Switch port
addresses are assigned using the formula N = 16*(rack address – 1) + port # and have a range of from 1 to 4080.
GET EV ERYRACK
Displays status of all racks (1 thru 255). This command displays the “Rack Status” for racks 1 thru 255, stopping when it reaches
rack 255 or encounters a “no response” from the requested rack. This is the same as the st atus returned by the SNMP variable
abRackCards. It displays a 16-character string showing the status of each por t.
Rack 1 Status: AAAABBAABBBBAABB
Rack 2 Status: AAAABBBBXXXXXXXX
Rack 3 Status: no response
GET EVERYRACK N
Displays status of rack (1 thru N). This command displays the “Rack Status” for racks 1 thru N, stopping when it reaches rack N or
encounters a “no response” from the requested rack. This is the same as the status returned by the SNMP variable abRackCards.
It displays a 16-character string showing the status of each por t.
Rack 1 Status: AAAABBAABBBBAABB
Rack 2 Status: AAAABBBBXXXXXXXX
Rack 3 Status: no response
GET POWER N
Displays the status of the power supplies for rack N. If only one power supply is being used to power the rack or if one of the
supplies in a dual-powered rack is down, the response will be “One Supply Down.” If two supplies are used and both are
operational, the response will be “Two Supplies.”
Power Status: One Supply Down
Power Status: Two Supplies