POEGEM12T2SFP 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:

POEGEM12T2SFP(snmp)# set get-community public

:Sets the get-community name to public. POEGEM12T2SFP(snmp)# set set-community private

:Sets the set-community name to private. POEGEM12T2SFP(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.

156

Alloy Computer Products Pty Ltd Copyright ©2006

Page 160
Image 160
Alloy Computer Products POEGEM12T2SFP user manual 156, Set