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-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 configure these statements 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:
- Configure the Address of the Egress and Ingress Routers
- 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 LSP Metric
- Configure CSPF Tie Breaking
- Configure Load Balancing for MPLS LSPs
- Disable Normal TTL Decrementing
- Configure MPLS Soft Preemption
- 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 Path Route Recording
- Configure Class of Service for MPLS
- Configure Adaptive LSPs
- 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