GSM Series User Manual
153
Alloy Computer Products Pty Ltd Copyright ©2006
set
Syntax:
set get-community <community>
set set-community <community>
set trap <#> <ip> [port] [community]
Description:
Set is used to configure the setup of the get-community, set-community, trap host ip, host port
and trap-community.
Argument:
<#>: trap number
<ip>: ip address or domain name
<port>: trap port
<community>:trap community name
Possible value:
trap number: 1 to 6
port:1~65535
Example:
GSM-16T2SFP(snmp)# set get-community public
: Sets the get-community name to public.
GSM-16T2SFP(snmp)# set set-community private
: Sets the set-community name to private.
GSM-16T2SFP(snmp)# set trap 1 192.168.1.1 162 public
: Sets trap 1 host IP address of 192.168.1.1 using port number 162. The community name is set
to public. Any SNMP traps will be sent to the IP address specified above.