Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

System Log Messages and SNMP Traps for MPLS

Whenever an LSP makes a transition from up to down, or down to up, and whenever an LSP switches from one active path to another, the ingress router generates a system log message and sends an SNMP trap. The following shows a sample system log message:

For information about the MPLS SNMP traps and the proprietary MPLS MIBs, see the Junos OS Network Management Administration Guide for Routing Devices.

System log messages for LSPs are generated by default. To disable the default logging of messages for LSPs, configure the no-syslog option under the log-updown statement:

To generate SNMP traps for LSPs, include the trap option to the log-updown statement:

To generate SNMP traps whenever an LSP path goes down, include the trap-path-down option to the log-updown statement:

To generate SNMP traps whenever an LSP path comes up, include the trap-path-up option to the log-updown statement:

To disable the generation of system log messages, include the no-syslog option to the log-updown statement:

To disable the generation of SNMP traps, include the no-trap statement:

You can include this statement at the following hierarchy levels:

  • [edit protocols mpls log-updown]

  • [edit logical-systems logical-system-name protocols mpls log-updown]

For scalability reasons, only the ingress router generates SNMP traps. By default, MPLS issues traps for all configured LSPs. If you have many LSPs, the number of traps can become quite large. To disable the generation of SNMP traps, configure the no-trap statement.

The no-trap statement also includes the following options which allow you to block certain categories of MPLS SNMP traps:

  • mpls-lsp-traps—Blocks the MPLS LSP traps defined in the jnx-mpls.mib, but allows the rfc3812.mib traps.

  • rfc-3812-traps—Blocks the traps defined in the rfc3812.mib, but allows the MPLS LSP traps defined in the jnx-mpls.mib.