Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    Monitoring the SNMP Trap and Trap Destination Details

    Purpose

    Display configuration information about SNMP traps and trap destinations.

    Action

    To display configuration information about SNMP traps and trap destinations:

    host1# show snmp trap
    Enabled Categories: Bgp, Ospf, Sonet
    SNMP authentication failure trap is disabled
    Trap Source: FastEthernet 6/0, Trap Source Address:172.27.120.78
    Trap Proxy: enabled
    Global Trap Severity Level: 7 - debug
    
    Trap Severity Level    TrapCategories
    -------------------    -------------------
    7 - debug               ospf                                
    
    Address          Security String      Ver  Port   Trap Categories
    ---------------  -------------------  ---  -----  ----------------
    192.168.1.10     public                v1   162    BgpOspf
    
    
    Address      TrapSeverityFilter  Ping    Maximum    Queue   Queue Full
                                    TimeOut QueueSize DrainRate discrd methd
    ------------ ------------------ ------- --------- --------- -------------
    192.168.1.10  2 - critical       1       32        0        dropLastIn
    
    

    Meaning

    Table 1 lists the show snmp trap command output fields.

    Table 1: show snmp trap Output Fields

    Field Name

    Field Description

    Enabled Categories

    Trap categories that are enabled on the router

    SNMP authentication failure trap

    Authentication failure trap status: Enabled or disabled

    Trap Source

    Interface whose IP address is used as the source address for all SNMP traps

    Trap Source Address

    IP address used as the source address for all SNMP traps

    Trap Proxy

    Trap proxy status: Enabled or disabled

    Global Trap Severity Level

    Global severity level filter. If a trap does not meet this severity level, it is discarded. If the per-category trap severity level is not set for a particular category, the severity displayed here is used for that category.

    Trap Severity Level

    Severity level filter for a trap category. This severity level overrides the globally configured trap severity level.

    TrapCategories

    Types of traps enabled on the router for which trap severity is configured at the category level

    Address

    IP address of the trap recipient

    Security String

    Name of the SNMP community

    Ver

    SNMP version (v1 or v2) of the SNMP trap packet

    Port

    UDP port on which the trap recipient accepts traps

    Trap Categories

    Types of traps that the trap recipient can receive

    TrapSeverityFilter

    Severity level filter for this SNMP host

    Ping TimeOut

    Configured ping timeout in minutes

    Maximum QueueSize

    Maximum number of traps to be kept in the trap queue

    Queue DrainRate

    Maximum number of traps per second to be sent to the host

    Queue Full discard method

    Method used to discard traps when the queue is full:

    • dropFirstIn—Oldest trap in the queue is dropped.
    • dropLastIn—Most recent trap is dropped.

    Published: 2014-08-12