DDOC0108-000PDFA203/20/19Change nomenclature to CNS4 CSfC0319-0002
NOTE
The content revision level remains unchanged for chapters / appendices impacted only by nomenclature change (implemented by revision A2).
The Curtiss-Wright CNS4 CSfC DDOC0108-000-A2 User Guide is made up of the following
individual chapters / appendices:
Chapter / AppendixTopicContent Revision
1.0Introduction0.0
2.0Overview1.0
3.0Controls and Indicators0.0
4.0Installation1.0
5.0Quick Start1.0
6.0Operation1.0
7.0System Configuration0.0
8.0Troubleshooting0.0
9.0Simple Network Management Protocol0.0
10.0Remove / Replace2.0
11.0Command Line Interface0.0
ASpecifications0.0
BCables / Connectors0.0
COrdering Information1.0
Changes to content are shown through the use of change bars placed in the left margin next to the
changed material.
CNS4 CSfCi
Page 4
User GuideDDOC0108-000-A2
Safety
WARNING
HAZARD. A potential hazard that could result in serious injury or death.
Information contained in WARNINGS applies to dangers and hazards that may result in injury and
/ or death to personnel. The actual hazard is provided in CAPITALIZED letters and the information
that mitigates the danger is provided in sentence case. This information typically precedes
procedural steps. It also may be present in narrative text to warn operators or maintenance
personnel of dangers present in the equipment.
CAUTION
HAZARD. A potential hazard that could result in equipment damage or improper operation.
Information contained in CAUTIONS applies to dangers and hazards that may result in damage to
equipment or improper operation. The actual hazard is provided in CAPITALIZED letters and the
information that mitigates the danger is provided in sentence case. This information typically
precedes procedural steps. It also may be present in narrative text to warn operators or
maintenance personnel of dangers present in the equipment.
NOTE
Amplifying information that helps in making a task of procedure more easily understood.
NOTES are used to supply amplifying information that will result in ease of testing or be beneficial
to personnel. This information typically precedes procedural steps. It also may be present in
narrative text as well.
Style and Conventions
This user guide uses the following typographical conventions.
This styleRefers to
Ready
go
NTERSpecial keys on the keyboard, such as enter, alt, and spacebar.
E
SaveSoftware command buttons and sections of dialog boxes, such as
File OpenA menu and a specific menu command.
LT+F1Pressing more than one key at the same time.
A
ALT, TABPressing more than one key in sequence.
xx,yyVariable in error messages and text.
jobfile.datFile names.
xyz
Text the software displays.
Anything you type, exactly as it appears, whether referenced in text or
at a prompt.
1.4 Related Information ................................................................................................................................... 1-2
2.1.3 ILE Module ...................................................................................................................................... 2-4
5.9 Format / Mount NAS Partitions.................................................................................................................. 5-8
5.10 Unformat NAS Partitions ......................................................................................................................... 5-9
5.11 Close Software Encryption Containers.................................................................................................... 5-9
6.2.1.1 Time ....................................................................................................................................... 6-2
6.2.4 Storage Media ................................................................................................................................. 6-5
6.2.5 Health .............................................................................................................................................. 6-7
6.2.6 Built-In Test ..................................................................................................................................... 6-8
7.2 all ............................................................................................................................................................... 7-2
7.4 format ........................................................................................................................................................ 7-3
7.16 multi ......................................................................................................................................................... 7-8
7.21 part .......................................................................................................................................................... 7-9
7.28 status ..................................................................................................................................................... 7-12
7.33 version ................................................................................................................................................... 7-14
8.1 LED Indicators ........................................................................................................................................... 8-1
A.3 Power Dissipation .....................................................................................................................................A-3
A.6.1 Temperature ...................................................................................................................................A-3
B.1 Power / RS-232.........................................................................................................................................B-1
Table C.1Ordering Information ............................................................................................................................. C- 1
DDOC0108-000-A2 viii
Page 11
User GuideDDOC0108-000-A2
DDOC0108-0001
FSM-C Modules
ILE Module
CNS4 Chassis
Introduction
1.1Purpose
The purpose of this manual is to describe the Curtiss-Wright CNS4 CSfC Common Airborne
Recorder (CAR) Line Replaceable Unit (LRU) and to guide users through the process of
unpacking, installing, configuring, and using the unit. The CNS4 CSfC (Figure 1.1) requires the
use of multiple Flash Storage Modules-Carriers (FSM-C) and an In-Line Encryptor (ILE) to
operate. From this point forward, the product will be referred to as the CNS4; the associated
storage modules as FSM-C modules; and the associated encryptor module as the ILE module.
Figure 1.1CNS4 CSfC CAR LRU
1.2Scope
The information in this user guide is intended for information systems personnel, systems
coordinators, or highly skilled network users. This manual contains the following information:
•An overview of the CNS4.
•Unpacking, installation, and setup information.
•User interface connections.
•User input.
•Configuration options.
•Product specifications.
•Operation requirements.
•Environmental restrictions.
•Connector pinout and specifications.
•Ordering information for related products and parts
CNS4 CSfC1 - 1Introduction
Revision 0.0
Page 12
User GuideDDOC0108-000-A2
1.3Quality Assurances
Curtiss-Wright Controls, Inc., Electronic Systems is committed to leveraging our technology
leadership to deliver products and services that meet or exceed customer requirements. In
addition to the physical product, the company provides documentation, sales and marketing
support, hardware and software technical support, and timely product delivery. Our quality
commitment begins with product concept and continues after receipt of the purchased product.
Curtiss-Wright Controls, Inc., Electronic Systems' Quality Management System is accredited to the
latest revision of the aerospace standard, AS9100 Quality Management Systems - Requirements
for Aviation, Space, and Defense Organizations.
Our Quality System addresses the following basic objectives:
•Achieve, maintain, and continually improve the quality of our products and service through
established design, test, production and service procedures.
•Improve the quality of our operations to meet the needs of our customers, suppliers, and other
stakeholders.
•Provide our employees with the tools and overall work environment to fulfill, maintain, and
improve product and service quality.
•Ensure our customer and other stakeholders that only the highest quality product or service
will be delivered.
Eagle Registrations Inc. assessed Curtiss-Wright's Quality Management System and confirmed
conformance to AS9100D including ISO 9001:2015 with Certificate No. 5819. The scope of the
registration is as follows: "Design, manufacture, test and repair of board level products, electronic
sub-systems, related software and services for commercial, aerospace and military applications.”
Customer feedback is integral to our quality and reliability program. We encourage customers to
contact us with questions, suggestions, or comments regarding any of our products or services.
We guarantee professional and quick responses to your questions, comments, or problems.
•PuTTy User Manual (client program for SSH, Telnet, and Rolgin network protocols)
•Technical Note 8004 CNS4 CSfC Software and Firmware History
•NSA CSfC Program https://www.iad.gov/iad/programs/iad-initiatives/commercialsolutionsfor-
classified.cfm
1.5Technical Support
Technical documentation is provided with all of our products. This documentation describes the
technology, its performance characteristics, and includes some typical applications. It also
includes comprehensive support information, designed to answer any technical questions that
might arise concerning the use of this product. We also publish and distribute technical briefs and
application notes that cover a wide assortment of topics. Although we try to tailor the applications
to real scenarios, not all possible circumstances are covered.
CNS4 CSfC1 - 2Introduction
Revision 0.0
Page 13
User GuideDDOC0108-000-A2
While we have attempted to make this document comprehensive, you may have specific problems
or issues this document does not satisfactorily cover. Our goal is to offer a combination of products
and services that provide complete, easy-to-use solutions for your application.
If you have any technical or non-technical questions or comments, contact us. Hours of operation
are from 8:00 a.m. to 5:00 p.m. Eastern Standard/Daylight Time.
•World Wide Web address: http://www.cwcdefense.com/
To contact a local Curtiss-Wright sales representative go to: http://www.cwcdefense.com/
sales.html, point to your location on the map presented, then click on the pop-up with the sales
representative's name.
CNS4 CSfC1 - 3Introduction
Revision 0.0
Page 14
User GuideDDOC0108-000-A2
Overview
2.1Description
The CNS4 is a high-performance multimedia data acquisition and encrypting network file storage
device. The CNS4 is protocol flexible, providing CIFS, NFS, FTP, HTTP, DHCP, SNMP, and iSCSI
file access protocols, making it ideal for sharing critical data in a harsh environment. The CNS4 is
a modular design, consisting of
•CNS4 chassis
•ILE module
•One to four FSM-C module(s)
The ILE module and FSM-C module(s) plug into a high-insertion rate backplane in the CNS4
chassis. The unit has four 1-Gbps Ethernet ports accessed via front panel connectors.
2.1.1Chassis
The CNS4 chassis (Figure 2.1) is made up of the following major subassemblies:
•Backplane Subassembly
•Storage Backplane
•ILE Backplane
•Holdup Subassembly
•Power Supply Subassembly
•USB Flash Module
•COM Express PCB / Memory Module
•Main Carrier Subassembly
It also contains one AA battery to supply power to the Real Time Clock (RTC) and two external
trigger monitoring circuits.
The backplane is used to provide a means of interconnecting the FSM-C modules and the ILE
module to the main carrier subassembly. The backplane is made of two joined components that
have multiple low-force insertion sockets. Both backplane components plug into the main carrier.
The main carrier subassembly provides overall system interconnection. As a result, the power
supply and hold up sub-assemblies are connected to it as well. In addition, it supports external
communications through the four Ethernet connectors and power / RS-232 connector that are
installed on it. The Ethernet connectors (GBE0 through GBE3 support 0, 100, and 1000 Base-T
Ethernet. They support Ethernet IEEE 802.3ab standard over copper in full duplex.Refer to
Cables / Connectors section for additional information regarding the interface connectors and
associated cables. The subassembly also has a set of utility connectors used for manufacturing
and service activities. Contact Curtiss-Wright for more information about end-user utilization of
these connectors.
The COM Express PCB contains the main CPU and RAM memory for the unit. The USB flash
module contains the BIOS and operating system.
The power supply assembly takes the 28 VDC input power, cleans and conditions it, and then
distribute it to the entire system. The holdup subassembly consists of a series of capacitors and a
power monitoring circuit. It ensures the unit can power down in an orderly fashion if the 28 VDC
input power is suddenly removed.
The chassis has four status LEDs. Refer to paragraph 3.1 CNS4 Chassis Controls / Indicators
for information regarding the LEDs.
Control of CNS4 chassis functions is established through the Command Line Interface (CLI). Refer
to Command Line Interface section for additional information regarding applicable CLI
commands. Multiple CNS4 chassis functions are monitored to ensure proper operation. Refer to
paragraph 6.2.5 Health for additional information.
CNS4 CSfC2 - 1Overview
Revision 1.0
Page 15
User GuideDDOC0108-000-A2
Figure 2.1CNS4 Assembly
Power Supply Subassembly
eUSB Flash Module
Storage Backplane
Main Carrier Subassembly
Holdup Subassembly
ILE Backplane
ILE Module
Ethernet Connectors
Power Supply Subassembly
Main Carrier Subassembly
Memory Module
Power/ RS-232 Connector
Battery
Utility Connectors
COM Express Module
DDOC0108-0002
CNS4 CSfC2 - 2Overview
Revision 1.0
Page 16
User GuideDDOC0108-000-A2
Removal
Request
Button
Status LED
Fault LED
Power LED
SATA PORT
POWER
DDOC0108-0010
I2C Register EPROM
Temperature Sensor
Voltage Sensor
SYSTEM
MANAGEMENT
2.5 SATA
Solid State Drive
2.1.2FSM-C Module
CAUTION
EQUIPMENT DAMAGE. Do not remove / install a FSM-C module with power applied or damage to
the FSM-C module and / or CNS4 will occur.
CAUTION
EQUIPMENT DAMAGE. Use ESD precautions when handling a FSM-C module. Failure to
properly handle FSM-C modules can result in damage.
CAUTION
EQUIPMENT DAMAGE. Ensure wedge-lock levers are in closed position when FSM-C module is
installed in CNS4 chassis. The levers are thermally conductive and must be closed to provide
proper heat dissipation for the FSM-C module. Failure to close levers will result in improper
operation / failure of the FSM-C module.
Up to four FSM-C modules can be installed in the CNS4 chassis. Each FSM-C module is a 2.0 TB
storage module that uses EMLC type memory. The FSM-C modules are installed behind an
access door located on the front of the CNS4 chassis. Each FSM-C module has three status LEDs
and a removal request button. Refer to paragraph 3.3 FSM-C Module Controls / Indicators for
information regarding the LEDs and button. Refer to Figure 2.2 for a block diagram of the FSM-C
module.
Figure 2.2FSM-C Module Block Diagram
The FSM-C module design supports dynamic and static data wear-leveling enforcing an even
distribution of erase/write cycles. This prevents excessive writes to the same flash locations
extending the life cycle of the memory. An ECC engine is present to provide bit error detection and
correction in the physical NAND memory. In addition, a Bad Block Management (BBM) algorithm is
included to replace bad-blocks. Wear-leveling, ECC, and BBM techniques provide an extended
endurance rating for the FSM-C module storage. The FSM-C supports Serial Advanced
Technology Attachment (SATA I/II) interface bus. It is capable of data transfer rates of 1.5 Gbps
and 3.0 Gbps (SATA I and SATA II respectively).
The FSM-C model (Figure 2.3) enclosure is constructed of two custom-machined anodized
aluminum covers fastened together with screws. The internal structure is designed to dissipate
component heat and provide rigidity. This closed structure makes the FSM-C module less
susceptible to problems due to adverse environments and provides silent vibration-free operation.
The FSM-C module uses conduction cooling. Its internal structure transfers heat to a physically
connected aluminum enclosure, which in turn conducts the heat through the wedgelock guide rails
to the CNS4 chassis. The interconnect plug is keyed to ensure the FSM-C module is inserted
correctly into the CNS4 chassis.
The FSM-C module is NOT hot-swappable, the CNS4 MUST be powered down prior to removal or
installation of any modules. The module is removed by grasping a pair of wedgelock levers and
pulling them away from the module's body. An additional eject lever is provided to assist with
removing the module. After removal, the FSM-C module can be transported in an ESD-safe
carrying case.
CNS4 CSfC2 - 3Overview
Revision 1.0
Page 17
User GuideDDOC0108-000-A2
Figure 2.3FSM-C Module
See DETAIL A
DETAIL A
Standard Keying
Wedgelock
Lever
Eject Lever
Wedgelock
Lever
Control of FSM-C module functions is established through the Command Line Interface (CLI).
Refer to Command Line Interface section for additional information regarding applicable CLI
commands. Several FSM-C functions are monitored to ensure proper operation. Refer to
paragraph 6.2.5 Health for additional information. Refer to Ordering Information section for the
FSM-C module part number. Refer to paragraph 10.2 FSM-C Module - Install / Remove for
instruction on installing or removing the FSM-C module.
2.1.3ILE Module
CAUTION
EQUIPMENT DAMAGE. Do not remove / install a ILE module with power applied or damage to the
ILE module and / or CNS4 will occur.
CAUTION
EQUIPMENT DAMAGE. Use ESD precautions when handling a ILE module. Failure to properly
handle ILE modules can result in damage.
The CNS4 uses the Curtiss-Wright FIPS 140-2 certifiable ILE module for hardware encryption. For
CSfC, the ILE module works in conjunction with software encryption present on each FSM-C
module. The FSM-C module(s) accepts the cipher text written from the ILE module and retains it
until read and decoded by the ILE module. The ILE module has two encryption modes:
Removal Request
DDOC0108-0009
Button
Power LEDStatus LED
Fault LED
•Internally generated Date Encryption Key (DEK).
•Externally provided DEK.
The ILE module uses the Advanced Encryption Standard (AES) and a 256-bit encryption key. As a
result, sensitive data can be protected when processed through the ILE module. Refer to Figure
2.4 for a block diagram of the ILE module.
CNS4 CSfC2 - 4Overview
Revision 1.0
Page 18
User GuideDDOC0108-000-A2
RS-232 (Optional)
I2C
Status
Key Purge
RS-232
(Reserve Keep Alive)
Zeroize
Button
Power LED
Key LED
Fault LED
5V
AES256-bit
Encryption
AES256-bit
Encryption
AES256-bit
Encryption
AES256-bit
Encryption
SRAM
Battery Backup
AES KEY
Storage
Admin / Use Login
Default Settings
DC-DC
Power
µController
SATA Ports
To FSM-C
Modules
DDOC0108-0014
ZEROIZE
ILE
PFS
DDOC0108-0015
Power LEDStatus LED
Fault LED
Eject Lever
Wedge Locks
Allen Screw
Zeroize Button
Figure 2.4ILE Module Block Diagram
The ILE module (Figure 2.5) is NOT hot-swappable, the CNS4 MUST be powered down prior to
removal or installation of the module. The module is removed by rotating a pair of Allen screws to
lower the wedge locks. The unit is removed by grasping the eject lever and pulling the module
from the chassis. After removal, the ILE module can be transported in an ESD-safe carrying case.
Figure 2.5ILE Module
A single ILE module contains four encryptors which performs the data encryption for all installed
CNS4 CSfC2 - 5Overview
FSM-C modules. The four encryptors are labeled A through D, with encryptor A assigned to FSMC module 0, B to 1, C to 2, and D to 3. As a result a single DEK can be assigned to all installed
FSM-C modules or a separate DEK can be assigned to each FSM-C module.
Revision 1.0
Page 19
User GuideDDOC0108-000-A2
The ILE module is located behind a front panel access cover labeled FIPS CRYPTO. The ILE
module has three status LEDs and a zeroize button. Refer to paragraph 3.2 ILE Module Controls / Indicators for information regarding the LEDs and button.
The ILE module encryption key(s) can be zeroized (removed) by one of the three methods:
•Pressing the zeroize button on the ILE.
•Applying an external trigger via a signal applied through the Power / RS-232 connector / cable.
•Sending a software command via the Command Line Interface (CLI).
Refer to paragraph 6.4.1 Zeroize for more information regarding removing the encryption key from
the CNS4 / ILE module.
NOTE
The 1st account created on the ILE is always the crypto officer account (had admin privileges).
Four additional user accounts can be created as well.
Control of ILE module functions is established through the CLI. Refer to Command Line Interface
section for additional information regarding applicable CLI commands.Several ILE functions are
monitored to ensure proper operation. Refer to paragraph 6.2.5 Healthfor additional information.
Refer to paragraph Figure 10.1 ILE Module Replacement for instruction on installing or removing
the ILE module. The ILE requires use of an account to access data. Refer to paragraph 6.4.1
Zeroizet for additional information.
2.2CNS4 Features
•Built-In-Test
•Power-On (PBIT)
•Initiated (IBIT)
•Continuous (CBIT)
•Command Line Interface
•Encryptor Features
•CSfC Associated Encryption
•Hardware Encryption Layer
•Software Encryption Layer
•Local Zeroization
•Remote Zeroization
•Five-second Power Hold Up
•Four 1 Gigabit Ethernet Ports
•Health Monitor (with Front Panel Indicator)
•Indicator Brightness Control
•Multiple Protocols
•Common Internet File System (CIFS)
•Dynamic Host Configuration Protocol (DHCP)
•File Transfer Protocol (FTP)
•HyperText Transfer Protocol (HTTP)
•Internet Small Computer System Interface, (iSCSI)
•Network File System (NFS)
•Secure Shell Protocol (SSH)
•Simple Network Management Protocol (SNMP)
•Power / RS-232 Port
•Solid-state Storage
•Thermal Overtemp Sensors
CNS4 CSfC2 - 6Overview
Revision 1.0
Page 20
User GuideDDOC0108-000-A2
2.3Protocols
The CNS4 supported protocols include CIFS, NFS, FTP, HTTP, DHCP, SNMP, and iSCSI in
addition to its RS-232 console port. These protocols are disabled by default. The unit also
supports SSH, which is always enabled. The user can enable the desired protocols to support their
application. Refer to paragraph 11.2.23 serv for additional information.
The FDEEEcPP20 and FDEAAcPP20 Protection Profiles did not consider, nor did they include
networking protocols as part of the security functional requirements, and as a result, did not
include any requirements for addressing those protocols.
Therefore, as per the FDEEEcPP20 and FDEAAcPP20, the protocols have not been examined as
part of the required assurance activities and consequently the evaluation can make no claims
about the CNS4’s networking protocols.
It is suggested that a customer using the product consider the impact of utilizing remote
administration via SSH across the network (rather than through the console) based upon their
specific use case. The customer should factor into their risk management decision the
environment in which the CNS4 operates (dedicated, segregated, private network versus residing
in a Demilitarized Zone [DMZ] accessible to the Internet), and the value of data to be protected.
2.4CSfC Encryption
Commercial Solutions for Classified (CSfC) encryption is based on a National Security Agency
(NSA) specification. The CSfC program requires multi-layered security. Hardware data encryption
is used for the first security layer. The second security layer is software data encryption. The
hardware encryption is performed in the ILE module, the software encryption is performed on the
FSM-C module(s) loaded in the CNS4 chassis.
Proper encryption / decryption is dependent on the use of keys and passphrases. The key resides
in hardware layer on the ILE module. As a result, if an ILE module is changed, unless the exact
same key is loaded on the second module, the FSM-C modules will not be accessible. The
passphrase resides in the software layer on the FSM-C module. So if a FSM-C module is
swapped, unless the second FSM-C has been encrypted with the same passphrase, its stored
data will not be accessible.
2.4.1Hardware Layer Encryption
CAUTION
IMPROPER OPERATION / LOST DATA. If the specific user token key is lost, the user account will
be rendered unusable.
NOTE
Refer to paragraph 6.4.2 Hardware Encryption Layer for information regarding the actual
commands and procedures used to create and log into the hardware layer.
2.4.1.1Hardware Layer Account Creation
Before use, an account must be created () on the hardware layer. To start the account creation, the
user logs into the CNS4 / ILE module via the Command Line Interface (CLI). Once logged in,
additional commands are entered to create an account on the ILE hardware layer. The hardware
layer contains a Pre-Shared Key (PSK) which is generated at initial equipment power-on at the
manufacturer and provided separately by Curtiss-Wright. The PSK cannot be read out of the ILE
module.
When the account is created, a user token key is internally generated by the hardware layer. The
layer then keywraps the user token key using the PSK and supplies it to the end user through the
CLI. The keywrapped user token key is validated on a third-party system by comparing the ILEgenerated HMAC and the third party-generated HMAC. If both match, the user token is unwrapped
using the PSK. The unwrapped user token key is then used in subsequent log ins as the specificuser token.
CNS4 CSfC2 - 7Overview
Revision 1.0
Page 21
User GuideDDOC0108-000-A2
TERMINAL / PC
CNS4
CLIHARDWARE LAYER
(ILE MODULE)
Internally Generate
32-byte User Token Key
PSK Keywraps User Token
Key (AES256 Keywrap)
PSK
Generate HMAC (User
Token Key and PSK)
Send Encrypted User Token
Key and HMAC
Login / Create
Account on
Hardware
Crypto Layer
Validate HMAC (Use
PSK and Encrypted
User Token Key)
User Token Key is
Now a Specific-User
Token Key Tied to
Account
Decrypt User Token
Key (Use PSK )
DDOC0108-0011
Figure 2.6Hardware Layer Account Creation
2.4.1.2Hardware Layer Account Log In
Any subsequent use of the equipment requires logging in (Figure 2.7) to the hardware layer before
data storage and/or transfer can begin. The user enters their user name and password into the ILE
module. The hardware layer checks the information against its accounts. If the user name and
password are recognized, a random one-time 64-byte key (also referred to as a nonce) is
generated. The nonce is sent to the end-user via the CLI. The user then enters the nonce and their
specific-user token key (generated when the account was created) into a third-party HMACSHA256 generator using the user token as the key. The CLI then sends this data as a usergenerated HMAC to the hardware layer. The layer compares the user HMAC and the hardware
layer HMAC. If they are the same, the user is logged in. If they do not compare, the user is denied
access.
Figure 2.7Hardware Layer Account Log In
CLI
TERMINAL / PC
User Generates
HMAC via 3rd-Party
Software (Use Specific
User Token Key
and Nonce)
DDOC0108-0012
If Comparison Passes,
User is Logged In
If Comparison Fails,
User is Denied Access
Log Into
Previously
Created
Account
Send
User-Generated
HMAC
CNS4
HARDWARE LAYER (ILE MODULE)
Check / Verify End-User
Name / Password
Against Account Information
Generate Random One-Time
Use 64-byte Key (Nonce)
Send Nonce
Generate HMAC (Nonce
and Specific-User
Token Key)
Compare User HMAC
and Hardware Crypto
Layer HMAC
CNS4 CSfC2 - 8Overview
Revision 1.0
Page 22
User GuideDDOC0108-000-A2
2.4.2Software Layer Encryption
CAUTION
IMPROPER OPERATION / LOST DATA. If the software encryption key / passphrase is lost, the
associated FSM-C module(s) will be rendered unusable.
NOTE
Refer to paragraph 6.4.3 Software Encryption for information regarding the actual commands
and procedures used to create and log into the hardware layer.
To create the software layer encryption, the user must first log into the hardware layer. If the CNS4
/ ILE module is connected to the same terminal or PC that was used to create the hardware layer
account, the ILE module will automatically validate the account and allow access to the FSM-C (if
installed). If the CNS4 / ILE module is connected to a different terminal or PC, the user will be
required to enter the specific user token key via the CLI. After that procedure has been
accomplished, creation of the software layer encryption can begin.
Software encryption is performed after the FSM-C module is formatted and mounted. Multiple
modules can be encrypted using the same or different encryption key / passphrase. In addition,
FSM-C can be partitioned and have each partition use the same or different encryption key /
passphrase. Before attempting to encrypt the FSM-C module, its status should be checked. If the
status is not correct, creation of the software encryption layer will fail.
Subsequent use of the FSM-C module is dependent upon the proper encryption key / passphrase
being entered using the Command Line Interface (CLI). Failure to enter the proper information will
result in the FSM-C module being inaccessible for data storage or use.
CNS4 CSfC2 - 9Overview
Revision 1.0
Page 23
User GuideDDOC0108-000-A2
Controls and Indicators
3.1CNS4 Chassis Controls / Indicators
NOTE
Refer to paragraph 3.1.1 Chassis LED Brightness for information regarding how to set chassis
LED illumination levels.
The CNS4 chassis (Figure 3.1) has four LED status indicators on the bottom of the front panel: S0,
S1, S2, and S3. During normal operation, S1, S2, and S3 will be ON; S0 will be off. The
illumination level of the LEDs is user programmable from 0 (off) to 100%. The function of these
indicators is as follows.
•S0 (RED). This LED is the health alert indicator. It turns ON when any monitored parameter is
outside of specified tolerance. It turns OFF when the parameter returns to normal. It also turns
on when:
• Internal communications cease for a period of 40 seconds.
•Shutdown command is issued.
•S1 (YELLOW). This LED turns ON whenever 28VDC is applied to the CNS4 power supply.
•S2 (GREEN). This LED turns ON after the CNS4 has booted up and is ready for operation.
•S3 (GREEN). This LED turns ON when the storage function (via the FSM-C modules) is ready
for read/writer operations.
There are no controls associated with CNS4 chassis.
Figure 3.1CNS4 Chassis Indicators
S0S1S2S3
DDOC0108-0026
POWERGBE2GBE0GBE1GBE3
3.1.1Chassis LED Brightness
The brightness of the chassis LEDs can be independently set from 0 to 100% brightness. This
accomplished by changing the duty cycle of the power applied to the individual LEDs. The
command line interface (CLI) ledcntrl command is used in association with -s option to select the
individual LED and -d option to select its duty cycle. See paragraph 11.2.18 ledctrl for detailed
information.
3.2ILE Module Controls / Indicators
The ILE module (Figure 3.2) has three LED status indicators: P, F, and S. During normal operation,
P and S will be ON; F will be off. The illumination level of the LEDs is preset and non-adjustable.
CNS4 CSfC3 - 1Controls and Indicators
Revision 0.0
Page 24
User GuideDDOC0108-000-A2
ZEROIZE
ILE
PFS
DDOC0108-0028
Power LEDStatus LED
Fault LED
Zeroize Button
The function of the ILE module indicators is as follows.
•P (GREEN). This LED turns ON whenever 28VDC is applied to the ILE module.
•F (RED). This LED turns ON whenever the ILE module has a fault condition.
•S (YELLOW). This LED turns ON whenever the encryption key(s) are loaded into the ILE
module.
The ZEROIZE button is used to zeroize (delete) the encryption keys loaded in the ILE module.
Figure 3.2ILE Module Controls / Indicators
3.3FSM-C Module Controls / Indicators
NOTE
The F (RED) LED turns on until after the CNS4 has booted up, started communicating, and loaded
encryption keys into the FSM-C module.
The FSM-C module (Figure 3.3) has three LED status indicators: P, F, and S. During normal
operation, P and S will be ON; F will be off. The illumination level of the LEDs is preset and nonadjustable. The function of these indicators is as follows.
•P (GREEN). This LED turns ON when 28VDC is applied and FSM-C module initialization has
occurred.
•F (RED). This LED turns ON whenever there is a Built-In Test (BIT) failure or operational
problem related to the FSM-C module. If the problem is also related to the CNS4, the S0 will
turn ON.
•S (GREEN). This LED turns ON whenever the FSM-C module is active (reading / writing data).
The REMOVAL REQUEST button is disabled in this configuration.
Figure 3.3FSM-C Module Controls / Indicators
DDOC0108-0027
Power LEDStatus LED
Fault LED
CNS4 CSfC3 - 2Controls and Indicators
Removal Request
Button
Revision 0.0
Page 25
User GuideDDOC0108-000-A2
DDOC0108-0017
F
P
S
FSM-C Module
ILE Module
Tamper-Proof
Seal Locations
Installation
4.1Package
The CNS4 package contents are listed below:
•CNS4 Chassis
•ILE Module
•Product Documentation CD
Optional Items. Refer to Ordering Information section for PN information. Refer to paragraph 1.6
Ordering Process for information on how to order the item(s).
•FSM-C Modules
•Power / RS-232 Lab Cable
•Ethernet Lab Cables
•ATR Tray / Shock Mounts
4.2Inspection
The CNS4 is a multi-part data storage system that consists of a CNS4 chassis, up to four FSM-C
modules and an ILE module. Additional accessories may be included (if ordered). All received
items should be inspected for damage. Inspect all units as follows:
•All screws should be tight.
•All anti-tamper labels (Figure 4.1) should be unbroken.
•All components should be free from any dents, cracks, or damage.
•All connectors pins should be present, straight, and undamaged.
Figure 4.1Anti-Tamper Label Locations
CNS4 CSfC4 - 1Installation
Revision 1.0
Page 26
User GuideDDOC0108-000-A2
DDOC0108-0018
150°
6.75 In.
(171.4 mm)
If either the CNS4 chassis or associated modules were damaged in shipping or the enclosure was
breached, immediately notify Curtiss-Wright Defense Solutions or your supplier.
4.3Mounting
Mounting environment considerations should include operating temperature limits, humidity, and
vibration limits. Other considerations should include clearance for mounting hardware, cables, and
safe installation or removal of the CNS4 from its mounting structure. Precautions should be taken
when cables are routed around structures that could cause excessive abrasion, such as around
the corner of vibrating equipment.
Installation of the CNS4 can put an increased demand on cooling systems by raising ambient air
temperatures. Evaluate changes in airflow obstructions and temperatures around equipment and
possible detrimental surface temperatures due to conducted heat. See Appendix A for thermal
limit specifications.
If installation and / or removal of FSM-C modules is desired while the CNS4 remains mounted, be
sure to allow clearance (4.4) for the door to open and the FSM-C module(s) to be positioned in
front of the CNS4.
Figure 4.2Required Door Clearance
4.3.1Mounting - User Defined
The CNS4 can be mounted directly to a mounting surface. The unit provides holes in the rear for
interfacing with mounting pins. The front provides J-hooks to secure the unit in place. Refer to
Specifications section, Figure A.1 for dimensional information.
4.3.2Mounting - ARINC Tray
Mechanical mounting of the CNS4 can be accomplished using a ARINC 404 1 ATR short tray. The
tray has the mounting components in place and offers options for use of shock isolators. Contact
Curtiss-Wright Defense Solutions for information on the ARINC tray.
4.4CNS4 Install / Remove
4.4.1Install (User Defined Mount)
1. Slide CNS4 back so mounting pins engage chassis holes.
2. Pivot mounting knobs up so they capture J-hooks.
3. Rotate mounting knobs to secure CNS4 to mounting surface.
CNS4 CSfC4 - 2Installation
4. Connect Ethernet cables to front panel connectors GBE0 through GBE3.
5. Connect power / RS-232 cable to front panel power connector.
Revision 1.0
Page 27
User GuideDDOC0108-000-A2
4.4.2Install (ARINC Tray)
1. Place CNS4 (Figure 4.3) on ARINC tray.
Figure 4.3CNS4 Mounting - ARINC Tray
Mounting Pin
Mounting Knob
2. Slide CNS4 back so mounting pins engage chassis holes.
3. Pivot mounting knobs up so they capture J-hooks.
4. Rotate mounting knobs (Figure 4.4) to secureCNS4 to tray.
5. Connect Ethernet cables to front panel connectors GBE0 through GBE3.
6. Connect power / RS-232 cable to front panel power connector.
4.4.3Remove (User Defined Mount)
1. If applicable, turn 28VDC power supply OFF.
2. Disconnect power / RS-232 cable from front panel power connector.
3. Disconnect Ethernet cables from front panel connectors GBE0 through GBE3.
4. Rotate mounting knobs to release CNS4 from mounting surface.
5. Pivot mounting knobs down / away from J-hooks.
6. Slide CNS4 forward so mounting pins disengage chassis holes.
7. Remove CNS4 from mounting surface
4.4.4Remove (ARINC Tray)
Tray
DDOC0108-0006
1. If applicable, turn 28VDC power supply OFF.
2. Disconnect power / RS-232 cable from front panel power connector.
3. Disconnect Ethernet cables from front panel connectors GBE0 through GBE3.
4. Rotate mounting knobs to release CNS4 from ARINC tray.
CNS4 CSfC4 - 3Installation
Revision 1.0
Page 28
User GuideDDOC0108-000-A2
DDOC0108-0021
Power / RS-232
Connector
Ethernet
Connectors
Figure 4.4CNS4 Installed on ARINC Tray
Power / RS-232
Connector
Mounting
Knob
5. Pivot mounting knobs down / away from J-hooks (Figure 3-4).
6. Slide CNS4 forward so mounting pins disengage chassis holes.
7. Remove CNS4 from ARINC tray
4.5Cables
CAUTION
Make sure the 28VDC power supply is OFF when connecting the power / RS-232 cable to the unit
or damage may occur.
NOTE
The CNS4 typically does not have an Ethernet cable attached to GBE3.
All connections to the CS4 are on the front panel (Figure 4.5). Be sure the external 28VDC power
supply is off when making connections.
Figure 4.5CNS4 Connectors
Ethernet
Connectors
J-Hook
DDOC0108-0007
CNS4 CSfC4 - 4Installation
Revision 1.0
Page 29
User GuideDDOC0108-000-A2
DDOC0108-0020
RS-232 Connector
Power / RE-232
Connector
28 VDC (+)
28 VDC
RTN (-)
DDOC0108-0019
RJ-45 Port
Ethernet
Connector
4.5.1Power / RS-232 Cable
The CNS4 Power / RS-232 Lab Cable (Figure 4.6) is used to make power and serial data
connections to the CNS4. The CNS4 requires an input power of +28 volts and ground. The serial
data portion of the cable is used to interface the Command Line Interface (CLI) terminal to the unit.
Refer to paragraph B.1 Power / RS-232 for connector pin signal information.
Connections:
•The 13-pin connector (P1) mates to CNS4 power connector.
•The red plug connects to 28 VDC.
•The black plug connects to 28 VDC return.
•The RS-232 connector connects to the terminal RS-232 port.
Figure 4.6Power / RS-232 Lab Cable
4.5.2Ethernet Cable
The Ethernet lab cables (Figure 4.7) are used to make network connections to the CNS4. Refer to
paragraph B.2 Ethernet for connector pin signal information. Each Ethernet connector is keyed to
the respective CNS4 connector.
NOTE
The CNS4 typically does not have an Ethernet cable attached to GBE3.
•The 10-pin connector (P1) mates to CNS4 GBE0 through GBE2.
•The RJ-45 port (P2) accepts a normal Ethernet cable RJ-45 plug.
Figure 4.7Ethernet Lab Cable
CNS4 CSfC4 - 5Installation
Revision 1.0
Page 30
User GuideDDOC0108-000-A2
Quick Start
The quick start section provides easy to access commands and examples.
5.1Connections and Controls
1. Refer to paragraph 6.1 Lab Setup / Connections for connection information.
2. Refer to Controls and Indicators section for information about indicators and controls.
5.2Communications Setup
Refer to paragraph 6.2.2 Communications for information.
5.3Login
To access the FSMs, the user must be logged into CNS4 and hardware encryption layer. However,
once the software encryption layer has been activated, the user must be logged into the software
layer as well.
5.3.1CNS4
NOTE
The administrator can configure the unit using the Command Line Interface (CLI).
Administrator
•Username: admin
•Password: istrator
NOTE
The user can access the drives configured as network storage. The user cannot access the CLI.
User
•Username: user
•Password: password
5.4Hardware Layer
Refer to paragraph 6.4.2 Hardware Encryption Layer for information.
NOTE
The unit is shipped with a default ILE account
•Username: user
•Password: Password1
5.5Software Layer
Refer to paragraph 6.4.3 Software Encryption for information.
2. Repeat paragraph 5.8.0.2 Method 2 step 1 above substituting 3 for 2 to open FSM3.
5.9Format / Mount NAS Partitions
NOTE
Paragraphs 5.7 and 5.8 created and opened SWE containers for partitions 2 and 3. If desired,
create and open containers on partitions 0 and / or 1 as well.
If the optional lab cables are not used, the user must construct a connection method for their test
set up. Refer to paragraph B.1 Power / RS-232 and paragraph B.2 Ethernetfor connector and
signal information.
NOTE
The CNS4 is powered by a user-supplied 28 VDC power supply and does not have a power switch
of its own. The CNS4 is powered up by turning on the 28 VDC supply.
NOTE
Anytime the CNS4 is powered off, the user must wait at least 30 seconds to re-apply power. This
gives the internal 5 second holdup capacitor circuit time to discharge properly.
1. If not previously accomplished, connect the following cables to the CNS4 front panel
connectors (Figure 6.1).
•Power / RS-232 lab cable: Power
•Ethernet lab cable (keyed for GBE0): GBE0
•Ethernet lab cable (keyed for GBE1): GBE1
•Ethernet lab cable (keyed for GBE2): GBE2
•Ethernet lab cable (keyed for GBE3): GBE3
Figure 6.1CNS4 Test Setup
CNS4 CSfC6 - 1Operation
Revision 1.0
Page 46
User GuideDDOC0108-000-A2
2. If not previously accomplished, connect the following cables to the test PC.
•Power / RS-232 cable DB-9 connector: serial data port
•GBE0 Ethernet lab cable: Ethernet port*
•GBE1 Ethernet lab cable: Ethernet port*
•GBE2 Ethernet lab cable: Ethernet port*
•GBE3 Ethernet lab cable: Ethernet port*
* Use Ethernet patch cable between Ethernet lab cable port and test PC Ethernet port
3. If not previously accomplished, connect the following cables to the 28VDC power supply.
•Power / RS-232 lab cable red banana plug: 28 VDC power supply positive (+) output.
•Power / RS-232 lab cable black banana plug: 28 VDC power supply return (-) output
4. Turn on 28 VDC power supply.
6.2Basic Operation
6.2.1Initial Configuration
Initial configuration must be performed through the user's admin account.
6.2.1.1Time
The time and date appear in some status displays and messages. To display the current date and
time, type:
cns>
sysdate
NOTE
In the example shown below, -d option xx/xx/xx is the desired date and -t option is desired time
If the date or time needs to be corrected, type:
cns>
sysdate -d xx/xx/xx -t xx:xx;xx
6.2.1.2Passwords
NOTE
The admin account has configuration privileges while the user account has access to only network
storage functionality.
To change admin account password, type
cns>
password -u admin -p [desired password]
To change user account password, type
cns>
password -u user -p [desired password]
The CNS4 software will prompt for the new password when -p command is used.
6.2.2Communications
The RS-232 serial port link is provided via the CNS4 power connector. A terminal emulation
program (putty, minicom, hyperterminal) is used to communicate with the Command Line Interface
(CLI) using the RS-232 port. Serial port accesses is recommended for initial configuration of the
CNS4. The terminal emulation program should be set to 115200 bps, 8 bits, no parity, one stop bit,
and no flow control.
CNS4 CSfC6 - 2Operation
Revision 1.0
Page 47
User GuideDDOC0108-000-A2
The CLI is also accessible via Ethernet using Secure Shell (SSH). The default IP addresses are
shown in Table 6.1.
Table 6.1Ethernet Interfaces
Connector Port Interface IP AddressSubnet Mask
GBE0Port 0 eth0192.168.0.1255.255.255.0
GBE1Port 1 eth1192.168.1.1255.255.255.0
GBE2Port 2 eth2192.168.2.1255.255.255.0
GBE3Port 3 eth3192.168.3.1255.255.255.0
Simple Network Management Protocol (SNMP) is also available to communicate with the CNS4.
See Simple Network Management Protocol section for details.
6.2.2.1Terminal Emulation
A copy of the PuTTY terminal emulator can be obtained from https://www.putty.org/
.
This section explains setting up communications using serial communication (RS-232) and a
PuTTY terminal emulator.
1. If not previously accomplished, download a copy of the PuTTY terminal emulator and install on
computer.
2. Open PuTTY terminal emulator (Figure 6.2).
Figure 6.2PuTTY Terminal Emulator
DDOC0108-0032
3. Configure PuTTY as follows:
•Serial line: COM1
•Speed: 115200
•Connection type: Serial
4. Click Open button.
A terminal screen should activate.
CNS4 CSfC6 - 3Operation
Revision 1.0
Page 48
User GuideDDOC0108-000-A2
DDOC0108-0045
5. Click Enter button.
A login prompt should activate.
6. Log into the CLI as follows:
a. At the cns login prompt type admin.
b. At the password prompt type istrator.
6.2.2.2Ethernet
This section explains setting up communications using secure shell (SSH) and a PuTTY terminal
emulator.
1. If not previously accomplished, download a copy of PuTTY terminal emulator and install on
computer.
2. Open PuTTY terminal emulator (Figure 6.3).
Figure 6.3PuTTY Terminal Emulator (SSH)
3. Configure PuTTY as follows:
•Connection Type: SSH
•Port:
•Host Name (or IP Address): see Table 6.1
4. Click Open button.
A terminal screen should activate.
5. Click Enter button.
A login prompt should activate.
6. Log into CLI as follows:
a. At the login prompt type admin.
b. At the password prompt type istrator.
CNS4 CSfC6 - 4Operation
Revision 1.0
Page 49
User GuideDDOC0108-000-A2
6.2.3Account Management
The CNS4 has two accounts:
•admin (default password is istrator)
•user (default password is password)
The admin account is used to setup and configure the unit via the CLI. The user account can only
access the drives and cannot change or update any operational parameters.
The hardware encryption layer can have up to five accounts as follows:
•crypto officer (one account)
•user (up to four accounts)
These accounts are independent of the CNS4 / software encryption accounts. Refer to paragraph
6.4.2 Hardware Encryption Layer for additional information.
The software encryption layer has one account. Refer to paragraph 6.4.3 Software Encryption for
additional information.
6.2.4Storage Media
The CNS4 provides a versatile user-configurable storage system. This section provides some
examples of different configurations. The FSM-C modules are configured through the CLI using
the sysconfig command. The user should determine the following configuration attributes.
•Will there be a RAID configuration.
•Which FSM-C modules to use for a RAID.
•How many and what size partitions to configure.
•What services (iSCSI, NAS) to assign to which partitions.
6.2.4.1Preparation
Before any attempt to configure or reconfigure the storage system be sure the NAS services are
stopped and unmounted.
•Use CLI command serv --nas 0 to stop NAS service.
•Use CLI command sysconfig -u to unmount drives.
6.2.4.2Assigning Services to Partitions
The list below shows the Network Attached Storage (NAS) services available with the CNS4.
•Common Internet File System (CIFS)
•Dynamic Host Configuration Protocol (DHCP)
•File Transfer Protocol (FTP)
•HyperText Transfer Protocol (HTTP)
•Internet Small Computer System Interface, (iSCSI)
•Network File System (NFS)
•Secure Shell Protocol (SSH)
•Simple Network Management Protocol (SNMP)
Only SSH is enabled by default. All other services are disabled. See paragraph 11.2.23 serv for
how to enable other service.
6.2.4.3Preparation
Before any attempt to configure or reconfigure the storage system be sure the NAS services are
stopped and unmounted.
•Use CLI command serv --nas 0 to stop NAS service.
•Use CLI command sysconfig -uall to unmount drives.
CNS4 CSfC6 - 5Operation
Revision 1.0
Page 50
User GuideDDOC0108-000-A2
6.2.4.4Creating a RAID
The CNS4 supports RAID configurations. Once the initial RAID is configured, it is labeled as
fsm_raida. If a second RAID is configured, it will be labeled fsm_raidb. Assigning services to
partitions of a RAID is done in the same manner shown in the previous examples, shown here as
two 50% partitions for NAS over both FSM-C within the RAID1.
Partitioning is based on user-accessible capacity (referenced as 100%). The actual capacity available is approximately 90% of the stated drive size. A 2 TB dive will have approximately 1862GB
available for user access /storage.
The command shown below is an example of creating two partitions on FSM0, each containing
50% of the drive capacity. For additional information on partitioning, refer toparagraph 7.21 part.
Once the storage media configuration task is done, the sysconfig -F command is issued to activate
the configuration. The example below shows the command to use to format all NAS partitions by
using the --all flag. A specific partition number can be entered if desired.
To verify the CNS4 configuration, type sysconfig --status. The response will show the
current configuration.
6.2.5Health
The CNS4 has internal sensors to monitor critical environmental and operational parameters.
When activated, the health command displays health information for the CNS unit. FSM-C status,
system status and network status can be displayed depending on the chosen suffix / attribute. See
paragraph 11.2.13 health for additional information.
NOTE
The CNS4 S0 LED will turn on if any of the values exceed the listed limits.
Temperature and voltage values will be displayed. The following tolerances are applicable:
1.8 VDC Nominal
Low Limit: 1.60 VDC
High Limit: 2.00 VDC
3.3 VDC Nominal
Low Limit: 2.70 VDC
High Limit: 3.60 VDC
5.0 VDC Nominal
Low Limit: 4.60 VDC
High Limit: 5.50 VDC
12 VDC Nominal
Low Limit: 11.0 VDC
High Limit: 13.0 VDC
Temperature
Normal: 35 to 60 ºC
High: 90 ºC
Low: -40 ºC
CNS4 CSfC6 - 7Operation
Revision 1.0
Page 52
User GuideDDOC0108-000-A2
[health]
SYSTEM: Date=04/01/2018 Time=00:00:01 Firmware Ver=1.1 CNS
Ver=2.42-car
Power Supply Temp 1 = 46 C Temp 2 = 38 C
Main Board Temp Bot 1 = 38 C Temp Bot 2 = 39 C
Main Board Temp Top 1 = 36 C Temp Top 2 = 40 C
flash=rw Boot Flash=rw FSM EEPROM=rw pbit_status=OK
|----------------------- FSM Status ----------------------|
| | Temp | 5V | 3.3V | Fault LED | Status LED |
|--------|------|-------|-------|---------- |-------------|
| FSM0 | 35 C | 4.87V | 3.29V | OFF | OFF |
| FSM1 | 34 C | 4.87V | 3.31V | OFF | OFF |
| FSM2 | 35 C | 4.89V | 3.29V | OFF | OFF |
| FSM3 | 35 C | 4.87V | 3.30V | OFF | OFF |
|---------------------------------------------------------|
ETH_0: ip=192.168.0.1 link=1000Mb/s status=OK
ETH_1: ip=192.168.1.1 link=1000Mb/s status=OK
ETH_2: ip=192.168.2.1 link=1000Mb/s status=OK
ETH_3: ip=192.168.3.1 link=1000Mb/s status=OK
|----------------------- ILE Status-----------------------|
| Voltages | Status |
|------|--------------------|-----------------------------|
|Temps | 5V | 3.3V | 1.8V | Zero | Key | Tamper | Alarm |
|------|------|------|------|------|-----|--------|-------|
|38,40 | 4.94V| 3.31V| 1.81V| 0 | 1 | 0 | 0 |
|---------------------------------------------------------|
[!health] OK
The ILE status is shown at the bottom of the text box above. The value for each of the ILE status
items will have a value of 1 or 0.
•Zero = 1, the ILE is currently zeroizing. Will get reset back to 0 when zeroization is complete.
•Key = 1, the key is present on the ILE. Key= 0, key is absent.
•Tamper = 1, the ILE has lost the key. Tamper=0, all is well.
•Alarm = 1, the ILE is in an error state, run the cm_log command to determine the problem.
While the ILE is in the error state, the user will be locked out of the ILE account. Depending on the
reason of the hard error state, the only way to overcome the lockout is to power cycle or zeroize
the ILE.
6.2.6Built-In Test
The built-in tests monitor CNS4 health. If any of the monitored items listed below fails, a
description of the failure is written to a log file. See paragraph 11.2.19 log for additional
information.
6.2.6.1CBIT (Continuous Built-In Test)
The following items are monitored by the CBIT. The CBIT runs in the background and cannot be
initiated by the user. If any item is outside of tolerance range, the CNS4 S0 LED will illuminate.
See log paragraph 11.2.19 log for information on how to determine the error.
•Main Carrier Temperature.
•Power Supply Temperature.
•FSM-C Voltage Levels (5V & 3.3V rails).
•Super I/O Voltage (3.3V & 12V rails, plus two Marvell controller voltage levels).
•Processor (CPU Voltage, 12V & 5V rails, plus the AA sized battery voltage).
6.2.6.2IBIT (Initiated Built-In Test)
The following items are monitored by the IBIT. The IBIT must be initiated by the user using the ibit
command. If any item is outside of tolerance range, the CNS4 S0 LED will illuminate. In addition,
the ibit report will show the error. Refer to paragraph 11.2.19 log and paragraph 11.2.15 ibit for
more information.
CNS4 CSfC6 - 8Operation
Revision 1.0
Page 53
User GuideDDOC0108-000-A2
The ibit:
•Checks all I2C components.
•Reports all FSM-C voltages (5V & 3.3V rails).
•Reports Super I/O.
•Reported processor sensors.
•Runs S.M.A.R.T. monitor test on each FSM-C module.
•Checks for Ethernet devices (eth0/1/2/3).
6.2.6.3PBIT (Power-On Built In Test
The following items are monitored by the PBIT. The PBIT runs only at initial power ON and cannot
be initiated by the user. If any item is outside of tolerance range, the CNS4 S0 LED will illuminate.
See paragraph 11.2.19 log for information on how to determine the error.
•Tests 10MB of system memory
•Attempt to communicate with processor
•Check if Ethernet Devices are present
•Check for SATA controller device presence
6.3Update
The CNS4 operating system and the ILE firmware can be updated. Contact Curtiss-Wright for
information regarding available / applicable update files before performing any updates.
6.3.1CNS4 Operating System Update
The following files are required to update the CNS4 operating system:
NOTE
Contact Curtiss-Wright to obtain any available / applicable update files The files below refer to
Curtiss-Wright provided files for performing operating system update. The year, month, day, and
ver_#_## are variables that will reflect the update file date and version.
•cnsf_csfc-image_year_month_day-ver_#_##.bin
•cnsf_csfc-image_year_month_day-ver_#_##.gz
•cnsf_csfc-image_year_month_day-ver_#_##.hdr
•cnsf_csfc-image_yyear_month_day-ver_#_##.md5
The fupdate command boots the CNS4 system into a RAM disk image where the user can install a
new CNS4 disk image onto the system. By default the new image file should be copied to fsm0
partition 0 location. Upon logging into the new RAM disk image, a menu of operations to restore
and verify the restoration of a new disk image activates. The disk image is loaded onto must be
configured so it will be able to accept the files (e.g., not configured as a RAID).
1. Reconfigure FSM0 module as follows:
a. Type sysconfig -E. This command will erase the current configuration.
b. Type sysconfig --part fsm0 1 100% -W. This will create a partition on fsm0. One
partition will be created and it will use 100% of the drive.
c. Type sysconfig --nas 1 0. This assigns NAS service to partition 0.
d. Type sysconfig -F --all -m --all. This formats and mounts all NAS partitions.
e. Type serv --nas 1. This starts NAS services and gives the ability to access the storage
from a remote machine. See serv for additional information.
2. Create a folder called firmware within the /fsm_shares/fsm_nas0 folder.
3. Copy update file (e.g., cns4_image_ver2_31.gz) into /fsm_shares/fsm_nas0 folder.
NOTE
The fupdate command loads an image into memory to allow the user to update the boot image on
the unit.
4. Type fupdate and press E
The update utility will start.
CNS4 CSfC6 - 9Operation
NTER key.
Revision 1.0
Page 54
User GuideDDOC0108-000-A2
DDOC0108-0043
Figure 6.4CNS Update Utility
5. Typically, the update file name should appear above the displayed menu
(e.g.,cns4_csfc_image__year_month_day-ver_#_##.gz).
6. Select 2) Verify digital signature, image mdsum and program image into flash and press
E
NTEr key.
7. The update process will begin and continue for approximately 25 minutes. When the update is
complete, ([!fupdate] OK) will be shown.
8. Cycle the power to store the new image.
6.3.2ILE Module Firmware
The following files are required to update the ILE firmware:
NOTE
Contact Curtiss-Wright to obtain any available / applicable update files The files below refer to
Curtiss-Wright provided files for performing ILE firmware update. The ver_# is a variable that will
reflect the update file version.
•ile_csfc_ver_#.bin
•signature_ile_csfc_ver_#.bin
NOTE
The disk the firmware update is loaded onto must be configured so it will be able to accept the files
(e.g., not configured as a RAID).
1. Reconfigure FSM-C module as follows:
a. Type sysconfig -E. This command will erase the current configuration.
b. Type sysconfig --part fsm0 1 100% -W. This will create a partition on fsm0. One
partition will be created and it will use 100% of the drive.
c. Type sysconfig --nas 1 0. This assigns NAS service to partition 0.
d. Type sysconfig -F --all -m --all. This formats and mounts all NAS partitions.
e. Type serv --nas 1. This starts NAS services and gives the ability to access the storage
from a remote machine. See serv for additional information.
2. Create a folder called firmware within the /fsm_shares/fsm_nas0 folder.
CNS4 CSfC6 - 10Operation
Revision 1.0
Page 55
User GuideDDOC0108-000-A2
DDOC0108-0044
3. On the host Linux PC:
a. Type mkdir -p /tmp/nas_tmp/.
b. Type mount.nfs 192.168.0.1:/fsm_shares/fsm_nas0/ /tmp/nas_tmp/
NOTE
The files below refer to Curtiss-Wright provided files. The year, month, day, and ver_#_## are
variables that will reflect the update file date and version.
4. Type cp ile_csfc_ver_#.bin signature_ile_csfc_ver_#.bin /tmp/nas_tmp/
5. Type umount /tmp/nas_tmp/
NOTE
The cm_field_update command loads an image into memory to allow the user to update the
firmware on the ILE.
6. Type cm_field_update -f ile_csfc_ver_#.bin -s signature_ile_csfc_ver_#.bin and press E
NTER key.
The update utility will start.
Figure 6.5ILE Firmware Update
7. The update process will begin and continue for approximately 10 minutes. When the update is
complete, status=OK will be shown.
8. Cycle the power to store the new firmware.
6.4Encryption
NOTE
Three failed attempts at logging into an encryption layer will block any further attempts until a
power cycle or zeroization is initiated.
The CNS4 uses two methods of encryption:
•Hardware Encryption Layer
•Software Encryption Layer
The zeroize function removes the encryption keys from both layers.
6.4.1Zeroize
CAUTION
LOSS OF STORED DATA. Pushing the ILE Zeroize button will zeroize the ILE (erase the DEK).
This action will occur even with power off. Data stored on the FSM-C modules will not be
recoverable without using the same exact key as it was encrypted with.
NOTE
The zeroize button is located behind the FIPS CRYPTO cover to ensure it is not accidentally
pressed.
NOTE
The ILE must be zeroized to change the hardware layer password.
The goal of zeroization is to destroy the DEK loaded in the ILE beyond recovery by any means.
Once a zeroize action is initiated, the process will erase the DEK.
The zeroization process is accomplished by one of the following:
•Pushing the ILE zeroize button.
•Issuing a cm_key -z command via the CLI.
•Connecting CNS4 power / RS-232 connector pin 13 to ground for a minimum of 300 mS.
CNS4 CSfC6 - 11Operation
Revision 1.0
Page 56
User GuideDDOC0108-000-A2
Zeroization affects only the ILE. The data on the FSM-C modules is still accessible:
•If the FSM-C module can be placed in another CNS4 with the same DEK loaded in its ILE.
•If the DEK can be restored / reloaded.
Data stored on the CNS4 will be encrypted using the ILE module and software encryption on the
FSM-C modules. In addition, data on the FSM-C module can be secured by:
•Physically separating (removing) the FSM-C module from the ILE which holds the encryption
key,
•Zeroizing (erasing) the encryption key (zeroizing the ILE).
In both cases, the encrypted data remains on the FSM-C module, but is unintelligible and
inaccessible. To destroy the data on the FSM-C module, the FSM purge command must be used.
This action actually overwrites all the data on the FSM-C modules. Refer to paragraph 11.2.11
DEKs are created in two ways, depending on which Security Mode is selected at login.
The ILE has two security modes (Internal and External). Each mode will define how the Data
Encryption Key (DEK) management is performed. Table 6.2 describes the security modes. The
user may change the security modes as needed.
Table 6.2Security Modes
Feature
User Authentication Required
User Composed Key
ILE Generated Key
DEK is Internal to the ILE and is Not Accessible to the User
Data Recovery after Power cycle
Data Recovery after Zeroization*
Selectable Storage Location
User Must Execute a Key Transfer Procedure*
* Requires the selection of NOT STORED storage option along with a host to generate and retain the DEK.
Internal
Mode
xx
x
x
xx
xx
External
Mode
x
x
x
•ILE Mode: security mode type. The security mode must be selected by user via user interface
on initial power up.
•User Authentication: ILE user authentication is required to access available ILE services.
•Authorized Services: ILE security modes restrict access to services until the user is identified
and granted access to perform requested service (identity based authorization).
•DEK Generation: method used to create the encryption key. The DEK may be created by the
ILE (Internal Mode) or by the host and sent to the ILE (External Mode).
•DEK Transport: is how the DEK is moved from the user's storage place to the ILE. If DEK
management is handled by the ILE host (External Mode) then the DEK must be passed to the
ILE via RS-232 or I2C. This DEK is passed in an encrypted form and may then be stored on
the ILE. When the ILE controls DEK management, the DEK is created by the ILE (Internal
Mode) and stored on the ILE. Therefore, the DEK never passes outside the ILE unit.
•DEK Storage Location: is how and where the DEK is stored. The user selects one of three
storage options for the DEK (Not stored, SRAM, or EEPROM) when using the Internal or
External Mode.
CNS4 CSfC6 - 12Operation
Revision 1.0
Page 57
User GuideDDOC0108-000-A2
6.4.2.2Internal Security Mode
The DEK is generated by the ILE's RNG to create a 256-bit DEK. It is stored in the ILE EEPROM,
SRAM, or not stored per the user's selection at login. The not stored selection requires a new DEK
be generated at each power-on cycle.
Advantages:
•Requires less effort on the user's part.
•Creates a DEK known and stored exclusively by the ILE.
Disadvantages:
•Stored data lost if ILE is zeroized.
6.4.2.3External Security Mode
In the External Security Mode the user is required to use their host computer to create four DEKs,
along with their corresponding Message Authentication Code (MAC). It is recommended that the
user utilize software that allows the entry or generation of DEKs (32 bytes long, plus an 8-byte
Initialization Vector, terminated with pressing E
NTER key) using an AES-ECB-256 key wrap
encryption algorithm and generates the corresponding MAC (32 bytes) using an HMACSHA-256
algorithm.
The software should also handle the transmission of each of the four required DEK packages
(DEK of 64 ASCII hex characters, plus an Initialization Vector of 16 ASCII hex characters,
terminated with pressing E
NTER key). The initialization vector provides the required information to
unwrap the package and extract the KEK. The DEKs are stored in the EEPROM or SRAM, or
None (not stored on the ILE) per the user's selection at login. The None selection retains the DEK
on the host.
Advantages:
•Stored data retained / accessible if ILE is zeroized (as long as DEK has been retained).
•Creates a custom DEK created and known by the user.
Disadvantages:
•Requires more effort on the user's part.
6.4.2.4ILE Account Creation
NOTE
The ILE must be zeroized to change the hardware layer password.
NOTE
The first account created on the ILE is always the administrator / crypto officer account. Four
additional user accounts can be created as well.
After the CNS4 has been initially configured, the administrator / crypto officer may create up to four
additional user accounts using the cm_create_account command. The accounts must comply with
the following considerations.
•User name
•Composed by the user
•Must be 16 characters maximum, 8 characters minimum.
•Password
•Composed by the user
•Must be 8 to 64 character
•Must contain at least one number
•Must have one upper and one lower case letter
•Cannot contain symbols.
•Mode. The mode will be either internal or external. See Security Mode above.
•Transfer. If external mode is selected, the DEK can be either plain text or encrypted using
another key (referred to as Key Encryption Key [KEK]). Use of a KEK provides extra security
when the DEK is transferred.
•Storage. Where the key will be stored; None (not stored), EEPROM or SRAM.
CNS4 CSfC6 - 13Operation
Revision 1.0
Page 58
User GuideDDOC0108-000-A2
Examples
Create a crypto officer account with username john, password aBcDeFg1, with internal key generation stored on
the SRAM
cns> cm_create_account -u john -p aBcDeFg1 -m i -k s
The login process is a two-step process where a username and password must first be provided to
login. The second step is to decrypt the user token and use that decrypted user token along with
the provided nonce to generate an HMAC-SHA256 to complete the challenge. Refer to paragraph
Key transfer is applicable only if external mode has been selected.
The command example below transfers the PSK and DEK:
•from the user's equipment to CNS4 ILE 0 (0=first encryptor of four within the ILE).
•in plain text (non-encrypted transfer).
CNS4 CSfC6 - 14Operation
Revision 1.0
Page 59
User GuideDDOC0108-000-A2
This command assumes that the external mode was selected in the cm_create_account
command.
The following explanation pertains to both the plain text key and encrypted key transfers. In the
plain text transfer, the user sends the DEK and PSK over the serial or Ethernet user interface. The
encryption process takes place over the backplane between the ILE and its FSM-C modules. In
the encrypted transfer, the user is involved in the encryption of the transfer from their equipment
over the serial or Ethernet interface to the ILE.
When encrypted transfers are required, the transfer package that carries the DEK itself must be
encrypted. Therefore, an encryption key for the transfer package is needed. This encryption key is
referred to as the Key Encryption Key (KEK). This is not a permanent key; it is regenerated each
time a KEK is called for by the cm_key command.
After a zeroization, or on a new ILE, a common encryption key is needed to encrypt and decrypt
the first KEK to the user's equipment from the ILE. This common key is called the PreShared Key
(PSK); it is always available on the ILE. The PSK is used to encrypt all initial transfers to establish
unique encryption keys for subsequent encrypted transfers of keys and their MACs (Message
Authentication Code).
When the ILE receives a KEK command, the KEK is generated and packaged for transfer. This
package is encrypted using the previous KEK (referred to as an old or retired KEK; the PSK is
used if it is the first KEK cmd. for the unit) and sent to the user's equipment. The corresponding
MAC is generated in the same manner and sent to the user's equipment. The user's equipment
has the old KEK and the PSK and uses the appropriate key to decrypt the KEK package and the
MAC, which is used to verify that the KEK is correct. The KEK is only used once per DEK transfer
session and then retired. Once this process is completed, a KEK is available to encrypt the DEK
and send it to the ILE. Refer to paragraph 5.16 External Key Passing Example or a step-by-step
example.
6.4.3Software Encryption
NOTE
The passphrase can be any ASCII printable character
NOTE
Changing the SWE passphrase renders the data in SWE container useless.
6.4.3.1Software Encryption Container
The swcrypt command allows the user to view and alter the CNS disk encryption options. Software
Encryption (SWE) uses containers to hold the data. Creation of a container requires the use of a
passphrase. The passphrase must include the conditions listed below:
•Minimum characters: 15.
•Minimum numbers: 1.
•Minimum lowercase characters: 1.
•Minimum uppercase characters: 1.
•Minimum special characters: 1.
•Maximum consecutive repeating characters: 2.
•Maximum consecutive repeating characters of the same class: 4.
•Minimum number of different characters: 8.
•Minimum days for passphrase change: 1.
•Maximum days for password change: 60.
•Dictionary words are not valid or accepted.
•The last seven passphrases cannot be reused.
NOTE
Keyfiles should not be used in high threat environments.
After the passphrase has been decided upon, it can be:
•typed in when prompted.
•saved a keyfile.
CNS4 CSfC6 - 15Operation
Revision 1.0
Page 60
User GuideDDOC0108-000-A2
To generate the keyfile, the passphrase is enter as a text file and then saved to the CNS4 keyfile
directory. After the keyfile is saved to the CNS4, a SWE container must be created using the --init
flag before it can be opened, closed or erased. The --flag is applied to partitions. The example
shown below is creating a SWE container on partition 2.
After the SWE container has been created, the following command and flags are used;
•swcrypt --open will open a SWE container.
•swcrypt --close will close a SWE container.
•swcrypt --erase will erase a SWE container.
These commands / flags typically have an option included with them. The option is used to select
partitions to command / flag is applied to. The options are:
•# - single NAS disk volume number
•# # - <# #> two or more NAS disk volumes
•all - all NAS disk volumes
The example below opens a SWE container on partition 2 by manually entering the passphrase.
Example
cns> swcrypt --open 2 --pass
[swcrypt]
cmd=open Part=2 Enter passphrase for /dev/sdb1:
Verify passphrase:
status=OK
[!swcrypt] OK
The example below opens a SWE container on partition 2 using a keyfile.
The status of the SWE container can be checked by using the swcrypt command without any
associated flags. The example show below shows no SWE containers on partitions 1 and 2. The
container on partition 3 is open while the container on partition 4 is closed.
Additional information regarding command associated with the software encryption layer is
available in paragraph 11.2.25 swcrypt and the Quick Start section
CNS4 CSfC6 - 16Operation
Revision 1.0
Page 61
User GuideDDOC0108-000-A2
System Configuration
The system configuration command (sysconfig) is used to either:
•View the system configuration
•Create or modify the system configuration
Refer to Table 7.1 for a list of flags and options associated with the sysconfig command.
Table 7.1Sysconfig Flags and Options
FlagModifierAction
--add
-A--all
--file
-F--format
--free
-K--fsck
--fsep
--getDevName
--getFreeDisks
--getNfsOpt
-h--help
-L--hide
--iscsi0
--iscsi1
--iscsi2
--iscsi3
--isMounted
-M--mount
--multi
--nas
--numFreeDisks
--numFsmDisks
--numPartitions
--part
--raid
--raidStatus
--remove
--rescan
--scan
--setNfsOpt
-S--status
--sw
-T--trim
-U--umount
--verb
--version
-E--wipe
--wrap
-W--writecfg
<options>Add spare / replace disk in RAID
Show all fields even empty ones
<options> Allocate a target image file on a mounted NAS volume
<#|# #|all>Format NAS partition(s)
<options>Free partition not used for service
<#|# #|all>File system check one or more NAS partitions
"char" Specify field separation character for single line machine output
<str>Get device name of specified NAS volume
Get list of unconfigured disks
Get current NFS export flags
Show sysconfig help file
Hide most of the field labels
<options>iSCSI on assigned partition using GBE0
<options>iSCSI on assigned partition using GBE1
<options>iSCSI on assigned partition using GBE2
<options>iSCSI on assigned partition using GBE3
<VID>Check to see if NAS volume is mounted
<#|# #|all>Mount partition(s) as NAS
Used with assign services flag to allow multiple services to use the same
partition
<options>Network attached storage
Get number of free disks
Get total number of disks
Get total number of partitions
<options> Create partition(s) on specified FSMs
<L> <options>Create RAID across specified FSMs
Display status of each RAID in the system
<options>Remove spare defective disk from a raid
Rescan SATA hosts for FSM connections
Delete and then scan for FSM connections
<options>Set NFS export flags
Show disk, partition, and service configuration
Generate single line machine output
<#|# #|all>Trim one or more mounted NAS partitions
<#|# #|all>Unmount NAS partition(s)
Generate verbose output
Show software version
Wipe RAID and partition data from all disks
<1, 0>Word wrap text to screen
Write system configuration to disks
CNS4 CSfC7 - 1System Configuration
Revision 0.0
Page 62
User GuideDDOC0108-000-A2
7.1add
Purpose
Add spare disk / replace disk in RAID
Command
sysconfig --add fsm_raid<c> fsm<slot>-d<pos>
Flag Modifiers Explanation
<c> - Raid disk identifier (a,b,c,d,etc)
<slot> - FSM slot number
<pos> - Disk in specified position in FSM
<NAS volume #> - NAS volume number. 0 to n
<image file name> - Name of target image file on NAS volume.
<image size> - Image size specified in MiB, MB, GiB, GB, TiB or TB.
Image_files:
Vol0: numFiles=2 file1.img 60927MB file0.img 31875MB
[!sysconfig] OK
CNS4 CSfC7 - 8System Configuration
Revision 0.0
Page 69
User GuideDDOC0108-000-A2
7.18numFreeDisks
Purpose
Get number of free disks
Command
sysconfig --numFreeDisks
Flag Modifiers Explanation
Not Applicable
Example
cns> sysconfig --numFreeDisks
[sysconfig]
4
[!sysconfig] OK
7.19numFsmDisks
Purpose
Get total number of disks seen by the OS in all FSM present with keys loaded
Command
sysconfig --numFsmDisks
Flag Modifiers Explanation
Not Applicable
Example
cns> sysconfig --numFsmDisks
[sysconfig]
4
[!sysconfig] OK
7.20numPartitions
Purpose
Get total number of partitions
Command
sysconfig --numPartitions
Flag Modifiers Explanation
Not Applicable
Example
cns> sysconfig --numPartitions
[sysconfig]
6
[!sysconfig] OK
7.21part
Purpose
Create partition
Command
sysconfig --part <device> <num parts (1-n)> <part sizes>
Flag Modifiers Explanation
<device> - FSM device name of disk to create partitions on. (fsmX-dY)
<num parts> - Number of partitions to create on the disk. (1 to n)
<part sizes> - List of partition sizes. Can be specified as percent of disk or sizes in MiB, MB, GiB,
GB, TiB or TB.
<L> - Raid level 0, 1 or 10. Raid 0 if not specified.
<devices> - FSM device names of disks to create raid and partitions on.
<num parts> - Number of partitions to create on the raid.
<part sizes> - List of partition sizes. Can be specified as percent of disk or sizes in MiB, MB, GiB,
GB, TiB or TB.
When a RAID that can operate with a missing disk is built it takes time for the disk to synchronize
the disk contents between disks. The command sysconfig --raidstatus can be used to monitor the
raid state and check the status of the synchronization progress of each raid in the system. The raid
status command reports:
•RAID level
•RAID size
•RAID state
•Number of disks
•Name of each disk device
•Mode of each disk device
If the disk is being synchronized it will report the percentage of synchronization completed, the
estimated time to finish and the speed at which the data is being synchronized.
DiskConfig describes how the individual FSM disk are used. The FSM disks fall in one of three
categories:
•Unconfigured disks - unconfigured disks are disks that have no partition table or other
information stored on the disk
•Individual disks - Individual disks are comprised of a single FSM disk with one or more
partitions stored on the disk.
•Raid disks- Raid disks are disk that are part of a multiple FSM disk software raid. There can be
multiple raids present. The Raid volumes section provides information on the configuration of
each software raid.
Partitions describes how each disk partition on the system is configured and used. Each line
contains:
•Name of the individual disk or raid the partition is located on.
•Raw size of each partition.
•Individual disk partition (dp) number of the partition on the disk or raid.
•Number of device services associated with each partitions and the exported name of the
service.
Example: fsm_nas<vol> fmt=<type> enb=<0|1>. The NAS entries are exported as fsm_nas0,
fsm_nas1, etc where <vol> is the NAS volume id. The fmt=<type> field indicates if the partition is
formatted and what type of file system is present on the partition. If a NAS services such as ftp,
tftp, cifs or nfs are active the flag enb will be set to one. If they are all inactive it will be set to zero.
For iSCSI target device you should see iSCSIX_LY where X is the Ethernet port used and Y is the
device. If the iSCSI device is an active device the enb f lag will be set to one.
CNS4 CSfC7 - 12System Configuration
Revision 0.0
Page 73
User GuideDDOC0108-000-A2
The swe=<str> entry at the end of each line indicates if the partitions is software encrypted. Valid
string values are no, open and closed. 'no' indicates there is not an encrypted partition on the
partition. 'open' indicates there is an encrypted container present on the partition and the data is
accessible to read and write. 'closed' indicates there is an encrypted container present on the
partition but the data is not accessible
Device_partitions provides a list of partitions used by each possible service type (NAS, ISCSI0,
iSCSI1, etc). To use a service it needs to be assigned to one or more partitions from the partition
list. This section show which partitions have been assigned to each service.
Image file shows a list of files that have been created on a NAS volume for the purpose of being
exported as a target device. External hosts see the target iSCSI devices as disks. This section
start by listing the volumes containing target files. For each NAS volume the name and size of
each file is listed. Then it shows which files have been assigned to each possible service.
The flag --wrap adds carriage returns to the output for any line over 80 characters in length.
Typically used as a modifier to the --status command to make the text easier to read.
Refer to Table 8.1 for LED status indicator information. Refer to Controls and Indicators section
for location information. If any one of the LEDs exhibits the failure status, the CNS4 will not
function properly. The remedial action should only be tried one or two times.
Table 8.1LED Indicators
LED Location /
LabelColor
Chassis S0RedONSee Table 8.2Enter
Chassis S1YellowOFFNo 28VDC input power appliedCycle power
Chassis S2GreenOFFSystem did not boot / OS did not
Chassis S3GreenOFFStorage not readyEnter
FSM P (Power)GreenOFFNo power applied
FSM F (Fault)RedONFSM-C module faultEnter
FSM C (Status)YellowOFFFSM-C module faultEnter
ILE P (Power)GreenOFFNo power applied
ILE F (Fault)RedONILE module fault
Failure
Condition
MeaningRemedial Action
health, ibit
CLI to determine cause
Cycle power
load
health, ibit
CLI to determine cause
1.
Enter
health, ibit
via CLI to determine cause
2. Re-seat module
health, ibit
CLI to determine cause
health, ibit
CLI to determine cause
1.
Enter
health, ibit
via CLI to determine cause
2. Re-seat module
Enter
health, ibit
commands via CLI to determine cause
, or
, or
, or
, or
, or
log
commands via
log
commands via
, or
log
commands
log
commands via
log
commands via
, or
log
commands
cm_log
ILEC (Status)YellowOFFEncryption keys not loadedLoad DEKs
8.2Error Codes
The ILE red Fault LED will turn ON if any of the conditions inTable 8.2 occur. Refer to log for
information on CNS4 errors and how to clear them. Refer to cm_log for information on ILE error
codes.
If any of the errors shown in Table 8.2 appear in the CLI, the unit will be locked. The only course of
action for the user is to cycle power or zeroize the ILE. If the error does not clear and normal
operation is not restored, contact Curtiss-Wright Customer Support at (800) 252-5601 for
assistance or E-mail [email protected]
Table 8.2Error Code List
Error CodeTypeMeaning
0x0102AESMemory allocation error
0x0109AESKnown Answer Test (KAT) failed
0x0202KEY_WRAPMemory allocation error
0x0209KEY_WRAPKnown Answer Test (KAT) failed
CNS4 CSfC8 - 1Troubleshooting
.
Revision 0.0
Page 77
User GuideDDOC0108-000-A2
Table 8.2Error Code List
Error CodeTypeMeaning
0x0210KEY_WRAPInitialization vector error
0x0302
0x0303
SHAMemory allocation error
0x0307
0x0309SHAKnown Answer Test (KAT) failed
0x0402HMACMemory allocation error
0x0407HMACHMAC vector failed
0x0409HMACKnown Answer Test (KAT) failed
0x0502
0x0503
DRBGMemory allocation error
0x0508DRBGInvalid state error
0x0509DRBGKnown Answer Test (KAT) failed
0x0510DRBGReseed error
0x0602
0x0603
RNGMemory allocation error
0x0604RNGSRAM write error
0x0605RNGSRAM write error
0x0609RNGKnown Answer Test (KAT) failed
0x0705TEMPTemperature read error
0x0804I2Ci2c switch write error
0x0809I2Ci2c switch queue error
0x0810I2CInterrupt handler error
0x080FI2CChecksum failed
0x0910VOLT1.8v sensor failure
0x0920VOLT3.3v sensor failure
0x0930VOLT5v sensor failure
0x0940VOLT1.8v sensor failure
0x0950VOLT3.3v sensor failure
0x0960VOLTLow battery warning
0x0A0AENCRYPTIONUser has not yet requested kek
0x0A11ENCRYPTIONEncryptor key mode config error
0x0A12ENCRYPTIONEncryptor keyload error
0x0A13ENCRYPTIONEncryptor xwall config error
0x0A14ENCRYPTIONInvalid enova slot
0x0A10ENCRYPTIONChip_A BIST error
0x0A20ENCRYPTIONChip_B BIST error
CNS4 CSfC8 - 2Troubleshooting
Revision 0.0
Page 78
User GuideDDOC0108-000-A2
Table 8.2Error Code List
Error CodeTypeMeaning
0x0A30ENCRYPTIONChip_C BIST error
0x0A40ENCRYPTIONChip_D BIST error
0x0A50ENCRYPTIONChip_A POST error
0x0A60ENCRYPTIONChip_B POST error
0x0A70ENCRYPTIONChip_C POST error
0x0A80ENCRYPTIONChip_D POST error
0x0B04SATASATA write error
0x0B05SATASATA read error
0x0D01SRAMLow battery error
0x0D04SRAMWrite error
0x0D07SRAMRead error
0x0D08SRAMSRAM corrupt
0x0E03NVRAM_1Memory allocation error
0x0E04NVRAM_1Write error
0x0E05NVRAM_1Read error
0x0E07NVRAM_1NVRAM corrupt
0x0F03NVRAM_2Memory allocation error
0x0F04NVRAM_2Write error
0x0F05NVRAM_2Read error
0x0F07NVRAM_2NVRAM corrupt
0x1001ILEInvalid storage type
0x1002ILEInvalid credentials
0x1003ILEInvalid credentials
0x1004ILEInvalid login
0x1005ILEInvalid user type
0x1006ILEInvalid PSK
0x1007ILEUser accounts have exceeded 5
0x1008ILEPermission denied
0x1009ILEInvalid key generation method
0x100AILEInvalid state
0x100BILEExceeded ILE login attempts
0x100CILEEDC check failed
0x100DILEDuplicate username
0x100EILEUnrecognized command
x3001FUPDATETransfer failed
x3002FUPDATEInvalid checksum
CNS4 CSfC8 - 3Troubleshooting
Revision 0.0
Page 79
User GuideDDOC0108-000-A2
Table 8.2Error Code List
Error CodeTypeMeaning
x3003FUPDATEFilesave failed
x3004FUPDATEInvalid signature
x3005FUPDATEVerification failed
x3006FUPDATEProgram failed
0x0C10SECURITYTamper event
0x0C20SECURITYTamper event
0x0C30SECURITYTamper event
0x0C40SECURITYTamper event
0x0C50SECURITYTamper event
0x0C60SECURITYTamper event
0x0C70SECURITYTamper event
0x0C80SECURITYTamper event
0x0009HOSTCommunications error
0x0000Not ApplicableStatus OK
CNS4 CSfC8 - 4Troubleshooting
Revision 0.0
Page 80
User GuideDDOC0108-000-A2
Simple Network Management Protocol
The CNS4 supports Simple Network Management Protocol (SNMP). The data provided to the
user's SNMP-configured workstation. The user may configure SNMP for a Windows workstation
via the Windows Control Panel. The user should consult with their network administrator for details
on configuration and utilization of the SNMP traps and other data capture programs. Figure 6-6
shows the OID command hierarchic. Below are examples of making use of the SNMP agent
running on the CNS4. Refer to the OID tree and the MIB for objects to query/set. Some objects are
read only, write-only, as well as read-write. In these examples, note the cnsSnmp.X.Y format. You
can correlate from these examples and the OID tree (Figure 9.1) on how to access different
objects. A majority of the objects are STRINGS and we denote that by passing an ‘s’ to the set
command.A.
Refer to SNMP MIB for the CNS4 MIB for SNMP. The MIB default path is /usr/share/snmp/mibs/
As of the date of this document, the appropriate way to start/stop the SNMP agent via command
line is:
serv –-snmp 1 – starts the snmp agent
serv –-snmp 0 – stops the snmp agent
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Write-only; Reading w ill return eth3 status. Apply changes made to eth3."
DEFVAL { "" }
::= { cnsEth3 6 }
--
-- CONTROL LIVESERVICES OBJECTS
--
cnsCifsLive OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the CIFS server."
DEFVAL { "" }
::= { cnsLiveServices 1 }
cnsNfsLive OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the NFS server."
DEFVAL { "" }
::= { cnsLiveServices 2 }
cnsFtpLive OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the FTP server."
DEFVAL { "" }
::= { cnsLiveServices 3 }
cnsTftpLive OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the TFTP server."
DEFVAL { "" }
::= { cnsLiveServices 4 }
CNS4 CSfC9 - 10Simple Network Management Protocol
Revision 0.0
Page 90
User GuideDDOC0108-000-A2
cnsHttpLive OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the HTTP server."
DEFVAL { "" }
::= { cnsLiveServices 5 }
cnsTelnetLive OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the Telnet server."
DEFVAL { "" }
::= { cnsLiveServices 6 }
cnsSnmpLive OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to ONLY stop (0) SNMP."
DEFVAL { "" }
::= { cnsLiveServices 7 }
cnsAllLive OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) all the services EXCEPT SNMP."
DEFVAL { "" }
::= { cnsLiveServices 8 }
--
-- CONTROL BOOT SERVICES OBJECTS
--
cnsCifsBoot OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the CIFS server on boot."
DEFVAL { "" }
::= { cnsBootServices 1 }
cnsNfsBoot OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the NFS server on boot."
DEFVAL { "" }
::= { cnsBootServices 2 }
CNS4 CSfC9 - 11Simple Network Management Protocol
Revision 0.0
Page 91
User GuideDDOC0108-000-A2
cnsFtpBoot OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the FTP server on boot."
DEFVAL { "" }
::= { cnsBootServices 3 }
cnsTftpBoot OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the TFTP server on boot."
DEFVAL { "" }
::= { cnsBootServices 4 }
cnsHttpBoot OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the HTTP server on boot."
DEFVAL { "" }
::= { cnsBootServices 5 }
cnsTelnetBoot OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) the Telnet server on boot."
DEFVAL { "" }
::= { cnsBootServices 6 }
cnsSnmpBoot OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) SNMP on boot."
DEFVAL { "" }
::= { cnsBootServices 7 }
cnsAllBoot OBJECT-TYPE
SYNTAX OCTET STRING (SIZE (1..4096))
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Used to start (1) and stop (0) all the services on boot."
DEFVAL { "" }
::= { cnsBootServices 8 }
END
CNS4 CSfC9 - 12Simple Network Management Protocol
Revision 0.0
Page 92
User GuideDDOC0108-000-A2
Remove / Replace
10.1ILE Module - Install / Remove
CAUTION
EQUIPMENT DAMAGE. Do not remove / install an ILE module with power applied or damage to
the ILE module and / or CNS4 will occur.
CAUTION
EQUIPMENT DAMAGE. Exercise ESD precautions when installing, removing, or handling the ILE
module. Failure to properly handle ILE modules can result in damage
10.1.1Remove
1. If applicable, turn 28VDC power supply OFF.
2. Remove four screws and FIPS CRYPTO cover panel.
3. Loosen two Allen screws (Figure 10.1) to release wedgelocks.
4. Grasp eject lever and carefully pull ILE module from the CHS4 chassis.
5. Place ILE module in a static-safe container and close cover.
Figure 10.1ILE Module Replacement
Eject
Lever
Slide
DDOC0108-0004
Rail
Allen Screw
10.1.2Install
1. Remove ILE module from static safe container.
2. Align ILE module rails with the chassis slides and carefully push module into chassis. Ensure
module connector fully seats in ILE backplane connector.
CNS4 CSfC10 - 1Remove / Replace
Revision 2.0
Page 93
User GuideDDOC0108-000-A2
CAUTION
IMPROPER OPERATION, Wedgelock levers must be raised to ensure conductive cooling of ILE
module occurs. Failure to close levers tightly may result in improper operation.
3. Tighten two Allen screws to raise wedgelocks and secure ILE module in place. Tighten screws
to 8.0 in.-lb (0.9 Nm).
4. Clean FIPS CRYPTO cover panel screws with primer (Loctite 7649) to remove old threadlock.
5. Coat screw threads with threadlock (Loctite 222).
6. Place FIPS CRYPTO cover panel onCNS4 chassis and secure with four screws. Tighten
screws to 8.0 in.-lb (0.9 Nm).
7. Install CNS4 anti-tamper label. Refer to paragraph 4.2 Inspection for label location. Refer to
Ordering Information section for tamper label information.
10.2FSM-C Module - Install / Remove
CAUTION
EQUIPMENT DAMAGE. Do not remove / install a FSM-C module with power applied or damage to
the FSM-C module and / or CNS4 will occur.
CAUTION
EQUIPMENT DAMAGE. Exercise ESD precautions when installing, removing, or handling the
FSM-C module. Failure to properly handle FSM-C modules can result in damage
10.2.1Remove
1. If applicable, turn 28VDC power supply OFF.
2. Loosen two captive screws and open FSM cover panel.
3. Extend / pull wedgelock levers (Figure 10.2) away from module body to release wedgelocks.
4. Grasp eject lever and carefully pull FSM-C module from CNS4 chassis.
5. Place FSM-C module in a static-safe container and close cover.
Figure 10.2FSM-C Module Replacement
Slide
Rail
Eject
Lever
CNS4 CSfC10 - 2Remove / Replace
Wedgelock Lever
DDOC0108-0008
Revision 2.0
Page 94
User GuideDDOC0108-000-A2
DDOC0108-0031
Battery Cover
Battery
1
2
45
63
Gasket
(+)
(-)
Tightening Sequence
10.2.2Install
1. Remove FSM-C module from static safe container.
2. Align FSM-C module rails with chassis slides and carefully push module into chassis. Ensure
module connector fully seats in storage backplane connector.
CAUTION
IMPROPER OPERATION, Wedgelock levers must be closed to ensure conductive cooling of
FSM-C module occurs. Failure to close levers tightly may result in improper operation.
3. Place wedgelock levers in the closed / retracted position to raise wedgelocks and secure
module in place.
4. Close FSM cover panel and secure with two captive screws. Tighten screws finger-tight.
10.3Chassis Battery Replacement
NOTE
The battery should be replaced every five years. Refer to Ordering Information section for part
number information.
10.3.1Remove
1. If applicable, turn 28VDC power supply OFF.
2. Disconnect cables and remove CNS4 from mounting surface / tray. Refer to paragraph 4.4
CNS4 Install / Remove for additional information.
3. Remove six screws, battery cover, and gasket from CNS4 chassis (Figure 4-7).
4. Remove battery from battery holder.
5. Discard battery.
Figure 10.3Chassis Battery Replacement
CNS4 CSfC10 - 3Remove / Replace
Revision 2.0
Page 95
User GuideDDOC0108-000-A2
10.3.2Install
1. Place battery in battery holder. Ensure battery polarity is correct (positive towards front of unit).
2. Clean screws with primer (Loctite 7649) to remove old threadlock.
3. Coat screw threads with threadlock (Loctite 222).
4. Place gasket and battery cover on CNS4 chassis and align mounting holes.
5. Use six screws to secure battery cover in place. Tighten screws to 8.0 in-lb (0.9 Nm) using
pattern shown in Figure 10.3.
6. Install new chassis battery label over old label. Refer to Ordering Information section for part
number information.
NOTE
Install and replacement dates should use MM / YYYY format.
7. Use a permanent marker to write Install and Replacement dates on label.
8. Install CNS4 on mounting surface / tray and connect cables. Refer to paragraph 4.4 CNS4
Install / Remove for additional information.
10.4ILE Module Battery Replacement
CAUTION
EQUIPMENT DAMAGE. Exercise ESD precautions when installing, removing, or handling the ILE
module. Failure to properly handle ILE modules can result in damage
NOTE
The batteries should be replaced every five years. Refer to Ordering Information section for part
number information.
NOTE
Replacement of the batteries will require breaking ILE tamper seal.
NOTE
The ILE module contains two batteries. They should be replaced as a pair.
10.4.1Remove
1. If applicable, turn 28VDC power supply OFF.
2. Remove ILE module from CNS4 chassis. Refer to paragraph 10.1 ILE Module - Install / Remove for additional information.
3. Remove ILE tamper label.
4. Remove 10 screws and cover from ILE chassis (Figure 10.4).
5. Remove batteries from battery holders.
6. Discard batteries.
10.4.2Install
1. Place batteries in battery holder.
2. Place cover on ILE chassis and align mounting holes.
3. Clean screws with primer (Loctite 7649) to remove old threadlock.
4. Coat screw threads with threadlock (Loctite 222).
5. Use 10 screws to secure battery cover in place. Tighten screws to 8.0 in-lb (0.9 Nm) using
pattern shown in Figure 4-8.
6. Install ILE tamper label. Refer to paragraph 4.2 Inspection for label locations. Refer to
Ordering Information section for tamper label information.
CNS4 CSfC10 - 4Remove / Replace
Revision 2.0
Page 96
User GuideDDOC0108-000-A2
DDOC0108-0040
Cover
Battery
Battery Holder
9
17
8
6
4
5
3
10
2
Tighten
Pattern
Figure 10.4ILE Module Battery Replacement
NOTE
ILE Battery Label is located on CNS4 chassis.
7. Install new ILE battery label over old label. Refer to Ordering Information section for part
number information.
NOTE
Install and replacement dates should use MM / YYYY format.
8. Use a permanent marker to write Install and Replacement dates on label.
9. Install ILE module in CNS4. Refer to paragraph 10.1 ILE Module - Install / Remove for
additional information.
CNS4 CSfC10 - 5Remove / Replace
Revision 2.0
Page 97
User GuideDDOC0108-000-A2
Command Line Interface
The Command Line Interface (CLI) is the primary method of communicating with and configuring
the CNS4.
cm_log.................................... Shows / clears ILE log files.
cm_login ................................ Allows users to login / use ILE.
cm_state................................. Shows current user / encryption key information.
11.2Commands
CNS4 CSfC11 - 1Command Line Interface
Revision 0.0
Page 98
User GuideDDOC0108-000-A2
11.2.1cm_create_account
Syntax:
cm_create_account [ -h | --help ] | [ -v | --version ]
cm_create_account [ -u <str> ] [ -p <str> ] [ -m i | e ] [ -k e | s | n ]
cm_create_account [ -u <str> ] [ -p <str> ]
Description:
The cm_create_account command provides the user the ability to create accounts. The first
account created will always be the crypto officer account and every other account created
thereafter will be treated as users. The crypto officer must be logged in to create user accounts.
Normal user accounts only have certain privileges where they are not able to choose the DEK nor
where the DEK is stored. Every user shares the same DEK as the crypto officer.
Options:
-h, --help............................. Help
-v, --version ........................ Show version information
The cm_crypto command provides the user the ability to perform cryptographic operations on data
of their choosing. More specifically the user may use this utility to decrypt KEKs, encrypt DEKS,
and generate HMAC-SHA256s.
Options:
-h, --help.............................. Help
-v, --version ......................... Show version information
-p, --plaintext <hex> ............ Data to be used to perform AES256 Keywrap on. Must be a 32 byte
value represented by 64 hex characters
-c, --ciphertext <hex> .......... Data to be used to perform AES256 KeyUnwrap on. Must be a 40
byte value represented by 80 hex characters
-t, --text <hex>..................... Data to be used when calculating HMAC-SHA-256. Must be less than
a 64 byte value represented by 128 hex characters
.-k, --key <hex> ................... Key to be used against AES256 Keywrap / KeyUnwrap and HMAC-
SHA-256. Must be a 32 byte value represented by 64 hex characters
The cm_field_update command provides the user the ability to update the firmware within the ILE
module. The update is a trusted update that requires an update file paired with a signature. This
update file and signature will be verified during the transfer and will generate a failure if verification
is unsuccessful.
NOTE
The update files must be placed on the root of fsm_nas0 on the CNS4.Refer to paragraph 6.3.2
ILE Module Firmware for more details.
NOTE
Curtiss-Wright will be the only entity who provides ILE firmware updates.
Options:
-h, --help.............................. Help
-v, --version ......................... Show version information