Configuring PCC-controlled, PCE-computed, and PCE-controlled SR-TE LSPs

The following example shows the configuration of PCEP PCC parameters on LER routers that require peering with the PCE server:

Example:
keepalive 30
dead-timer 120
no local-address
unknown-message-rate 10
report-path-constraints
peer 192.0.0.226
    no shutdown
exit
no shutdown

The following example shows the configuration of a PCC-controlled SR-TE LSP that is not reported to the PCE:

Example:
lsp "to-SanFrancisco" sr-te
    to 192.0.2.211
    cspf
    pce-report disable
    metric 10
    primary "loose-anycast"
    exit
    no shutdown
exit

The following example shows the configuration of a PCC-controlled SR-TE LSP that is reported to the PCE:

Example:
lsp "to-SanFrancisco" sr-te
    to 192.0.2.211
    cspf
    pce-report enable
    metric 10
    primary "loose-anycast"
    exit
    no shutdown
exit

The following example shows the configuration of a PCE-computed SR-TE LSP that is reported to the PCE:

Example:
lsp "to-SanFrancisco" sr-te
    to 192.0.2.211
    cspf
    pce-computation
    pce-report enable
    metric 10
    primary "loose-anycast"
    exit
    no shutdown
exit

The following example shows the configuration of a PCE-controlled SR-TE LSP with no PCE path profile:

Example:
lsp "from Reno to Atlanta no Profile" sr-te
    to 192.0.2.224
    cspf
    pce-computation
    pce-report enable
    pce-control
    primary "empty"
    exit
    no shutdown
exit

The following example shows the configuration of a PCE-controlled SR-TE LSP with a PCE path profile and a maximum label stack set to a non-default value:

Example:
lsp "from Reno to Atlanta no Profile" sr-te
    to 192.0.2.224
    cspf
    max-sr-labels 8 additional-frr-labels 1
    pce-computation
    pce-report enable
    pce-control
    path-profile 10 path-group 2
    primary "empty"
        bandwidth 15
    exit
    no shutdown
exit