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<Enter>
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
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<Enter>
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
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
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 -