snmp trap-destination
This command configures the SNMP Trap Destinations table, which configures SNMP trap destinations (Managers).
Syntax
(config-system)# snmp trap-destination <Index> (trap-destination-<Index>)#
Command |
Description |
---|---|
Index |
Defines the table row index. |
ip-address |
Defines the SNMP manager's IP address. |
port |
Defines the SNMP manager's port. |
reset-trap-user |
Returns to the default trap user. |
send-trap {disable|enable} |
Enables the sending of traps to the SNMP manager. |
trap-user |
SNMPv3 USM user or SNMPv2 user to associate with this trap destination. |
Command Mode
Privileged User
Example
This example demonstrates configuring a trap destination:
(config-system)# snmp trap-destination 0 (trap-destination 0)# ip-address 10.13.4.145 (trap-destination 0)# send-trap