trap-destinations

This command configures the SNMP Trap Destinations table, which configures SNMP trap destinations (managers).

Syntax

(config-system)# snmp settings
(snmp)# trap-destinations <Index> (trap-destinations-<Index>)#

Command

Description

Index

Defines the table row index.

address

Defines the SNMP trap destination address (IP address or FQDN).

enable {disable|enable}

Enables the sending of traps to the SNMP trap destination.

name

Defines a descriptive name for the SNMP trap destination.

port

Defines the SNMP trap destination port.

snmp-version {SNMPv2|SNMPv3}

Defines the SNMP version of the SNMP trap manager (user).

snmpv3-user

Assigns an SNMPv3 user to this SNMP trap destination.

Note: The command is applicable only if you configure snmp-version to SNMPv3.

Command Mode

Privileged User

Example

This example configures an SNMPv3 trap destination at 10.13.4.145:

(config-system)# snmp settings
(snmp)# trap-destinations 1 (trap-destinations-1)# address 10.13.4.145
(trap-destinations-1)# snmp-version SNMPv3
(trap-destinations-1)# snmpv3-user MyTrapManager
(trap-destinations-1)# exit