Advanced operations – MGE UPS Systems Switched PDU User Manual
Page 48

4. Advanced Operations
Setting trap destinations
The Set SNMP Trapdest1 and Trapdest2 commands are used to set the IP addresses of SNMP management
stations receiving all traps. Switched PDU supports a maximum of two trap destinations; one must be defined
to enable trap generation.
To set the trap destination:
At the Switched PDU: prompt, type
set snmp, trapdest1
or
trapdest2
, the Ipaddress and press
Enter
.
Example
The following sets the trap destination 1 to 64.42.31.208:
Switched PDU: set snmp trapdest1 64.42.31.208
To reset the trap destination:
At the Switched PDU: prompt, type
set snmp, trapdest1
or
trapdest2, 0.0.0.0
and press
Enter
.
Setting the trap timer
The Set Traptime command sets the timer period between repeated error-condition traps. The valid range for
the timer period is 1 to 65535 (in seconds).
The default value for the timer period is 60 seconds.
To set the trap timer:
At the Switched PDU: prompt, type
set traptime
, followed by the timer period and press
Enter
.
Example
The following sets the timer period to 180 seconds:
Switched PDU: set traptime 180
Setting the Get/Set community strings
Switched PDU supports two SNMP community strings that provide varying levels of access to objects defined in
the Switched PDU3 MIB.
Community strings may be 1 to 24 characters.
Setcomm
The Setcomm string provides read-write access to Switched PDU3 MIB objects.
The default Setcomm string is “private”
To set the Setcomm community string:
At the Switched PDU: prompt, type
set snmp setcomm
, followed by the string and press
Enter
.
Getcomm
The Getcomm string provides read-only access to Switched PDU3 MIB objects.
The default Getcomm string is “public”.
To set the Getcomm community string:
At the Switched PDU: prompt, type
set snmp getcomm
, followed by the string and press
Enter
.
Setting the Trap community string
The Set SNMP Trapcomm command is used to set the community string that is included with all generated
traps. This string must be defined to enable trap generation.
The trap community string may be 1 to 24 characters.
The default Trapcomm string is “trap”.
To set the Trapcomm community string:
At the Switched PDU: prompt, type
set snmp trapcomm
, followed by the string and press
Enter
.
Page 48 - 301-0399-4 Rev A.