6. Command Reference of RPCM CLI
The
delete
command with the
snmp
`user is for deleting a user account in the
SNMPv3
frame-
work.
To delete, just specify the name of the SNMPv3 user account.
Example
: Deleting the SNMPv3 account
newrpcmuser
delete snmp user newrpcmuser
The return is:
User newrpcmuser deleted.
6.4.7.3 Commands:
add snmp trap
and
delete
snmp
trap
Additional information:
An SNMP trap is a special message, which is sent by the SNMP agent to the receiver (monitoring server). Such messages are
sent to alert the administrator about critical events, e.g., a short circuit, outlet turn of due to overcurrent and so on.
The commands:
add snmp
user
and
delete
snmp
user
are for creating and deleting target settings
for sending messages within the SNMP Trap service
Commands:
add snmp trap and delete snmp trap
creates SNMP trap settings.
Show help:
add snmp trap v1 destination ?
The return is:
Please set ip address of server which will catch traps and community string
Example: add snmp trap v1 destination 192.168.1.100 port 162 community public --enabled
yes
To create the target settings, you must specify the following parameters:
v1
— SNMP version is not a configurable constant, always set to
v1
;
destination
— IP address of the message receiver (monitoring server), e.g. 192.168.1.100;
port
— number of the TCP port that the receiver listens, the default is 162;
community
— name of the community according to the SNMP v1/2c authorization scheme.
Example: Entering values from the prompt (see above)
add snmp trap v1 destination 192.168.1.100 port 162 community public --enabled yes
The return is:
SNMP Trap added
The command
delete snmp trap
deletes the created target settings for SNMP Trap
The return is:
delete snmp trap ?
240