PCE-Initiated LSPs

The following is the procedure for configuring and programming a PCE-initiated SR-TE LSP.
  1. The user must enable pce-initiated-lsp sr-te using the CLI or using the OSS.
    The user can also optionally configure a limit to the number of PCE-Initiated LSPs that the PCE can instantiate on a node using the max-srte-pce-init-lsps command in the CLI or using the OSS.
  2. The user must configure at least one LSP template of type pce-init-p2p-srte to select the value of the LSP parameters that remain under the control of the PCC.
    At a minimum, a default template should be configured (type pce-init-p2p-srte default). In addition, LSP templates with a defined template ID can be configured. The template ID can be included in the path profile of the PCEInitiate message to indicate which non-default template to use for a particular LSP. If the PCInitiate message does not include the PCE path profile, MPLS uses the default PCE-initiated LSP template. Table 1 lists the applicable LSP template parameters. These are grouped into:
    • parameters that are controlled by the PCE and that the PCC cannot change (invalid, implicit, and signaled in PCEP)

    • parameters that are controlled by the PCC and are used for signaling the LSP in the control plane

    • parameters that are controlled by the PCC and are related to the usability of the LSP by MPLS and other applications such as routing protocols, services, and OAM

    The user can configure these parameters in the template.

    Table 1. LSP Template Parameters

    Controlled by PCE

    Controlled by PCC

    Invalid

    Implicit

    Signaled in PCEP

    LSP Signaling Options

    LSP Usability Options

    auto-bandwidth

    pce-report

    bandwidth

    retry-limit

    exclude

    bgp-shortcut

    retry-timer

    pce-control

    from

    bgp-transport-tunnel

    shutdown

    pce-report

    hop-limit

    default-path (mandatory, must be empty)

    least-fill

    path-computation-method pce

    include

    metric-type

    entropy-label

    setup-priority

    igp-shortcut

    hold-priority

    load-balancing-weight

    max-sr-labels

    additional-frr-labels

    metric

    vprn-auto-bind

    admin-tag

    All PCE-initiated LSPs using a particular LSP template are deleted if the user deletes the template. The default template can be created or deleted if the pce-initiated-lsp>sr-te context does not exist. However, the pce-init-p2p-sr-te default lsp-template cannot be deleted if the pce-initiated-lsp>sr-te context exists and is not shutdown. This context must be shutdown to delete the pce-init-p2p-sr-te default LSP template, which brings down all PCE Initiated LSPs. The pce-initiated-lsp>sr-te context cannot be administratively enabled if the pce-init-p2p-sr-te default lsp-template is not configured.

    A shutdown of an LSP template does not bring down any already established LSPs. Parameters can only be changed once in the shutdown state and the changes do not take effect until a no shutdown is performed. This means that PCE updates use older parameters if the template is still shut down.

    MPLS copies the lsp-template parameters into the lsp-entry when a PCE initiated LSP is created. MPLS handles lsp-updates based on the last copied parameters.

    After the lsp-template parameter changes, when the lsp-template is no shutdown.

    • MPLS copies the related TTM parameters (listed below) into the LSP entry, and updates TTM

    • If there is a change in max-sr-labels, MPLS re-evaluates the related LSPs, and brings paths down if applicable (for example, if current hopCount is greater than the applicable max-sr-labels value).

      The TTM LSP-related parameters include:
      • Metric

      • VprnAutoBind

      • LoadBalWeight

      • MaxSrLabels

      • AdditionalFrrLabels

      • MetricOffset

      • IgpShortCut

      • IgpShortcutLfaOnly

      • IgpShortcutLfaProtect

      • LspBgpShortCut

      • LspBgpTransTunnel

    A PCE-initiated LSP ‟update” request will be accepted regardless of the LSP template administrative state, as follows:
    • If the LSP template is adminUp, the system copies the LSP template parameters to the LSP/path.

    • If the LSP template is adminDown, the system uses the previously copied LSP template parameters and responds to the update with an LSP operUp report.

  3. The user can set the redelegation and state timers on the PCC.
    Redelegation timeout and state timeout timers are started when the PCEP session goes down or the PCE signals overload. The redelegation timer applies to both PCC-initiated and PCE-initiated LSPs, while the state timer applies only to PCE-initiated LSPs. The redelegation and state timers are configured in the CLI or through management, as follows:

    config>router>pcep>pcc>

    [no] redelegation-timer seconds

    [no] state-timer seconds [action {remove | none}]

    If the delegated PCE-initiated LSPs cannot be redelegated by the time these timers expire, a configurable action is performed by the PCC. The supported actions are remove or none, with a default of remove.

  4. The PCE can then initiate and remove LSPs on the PCC.