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

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

keepalive 30
    — dead-timer 120
    — no local-address
    — unknown-message-rate 10
    — report-path-constraints
    — peer 192.168.48.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:

lsp "to-SanFrancisco" sr-te
        — to 192.168.48.211
        — path-computation-method local-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:

lsp "to-SanFrancisco" sr-te
        — to 192.168.48.211
        — path-computation-method local-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:

lsp "to-SanFrancisco" sr-te
        — to 192.168.48.211
        — path-computation-method local-cspf
        — 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:

lsp "from Reno to Atlanta no Profile" sr-te
        — to 192.168.48.224
        — path-computation-method local-cspf
        — 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:

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