Querying and Setting the SNMPv3 Trap User (trap -d user)
Function
The trap -d user command is used to query and set the SNMPv3 trap user.
Format
ipmcget -t trap -d user
ipmcset -t trap -d user -v <username>
Parameters
Parameter |
Description |
Value |
---|---|---|
username |
Indicates the SNMPv3 trap user. |
It must be a user name that has been defined already. |
Usage Guidelines
The same user name and password must be configured on the SNMP network management station (NMS).
By default, the trap V3 user name is Administrator.
Example
# Set the SNMPv3 trap user to root.
iBMC:/->ipmcset -t trap -d user -v root
Set trap user root successfully.
# Query the SNMPv3 trap user.
iBMC:/->ipmcget -t trap -d user
Trap user : root