sysconf snmp trap set
Set SNMP trap host information.
NOTE After running this command, you must restart the lsta service with the command service restart lsta for the configuration change to take effect.
User Privileges
Users with the following privileges can perform this command:
>Admin
>Operator
Syntax
sysconf snmp trap set -host <hostname/IP> [-secname <secname>] [-engineid <engineID>] [-authprotocol <protocol>] [-authpwd <password>] [-privprotocol <protocol>] [-privpwd <password>]
Argument(s) | Shortcut | Description |
---|---|---|
-host <hostname/IP> | -h |
Specifies the trap host name or IP address. |
-secname <secname> | -s | Specifies the SNMP v3 security name. |
-engineid <engineID> | -e | Specifies the SNMP v3 Engine ID (Hex Number, No 0x or 0X) |
-authprotocol <protocol> | -authpr |
Specifies the SNMP v3 Authentication Protocol Valid values: SHA Default: SHA |
-authpwd <password> | -authpw | Specifies the SNMP v3 Authentication password |
-privprotocol <protocol> | -privpr |
Specifies the SNMP v3 Privacy protocol Valid values: AES Default: AES |
-privpwd <password> | -privpw | Specifies the SNMP v3 Privacy Password |
Example
lunash:>sysconf snmp trap set -host mysnmphost -secname admin -engineid 800007c70300e05290ab60 -authprotocol SHA -authpwd p4$$w0rd -privprotocol AES -privpwd pr1vat3Pwd
Please use 'service restart lsta' for the new configuration to take effect.
Command Result : 0 (Success)