Silex SX-550-0700 E1038 用户手册
产品代码
E1038
Configuring Serial Port Monitor Alert and Trap Configuration
The SX-550 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.
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.
Configuration Console interface.
Table 28 describes the Monitor Alert and Trap Configuration Commands..
Table 28 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
TRIGMON index numbers
SET PORT S1 TRIGXMT <index #> <string>
Index # = 0 to 7
Assigns email or web page string to specified
TRIGMON index number
TRIGMON index number
Example:
Local> show port s1 trigxmt
Index # Xmit String
------ ---------------
0: xmit string 0 <<< default msg 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!
------ ---------------
0: The trigger string was seen!
Part Number 40183-101
Silex SX-550 Developer's Guide
Page 69