Silex technology SX-560 manual Port Monitor Alert Commands Description, Index # Monitor String

Page 67

Configuring Serial Port Monitor Alert and Trap Configuration

The SX-560 module can be configured to scan and compare the data received on the serial port to user- defined strings. A match with a string can be a source for SNMP traps and/or email alerts.

The match strings and corresponding email or web page message strings are configured from the Internal Configuration Console interface.

Table 27 describes the Monitor Alert and Trap Configuration Commands (the examples are for serial port 1; for serial port 2, substitute the port name S2 instead of S1.

Table 27 Port Monitor Alert Commands

 

Command

 

 

Description

 

 

 

 

SHOW PORT S1 TRIGMON

 

Shows strings and index numbers being monitored

 

 

 

SET PORT S1 TRIGMON <trig #> <string>

Assigns a string to be monitored on the serial port

 

 

 

 

 

Example:

 

 

 

 

Local> show port s1 trigmon

 

 

Index #

Monitor String

 

 

 

------

--------------

 

 

 

Local> set port s1 trigmon 0 trigger on seeing this string

Local> show port s1 trigmon

 

 

Index #

Monitor String

 

 

 

------

--------------

 

 

 

0:

trigger on seeing this string

SHOW PORT S1 TRIGXMT

 

 

Shows email or web page strings associated with

 

 

 

 

TRIGMON index numbers

 

 

 

SET PORT S1 TRIGXMT <index #> <string>

 

Assigns email or web page string to specified

Index # = 0 to 7

 

 

TRIGMON index number

 

 

 

 

 

 

 

 

Example:

 

 

 

 

 

 

 

Local> show port s1 trigxmt

 

 

Index #

Xmit String

 

 

 

------

---------------

 

 

 

0:

xmit string 0

<<< default msg string

Local> set port s1 trigxmt 0 The trigger string was seen!

Local> show port s1 trigxmt

 

 

Index #

Xmit String

 

 

 

------

---------------

 

 

 

0:

The trigger string was seen!

 

 

 

 

 

Advanced Configuration

Silex

Part Number 140-00192-100

Page 61

Image 67
Contents SX-560 Embedded Intelligent Module Trademarks Contents 101 Figures Silex Part Number Contents About This Reference Guide Safety PrecautionsEmissions Disclaimer Silex SX-560 top and bottom view IntroductionSilex Part Number Introduction Installing SX-560 Module in Evaluation Daughtercard Chapter Installing the Evaluation DaughtercardSilex Part Number Installing the Evaluation Daughtercard Verify Development Kit Contents SX-560 Module Inserted in Daughtercard Installing the SX-560 ModuleFunction State Status Monitoring Module StatusOEM Interface Status MonitorsOEM Interface Signal Descriptions Pin Type Electrical CharacteristicsDTR DCDRXD TXDCTS DB-9 RS-232 Signal TypeLogical Serial Port 1 Signal Descriptions Pin Input/Output RTSGPIO6 DCD0 GPIO3 TspicsGPIO4 DTR0 GPIO5 DSR026-Pin I/O Header Signal Selectable LED and Gpio Descriptions USB Host Port and Ethernet Port UART0TXD, UART0RTS UART1TXD, UART1RTS UART2TXD LCD InterfaceSilex Part Number Installing the Evaluation Daughtercard Wireless Configuration Settings Chapter Configuring the SX-560Basic Configuration Requirements TCP/IP SettingsConfiguration Methods Initial Wireless SetupConfiguring the SX-560 Silex Part Number Silex Configuring the SX-560 Silex Part Number Silex Using the SX-560 Configuring the SX-560 Silex Part Number Using a Web Browser to Configure the SX-560 Configuring the SX-560 Silex Part Number Using the Internal Command Console to Configure the SX-560 AD-HOC Init Exit SpaceLinux Programmability Chapter Using the SX-560 with Your ApplicationCustomizing the SX-560 User Interface Init Power ConfigurationSET Default Serial Port EmulatorTelnet ipaddress portnumber Raw TCP connectionRFC 2217 Remote Modem Control Support ECable ModeConsole Mode Switching Print Server ModeSET Port S1 Constr ++++ Snmp Traps, Email Alerts, and Gpio Status AT CommandsSET Port S1 Filter AT Interfacing the SX-560 to the OEM Device SX-560 Evaluation Daughtercard Schematics SX-560 Evaluation Daughtercard Schematics CPIO2, GPIO3 ResetiSpics TXD1 Spiclk CTS1 Ground Iicsdc TXD2 Iicsda RXD2USB SX-560 Power RequirementsSignal Pin Type Description USB+Antenna Connectors Installing the SX-560Retaining Bracket Optional Antenna Connector Types Parameter DescriptionDrive High/Low Description Regulatory Approval RequirementsGeneral Purpose I/O Interface Gpio Interface PinCTS/RTS Chapter Advanced ConfigurationFactory Default Settings Factory Default Settings Parameter DescriptionParameter Description Settings Default Setting Modifying TCP/IP SettingsChange Password Window Parameter SettingDNS TCP/IP Configuration Settings ParameterSnmp Commands Configuring SnmpCommand Description Snmp Configuration Configuring the General Purpose I/O Gpio LinesShow Gpio DIR Gpio General Commands DescriptionShow Gpio Special SET Gpio Special EN DISShow Gpio Specm DIS Gpio Trigger Commands DescriptionShow Gpio Trigm Trig # Email String Your email text msg here Gpio #2 is Gpio Transmit Commands DescriptionGpio Data Commands Trig # Email String Gpio #1 is Gpio #2 isShow Gpio Data SET Gpio Port Gpio TCP Monitor CommandsSET Gpio MON EN DIS Show Gpio MONGPIO=00abLF 5 4 3 2 1 Index # Xmit String Trigger string was seen Port Monitor Alert Commands DescriptionIndex # Monitor String Index # Xmit String Xmit stringUsing AT Modem Commands Setting up Email Alerts and Snmp TrapsAT Commands Parameter Description Standard AT Commands SupportedExtended AT Commands Parameter Description Parameter Command DescriptionAT#Cset nw ssid silex#Csave Response Codes Using ExtendView for Bulk ConfigurationResponse Codes Numeric Code Description Silex Chapter Product SpecificationsPort Destination Device TCP Port ConnectionsSdio TCP Port ConnectionsTtls Leap Peap TLS Fast Appendix a Advanced Security ConfigurationPSK EAPWEP Key Value Encryption ModeWireless Authentication Type Key SelectionPrivate Key TLS Wireless Security Only PasswordAuthentication Protocol Authentication CertificateSilex Part Number Advanced Security Configuration Wireless and Network Security Commands Appendix B Console CommandsNetwork Commands TLS Fast WPA-PSK SET NW RTS SET NW PW SET NW IDSET NW Inap PAPMSCHAPV2 SET NW Wpagroup Enable DisableSET NW Realm SET NW Reset Port CommandsPort Commands Description SET Port S1 Size 7 Server Information CommandsServer Information Commands Description CL Port S1 JOBSH Serial Serial server Firmware Ver .19 Boot Ver 16Mbit FlashSerial number is Service Commands Description Service CommandsSET Servi service name NAme Newname SET Servi service name FRMSET Servi service name FRS SET Servi service name IP ENable DIsableSnmp Commands Description Snmp CommandsSET Snmp Getcomm POSTSCRIPT\0A String CommandsString Commands Enter LANGUAGE=TCP/IP Commands TCP/IP CommandsAuto Dhcp Static SET IP FTPSET IP Http SET IP LPDSET IP Tftp SET IP TELnet ENable DIsableSET IP Timeout SET IP TCPBit# Hex Value Trigger Condition SH IPAuto XxxxxxS1A 9100 XxxxxxS1B 3001SH Power Power Configuration CommandsPower Configuration SET Power power-levelSave Miscellaneous CommandsHelp Commands Miscellaneous CommandsAppendix C Engineering Drawings Antenna Cable Drawings and SpecificationsElectrical Performance Parameter Value Antenna Drawings and SpecificationsVswr Electrical Specifications Parameter ValueSilex Part Number Engineering Drawings Tftp -iipaddress put filename access Appendix D Firmware Update ProceduresSilex Part Number Firmware Update Procedures Appendix E Using the Silex Virtual Link USB Software Silex Part Number SVL USB Firmware Appendix F GNU/Linux Open Source and Programming Silex Part Number GNU/Linux Programming Silex Technology Beijing, Inc Appendix G Silex Contact InformationSilex Technology America, Inc Silex Technology Europe GmbHSilex Part Number Silex Contact Information Part Number 140-00192-100 Revision C-2 Silex Technology America, Inc