label-switched-path (Protocols MPLS)
Syntax
label-switched-path lsp-name { disable; adaptive; admin-down; admin-group { exclude [ group-names ]; include-all [ group-names ]; include-any [ group-names ]; } auto-bandwidth { adjust-interval seconds; adjust-threshold percentage; maximum-bandwidth bps; minimum-bandwidth bps; monitor-bandwidth; } bandwidth bps { ct0 bps; ct1 bps; ct2 bps; ct3 bps; } class-of-service cos-value; cross-credibility-cspf; description text; entropy-label; fast-reroute { (bandwidth bps | bandwidth-percent percentage); (exclude [ group-names ] | no-exclude); hop-limit number; (include-all [ group-names ] | no-include-all); (include-any [ group-names ] | no-include-any); } from address; install { destination-prefix/prefix-length <active>; } inter-domain; ldp-tunneling; link-protection; lsp-attributes { lsp-external-controller; encoding-type (ethernet | packet | pdh | sonet-sdh); gpid (ethernet | hdlc | ipv4 | pos-scrambling-crc-16 | pos-no-scrambling-crc-16 | pos-scrambling-crc-32 | pos-no-scrambling-crc-32 | ppp); signal-bandwidth type; switching-type (fiber | lambda | psc-1 | tdm); } metric metric; no-cspf; no-decrement-ttl; node-link-protection; optimize-timer seconds; p2mp lsp-name; policing { filter filter-name; no-auto-policing; } preference preference; primary path-name { adaptive; admin-group { exclude [ group-names ]; include-all [ group-names ]; include-any [ group-names ]; } bandwidth bps { ct0 bps; ct1 bps; ct2 bps; ct3 bps; } class-of-service cos-value; hop-limit number; no-cspf; no-decrement-ttl; optimize-timer seconds; preference preference; priority setup-priority reservation-priority; (record | no-record); select (manual | unconditional); standby; } priority setup-priority reservation-priority; (random | least-fill | most-fill); (record | no-record); retry-limit number; retry-timer seconds; revert-timer seconds; secondary path-name { adaptive; admin-group { exclude[ group-names ]; include-all [ group-names ]; include-any [ group-names ]; } bandwidth bps { ct0 bps; ct1 bps; ct2 bps; ct3 bps; } class-of-service cos-value; hop-limit number; no-cspf; no-decrement-ttl; optimize-timer seconds; preference preference; priority setup-priority reservation-priority; (record | no-record); select (manual | unconditional); standby; } soft-preemption; standby; to address; traceoptions { file filename <files number> <size size> <world-readable | no-world-readable>; flag flag <flag-modifier> <disable>; } }
Hierarchy Level
[edit logical-systems logical-system-name protocols mpls], [edit protocols mpls]
Description
Configure an LSP to use in dynamic MPLS. When configuring
an LSP, you must specify the address of the egress router in the to
statement. All remaining statements are optional.
Options
lsp-name |
Name that identifies the LSP. The name can be up to 64 characters and can contain letters, digits, periods, and hyphens. To include other characters, enclose the name in quotation marks. The name must be unique within the ingress router. |
cross-credibility-cspf |
Enable path computation across credibility levels. The constraint path computation is run across multi-protocol links and nodes, instead of a credibility-by-credibility basis. |
link-protection |
Enable protection for LSP from link faults only. |
no-self-ping |
Disable self-ping for the LSP. Note:
Starting in Junos OS 17.4, you can override the behavior of self-ping
running by default using Note:
Starting with Junos OS 16.1 the MPLS EXP bits transmitted in self ping messages are set based on the DSCP/ToS setting of the corresponding IP packet. In prior Junos OS releases the MPLS EXP bits in self ping packets are set to 0. |
self-ping-duration seconds |
Specify the duration (in seconds) for which to run the self-ping mechanism unless the ping succeeds sooner. LSP self-ping for an LSP starts at the ingress label edge router
(LER), once a Resv message for that LSP has been received. The configured
self-ping time indicates the duration for which the self-ping mechanism
runs once the LSP instance is signaled to be By default, self-ping is enabled. The LSP types like CCC, P2MP, VLAN-based , and non-default instances do not support self-ping . The self-ping mechanism runs until the self-ping probe is received back (at which point the traffic is immediately switched to it) , or until the configured self-ping duration for the LSP is over (at which point traffic is switched over). When LSP self-ping-duration is enabled, the LSP behavior reverts
back to a timer-based mechanism similar to the
|
The remaining statements are explained separately. See CLI Explorer.
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.
cross-credibility-cspf
option introduced in Junos
OS Release 14.2.
self-ping-duration
and no-self-ping
options
introduced in Junos OS Release 16.1.