Specifying trap destinations
To configure the destination of trap and inform notifications, specify the IP address (IPv4 or IPv6) of the SNMPv3 trap target and the name of the SNMPv3 user at the trap target. To authenticate the SNMPv3 user at the trap target, specify the service snmp v3 trap-target addr auth [ encrypted-key | plaintext-key ] passwd command. To encrypt the notifications at the trap target, specify the service snmp v3 trap-target addr privacy [ encrypted-key | plaintext-key ] passwd command.
By default, the vRouter sends inform notifications to trap targets.
The following table shows an example of the vRouter configured to send SNMP traps to the configured SNMP manager at 172.18.93.86.
To specify trap destinations, SNMPv3 user names at the trap target, and security keys, perform the following steps in configuration mode.
Step |
Command |
---|---|
Specify the IP address of the trap target and the clear-text password used for authenticating the user at the trap target. Note: The clear-text password is stored in the system in this form. |
|
Optional. Specify the IP address of the trap target and the clear-text password used to encrypt the traps and informs. Note: The clear-text password is stored in the system in this form. |
|
Specify the type of notifications to send to the trap target. |
|
Specify the SNMP engine ID of the SNMPv3 trap target. Note: If the service snmp v3 trap-target addr type type command is set to trap, you must also the specify the engine ID of the SNMPv3 trap target using service snmp v3 trap-target addr engineid engineid command.
|
|
Specify the IP address of the trap target and the username at the trap target. |
|
Commit the change. |
|
Verify the configuration. |
|