© Microhard Systems Inc.
116
5.0 AT Command Line Interface
AT+MASNMP
Command Syntax (Effect: AT&W)
Get/Set SNMP service.
AT+MASNMP[=<Mode>[,<ROCommunity>,<RWCommunity>,<Port>,<Version>]]
Mode: 0 - Disable
1 - Enable
ROCommunity: Read Only Community Name 1 to 31 characters
RWCommunity: Read Write Community Name 1 to 31 characters
Port: Listening Port 0 to 65535. Default is 161
Version: SNMP version
1 - Version 1
2 - Version 2
3 - Version 3 (Use AT+MASNMPV3 to set Authentication and Privacy parameters)
Description
Example
Input:
AT+MASNMP=1,public,private,161,2<enter>
Response:
OK
AT+MASNMPTRAP
Command Syntax (Effect: AT&W)
Get/Set SNMP trap.
AT+MASNMPTRAP[=<Mode>[,<Name>,<IP>[,<AuthFailureTraps>]]
<Mode>:
0 - Disable
1 - Enable
<Name>:
Trap Community Name. 1 to 63 characters
<IP>:
Trap Manage Host IP. Default 0.0.0.0 (Disable)
<AuthFailureTraps>:
0 - Disable
1 - Enable
Usage:
AT+MASNMPTRAP
AT+MASNMPTRAP=0
AT+MASNMPTRAP=1[,<Name>,<IP>[,<AuthFailureTraps>]]
Description