Create an LSP
The second step in configuring signaled LSPs is to create one or more LSPs and define the properties associated with the label-switched path on the ingress router. To configure an LSP, include the
label-switched-pathstatement at the[edit protocols mpls] hierarchy level:[edit protocols mpls]label-switched-pathlsp-path-name{toaddress;fromaddress;adaptive;admin-group {excludegroup-names;includegroup-names;}auto-bandwidth {adjust-intervalseconds;adjust-thresholdpercent;maximum-bandwidthbps;minimum-bandwidthbps;monitor-bandwidth;}bandwidthbps;class-of-servicecos-value;description;disable;fast-reroute {fast-reroutebps;excludegroup-names;hop-limitnumber;includegroup-names;}hop-limitnumber;install {destination-prefix/prefix-length<active>;}ldp-tunneling;lsp-attributes {gpidgpid;signal-typesignal-type;switching-typeswitching-type;}metricnumber;no-cspf;no-decrement-ttl;optimize-timerseconds;preferencepreference;prioritysetup-priority hold-priority;(random | least-fill | most-fill);(record | no-record);retry-limitnumber;retry-timerseconds;standby;traceoptions { file filename <replace> <sizesize> <filesnumber> <no-stamp> <(world-readable | no-world-readable)>;flagflag<flag-modifier> <disable>; }primarypath-name{adaptive;admin-group {excludegroup-names;includegroup-names;}bandwidthbps;class-of-servicecos-value;hop-limitnumber;no-cspf;no-decrement-ttl;optimize-timerseconds;preferencepreference;prioritysetup-priority hold-priority;(record | no-record);retry-limitnumber;retry-timerseconds;standby;}secondarypath-name{adaptive;admin-group {excludegroup-names;includegroup-names;}bandwidthbps;class-of-servicecos-value;hop-limitnumber;no-cspf;no-decrement-ttl;optimize-timerseconds;preferencepreference;prioritysetup-priority hold-priority;(record | no-record);retry-limitnumber;retry-timerseconds;standby;}}Each LSP must have a name,
lsp-path-name, which can be up to 32 characters long and can contain letters, digits, periods (.), and hyphens (-). The name must be unique within the ingress router. For ease of management and identification, configure unique names across the entire domain.When you configure LSPs, you can specify the following statements either for each LSP or for each path. (You configure LSPs at the
[edit protocols mpls label-switched-pathlsp-path-name]hierarchy level, and you configure paths at the[edit protocols mpls label-switched-pathlsp-path-nameprimary]or[edit protocols mpls label-switched-pathlsp-path-namesecondary]hierarchy level.) For statements that you configure on a per-LSP basis, the value applies to all paths in the LSP. For statements that you configure on a per-path basis, the path value overrides the per-LSP value.
adaptiveadmin-groupauto-bandwidthbandwidthclass-of-servicehop-limitno-cspfoptimize-timerpreferencepriorityrecordor no-recordstandbyFor maintenance purposes, you can also configure the following attributes across all LSPs and any paths within those LSPs. (You can configure all the LSPs and paths at once at the
[edit protocols mpls]hierarchy level.)
admin-groupbandwidthclass-of-serviceno-decrement-ttlno-recordoptimize-timerpreferenceprioritystandbyFor each LSP, you can configure the following properties:
- Configure the Address of the Egress Router
- Configure the Address of the Ingress Router
- Configure the Primary and Secondary LSPs
Configure the Description- Configure Fast Reroute
- Configure Addresses to Associate with the LSP
- Configure Path Connection Retry Information
- Configure the Dynamic LSP Metric
- Configure the Static LSP Metric
- Configure CSPF Tie-Breaking
- Configure Load-Balancing LSPs without CSPF
- Disable Normal TTL Decrementing
- Configure Automatic Bandwidth Allocation
For each LSP and for each primary and secondary path, you can configure the following properties:
- Disable Constrained Path LSP Computation
- Configure Administrative Groups
- Configure the LSP Preference
- Configure Whether to Record Path Routes
- Configure the MPLS CoS Value
- Configure an LSP to be Adaptive
- Configure Priority and Preemption
- Optimize Signaled LSPs
- Configure the Maximum Path Length
- Configure the Path Bandwidth
- Configure the Standby State
- Configure LSP Hold Time
- Configure LDP Tunneling