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

    traps

    Syntax

    For OSPFv2:

    [ no ] traps { all | { { virtIfStateChange | nbrStateChange | virtNbrStateChange | ifConfigError | virtIfConfigError | ifAuthFailure | virtIfAuthFailure | ifRxBadPkt | virtIfRxBadPkt | txRetransmit | virtTxRetransmit | originateLsa | maxAgeLsa | ifStateChange } [ virtIfStateChange | nbrStateChange | virtNbrStateChange | ifConfigError | virtIfConfigError | ifAuthFailure | virtIfAuthFailure | ifRxBadPkt | virtIfRxBadPkt | txRetransmit | virtTxRetransmit | originateLsa | maxAgeLsa | ifStateChange ]* } }

    For OSPFv3:

    [ no ] traps { all | [ ospfv3IfStateChange | ospfv3VirtIfStateChange | ospfv3NbrStateChange |ospfv3VirtNbrStateChange | ospfv3IfConfigError | ospfv3VirtIfConfigError | ospfv3IfRxBadPacket | ospfv3VirtIfRxBadPacket | ospfv3LsdbOverflow | ospfv3LsdbApproachingOverflow | ospfv3NssaTranslatorStatusChange | ospfv3RestartStatusChange | ospfv3NbrRestartHelperStatusChange |
    ospfv3VirtNbrRestartHelperStatusChange ]* }

    Release Information

    Command introduced before JunosE Release 7.1.0.

    OSPFv3 version added in JunosE Release 14.1.0

    Description

    Specifies OSPF or OSPFv3 trap settings. The no version removes all OSPF or OSPFv3 trap settings or any specified traps.

    Options

    • all—Enables all OSPF or OSPFv3 traps
    • virtIfStateChange—Sets a trap to indicate a state change on an OSPF virtual interface
    • nbrStateChange—Sets a trap to indicate a state change on a nonvirtual OSPF neighbor
    • virtNbrStateChange—Sets a trap to indicate a state change on a virtual OSPF neighbor
    • ifConfigError—Sets a trap to indicate a configuration mismatch with a nonvirtual neighbor
    • virtIfConfigError—Sets a trap to indicate a configuration mismatch with a virtual neighbor
    • ifAuthFailure—Sets a trap to indicate an authentication failure on a nonvirtual interface
    • virtIfAuthFailure—Sets a trap to indicate an authentication failure on a virtual interface
    • ifRxBadPkt—Sets a trap to indicate that a packet has been received that cannot be parsed
    • virtIfRxBadPkt—Sets a trap to indicate that a packet has been received on a virtual interface that cannot be parsed
    • txRetransmit—Sets a trap to indicate that a packet has been retransmitted on a nonvirtual interface
    • virtTxRetransmit—Sets a trap to indicate that a packet has been retransmitted on a virtual interface
    • originateLsa—Sets a trap to indicate that a new LSA has been originated by this router
    • maxAgeLsa—Sets a trap to indicate that an LSA in this router LSDB has reached MaxAge
    • ifStateChange—Sets a trap to indicate a state change on an OSPF interface
    • ospfv3IfStateChange—Sets a trap to indicate a state change on a nonvirtual OSPFv3 interface
    • ospfv3VirtIfStateChange—Sets a trap to indicate a state change on an OSPFv3 virtual interface

      Note: This trap is not supported because virtual links are not supported for OSPFv3. A warning message is displayed when this trap is enabled.

    • ospfv3NbrStateChange—Sets a trap to indicate a state change on a nonvirtual OSPFv3 neighbor
    • ospfv3VirtNbrStateChange—Sets a trap to indicate a state change on a virtual OSPFv3 neighbor

      Note: This trap is not supported because virtual links are not supported for OSPFv3. A warning message is displayed when this trap is enabled.

    • ospfv3IfConfigError—Sets a trap to indicate that a packet has been received on a nonvirtual interface from a neighboring router whose configuration parameters conflict with that of the router containing the nonvirtual interface
    • ospfv3VirtIfConfigError—Sets a trap to indicate that a packet has been received on a virtual interface from a neighboring router whose configuration parameters conflict with that of the router containing the virtual interface

      Note: This trap is not supported because virtual links are not supported for OSPFv3. A warning message is displayed when this trap is enabled.

    • ospfv3IfRxBadPacket—Sets a trap to indicate that an OSPFv3 packet that cannot be parsed has been received on a nonvirtual interface
    • ospfv3VirtIfRxBadPacket—Sets a trap to indicate that an OSPFv3 packet that cannot be parsed has been received on a virtual interface

      Note: This trap is not supported because virtual links are not supported for OSPFv3. A warning message is displayed when this trap is enabled.

    • ospfv3LsdbOverflow—Sets a trap to indicate that the number of LSAs in the router's link state database has exceeded ospfv3ExtAreaLsdbLimit
    • ospfv3LsdbApproachingOverflow—Sets a trap to indicate that the number of LSAs in the router's link state database has exceeded ninety percent of ospfv3ExtAreaLsdbLimit
    • ospfv3NssaTranslatorStatusChange—Sets a trap to indicate a change in the router's ability to translate OSPFv3 NSSA LSAs into OSPFv3 External LSAs
    • ospfv3RestartStatusChange—Sets a trap to indicate a change in the graceful restart state of the router
    • ospfv3NbrRestartHelperStatusChange—Sets a trap to indicate a change in the graceful restart helper state of the neighbor
    • ospfv3VirtNbrRestartHelperStatusChange—Sets a trap to indicate a change in the graceful restart helper state of the virtual neighbor

      Note: This trap is not supported because virtual links are not supported for OSPFv3. A warning message is displayed when this trap is enabled.

    • *—Indicates that one or more parameters can be repeated multiple times in a list in the command line

    Mode

    Router Configuration

    Published: 2014-08-18