GSM Series User Manual

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.

153

Alloy Computer Products Pty Ltd Copyright ©2006

Page 157
Image 157
Alloy Computer Products GSM-8T16SFP, GSM-24T2SFP, GSM-16T2SFP user manual 153, Set