snmp trap

This command configures SNMP traps.

Syntax

(config-system)# snmp trap
(snmp-trap)# 

Command

Description

auto-send-keep-alive {disable|enable}

Invokes a keep-alive trap and sends it every 9/10 of the time configured by the parameter NatBindingDefaultTimeout.

community-string

Defines the community string used in traps.

manager-host-name

Defines the FQDN for IPv4 address resolution of the remote host that is used as an SNMP Trap Manager.

manager-ipv6-host-name

Defines the FQDN for IPv6 address resolution of the remote host that is used as an SNMP Trap Manager.

reset-community-string

Returns to the default trap community string.

Command Mode

Privileged User

Example

This example configures the IPv4 FQDN of the remote host used as the SNMP Trap Manager:

(config-system)# snmp trap 
(snmp-trap)# manager-host-name John