Creating 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-path statement:
label-switched-pathlsp-path-name{disable;adaptive;admin-group {excludegroup-names;includegroup-names;}auto-bandwidth {adjust-intervalseconds;adjust-thresholdpercent;maximum-bandwidthbps;minimum-bandwidthbps;monitor-bandwidth;}bandwidthbps;class-of-servicecos-value;descriptiontext;fast-reroute {bandwidthbps;(excludegroup-names| no-exclude);hop-limitnumber;(includegroup-names| no-include);} fromaddress;hop-limitnumber;install {destination-prefix/prefix-length<active>;}ldp-tunneling;link-protection;lsp-attributes {gpid(ethernet | hdlc | ipv4 | ppp);signal-bandwidthtype;switching-typetype;}metricnumber;no-cspf;no-decrement-ttl;node-link-protection;optimize-timerseconds;p2mppath-name;policingfilter-name;preferencepreference;prioritysetup-priority hold-priority;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;}(random | least-fill | most-fill);(record | no-record);retry-limitnumber;retry-timerseconds;secondarypath-name{adaptive;admin-group {excludegroup-names;includegroup-names;}bandwidthbps;class-of-servicevalue;hop-limitnumber;no-cspf;no-decrement-ttl;optimize-timerseconds;preferencepreference;prioritysetup-priority hold-priority;(record | no-record);retry-limitnumber;retry-timerseconds;standby;}soft-preemption {cleanup-timerseconds;}standby;toaddress;traceoptions {filefilename<replace> <sizesize> <filesnumber> <no-stamp><(world-readable | no-world-readable)>;flagflag<flag-modifier> <disable>;}}You can include this statement at the following hierarchy levels:
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. 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-timerpreferencepriorityrecordorno-recordstandbyFor maintenance purposes, you can also configure the following attributes across all LSPs and any paths within those LSPs:
admin-groupbandwidthclass-of-serviceno-decrement-ttlno-recordoptimize-timerpreferenceprioritystandbyFor each LSP, you can configure the following properties:
- Configuring the Address of the Egress and Ingress Routers
- Configuring the Primary and Secondary LSPs
- Configuring the Description
- Configuring Fast Reroute
- Configuring Addresses to Associate with the LSP
- Configuring Path Connection Retry Information
- Configuring the LSP Metric
- Configuring CSPF Tie Breaking
- Configuring Load Balancing for MPLS LSPs
- Disabling Normal TTL Decrementing
- Configuring MPLS Soft Preemption
- Configuring Automatic Bandwidth Allocation
For each LSP and for each primary and secondary path, you can configure the following properties:
- Disabling Constrained-Path LSP Computation
- Configuring Administrative Groups
- Configuring the LSP Preference
- Configuring Path Route Recording
- Configuring Class of Service for MPLS
- Configuring Adaptive LSPs
- Configuring Priority and Preemption
- Optimizing Signaled LSPs
- Configuring the Maximum Path Length
- Configuring the Path Bandwidth
- Configuring the Standby State
- Configuring LSP Hold Time
- Configuring LDP Tunneling