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

    snmp-server enable traps

    Syntax

    To enable and configure trap severity level on a global basis:

    [ no ] snmp-server enable traps [ trapCategory | snmp authentication ]
    [ trapfilters trapFilter ]

    To specify the trap severity level on a per-category basis:

    snmp-server enable traps { trapCategory | snmp authentication } per-category-trapFilters trapFilter

    Release Information

    Command introduced before JunosE Release 7.1.0.
    ip keyword added in JunosE Release 7.1.0.
    packetMirror keyword added in JunosE Release 7.2.0.
    per-category-trapFilters keyword added in JunosE Release 9.3.0.

    ospfv3 trap category added in JunosE Release 13.2.0

    Description

    Enables and configures global and category-level SNMP trap generation. The no version disables SNMP trap generation globally. There is no no version for the command to specify the trap severity level on a per-category basis.

    Options

    • trapCategory—SNMP trap category
      • addrPool—Local address pool traps
      • atmPing—E Series router proprietary ATM ping traps
      • bfdmib—BFD MIB traps
      • bgp—BGP state change traps
      • bulkstats—Bulkstats file full and nearly full traps
      • cliSecurityAlert—Security alerts traps
      • dhcp—DHCP traps
      • dismanEvent—Distributed management (disman) event traps
      • dosProtectionPlatform—DoS protection platform traps
      • dvmrp—DVMRP traps
      • dvmrpProp—E Series router proprietary DVMRP traps
      • environment—Power, temperature, fan, and memory utilization traps
      • fileXfer—File transfer status change traps
      • haRedundancy—High availability and redundancy traps
      • inventory—Router inventory and status traps
      • ip—Internet Protocol traps
      • ldp—LDP traps
      • link—SNMP linkUp and linkDown traps
      • log—System log capacity traps
      • mobileIpv4—Mobile IPv4 traps
      • mplste—Mplste traps
      • mrouter—Mrouter traps
      • ntp—E Series router proprietary traps
      • ospf—OSPF traps
      • ospfv3—OSPFv3 traps
      • packetMirror—Secure packet mirroring traps; visible only if packet mirroring is enabled
      • pim—PIM traps
      • ping—Ping operation traps (in disman remops MIB)
      • radius—RADIUS authentication and authorization servers
      • routeTable—Maximum route limit and warning threshold traps; when this trap is generated, the actual value of the exceeded warning threshold is displayed
      • sonet—SONET traps
      • snmp—SNMP coldStart, warmStart, link, and authenticationFailure traps
      • traceroute—Traceroute operation traps (in disman remops MIB)
      • vrrp—VRRP traps
    • snmp—Specifies the SNMP coldStart, warmStart, and authenticationFailure traps
    • authentication—Specifies the SNMP authenticationFailure trap
    • trapFilters—Specifies the trap severity level at a global level; if the per-category trap severity level is not set for a particular category, this setting is applied to that category
    • trapFilter—Minimum severity level for filtering traps at a global level or for a specified category
      • emergency—Severity level 0
      • alert—Severity level 1
      • critical—Severity level 2
      • error—Severity level 3
      • warning—Severity level 4
      • notice—Severity level 5
      • informational—Severity level 6
      • debug—Severity level 7
    • per-category-trapFilters—Specifies the trap severity level for a particular category; this setting overrides the severity level set at the global level for this category
    • trapFilter—Minimum severity level for filtering traps for the specified category

    Mode

    Global Configuration

    Published: 2014-08-20