log-updown (Protocols MPLS)
Syntax
log-updown { no-trap { mpls-lsp-traps; rfc3812-traps; } (syslog | no-syslog); trap; trap-path-down; trap-path-up; }
Hierarchy Level
[edit logical-systems logical-system-name protocols mpls], [edit protocols mpls]
Description
Log a message or send an SNMP trap whenever an LSP makes a transition from up to down, or vice versa, and whenever an LSP switches from one active path to another. Only the ingress router performs these operations.
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.
Default
There is no default behavior for this statement. If you do not specify the options, the configuration cannot be committed.
Options
no-syslog
—Do not log a message
to the system log file.
no-trap
—Do not send an SNMP trap.
syslog
—Log a message to the system log file.
trap
—Send an SNMP trap.
trap-path-down
—Send an SNMP trap when an LSP
path goes down.
trap-path-up
—Send an SNMP trap when an LSP
path comes up.
The no-trap
statement is explained separately.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.The mpls-lsp-traps
and rfc-3812-traps
options added in Junos OS Release 9.0.