Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

Creating Templates to Apply Attributes to PCE-Initiated Label-Switched Paths

 

From a PCC router’s CLI, you can create LSP templates to define a set of LSP attributes to apply to PCE-initiated LSPs. Any PCE-initiated LSPs that provide a name match with the regular expression (regex) name specified in the template automatically inherit the LSP attributes that are defined in the template. By associating LSPs (through regex name matching) with a specific user-defined LSP template, you can automatically turn on (or turn off) LSP attributes across all LSPs that provide a name match with the regex name specified in the template.

When auto-bandwidth is enabled, LSP auto-bandwidth parameters must be configured from the router, even when the LSP has been delegated. Under no circumstances can the NorthStar Controller modify the bandwidth of an externally-controlled LSP when auto-bandwidth is enabled. The PCC enforces this behavior by returning an error if it receives an LSP update for an LSP that has auto-bandwidth enabled. Currently, there is no way to signal through PCEP when auto-bandwidth is enabled, so the NorthStar Controller cannot know in advance that an LSP has auto-bandwidth enabled. However, when auto-bandwidth is enabled by way of a template, then the NorthStar Controller knows that the LSP has auto-bandwidth enabled and disallows modification of bandwidth.

The following configuration example shows how to define the regex-based LSP name for a set of LSP “container” templates that you can deploy to apply specific attributes to any LSPs on the network that provide a matching LSP name.

Create the templates under the lsp-external-controller-pccd hierarchy to specify the regex-based character string to be used to identify the LSPs whose attributes you want to update.

  1. Create a name matching scheme to identify the NorthStar Controller provisioned (PCE-initiated) LSPs to which you want to apply specific link protection attributes.

    1. To specify that any PCE-initiated LSP that provides a name match with the prefix PCE-LP-* will inherit the LSP link-protection attributes defined in the LINK-PROTECT-TEMPLATE template, configure the following statement from the PCC router CLI:

    2. To specify that any PCE-initiated LSP that provides a name match with the prefix PCE-AUTOBW-* will inherit the LSP auto-bandwidth attributes defined in the AUTO-BW-TEMPLATE template, configure the following statement from the PCC router CLI:

  2. Create the templates that define the attributes you want to apply to all PCE-initiated LSPs that provide a name match.
    1. Define link-protection attributes for the LINK-PROTECT-TEMPLATE template.

    2. Define auto-bandwidth attributes for the AUTO-BW-TEMPLATE template.

  3. Create LSPs in NorthStar by specifying LSP names based on the regex-based name defined in Step 1 above.
  4. Verify the LSP configuration on the PCC router.