SR-PCE
Pavan Chaudhari
CCIE-SP-37281,JNCIP,AWS | Author of Next-Gen MPLS Book | ex-Cisco | ex-Nokia | ex-Juniper
Before diving into how SR-PCE works, let's first understand it through real-life examples:
First Example:
?
Second Example:
SR-PCE functions in the same way as described in the two real-life examples above. Let's dive into the details.
SR-PCE :-
Segment Routing Path Computation Element (SR-PCE) is a centralized controller that computes optimal SR-TE (Segment Routing Traffic Engineering) paths for network devices known as SR-PCCs (Path Computation Clients). The communication between SR-PCC and SR-PCE happens via PCEP (Path Computation Element Protocol) using specific message types.
Let's discuss the packet flow between the PCC and PCE devices.
1. PCRequest (Path Computation Request - PCReq)
Example: PCC (Router) → PCE (Controller): "Compute an SR path from PE1 to PE2 with low latency and avoid congested links."
2. PCReply (Path Computation Reply - PCRep)
Example: PCE (Controller) → PCC (Router): "Here is an SR path: PE1 → (Adj-SID 101) → P1 → (Prefix-SID 5002) → PE2."
3. PCReport (Path Report - PCReport)
Example: PCC (Router) → PCE (Controller): "I have installed SR policy 100 with path PE1 → P1 → PE2.by setting delegate flags towards PCE"
?
领英推荐
Let's explore what happens when there are changes in the network, such as link up, link down, or metric modifications.
1 Link Down or Link Up Event
2? Traffic Switchover via TI-LFA Backup Path
3? BGP Link-State Update to SR-PCE
4? Path Computation Update (PCUpd)
Example: PCE (Controller) → PCC (Router) (PCUpdate Message): "A more optimal path is available. Update to PE1 → (Adj-SID 104) → P4 → (Prefix-SID 5004) → PE2."
5? Path Computation Report (PCReport)
Example: PCC (Router) → PCE (Controller) (PCReport Message): "New path installed successfully. Traffic now following PE1 → P3 → PE2."
?
SR-PCE Workflow with PCEP Messages
1? PCC sends PCReq to request a path.
2? PCE responds with PCRep containing the computed path.
3? PCC installs the path and sends PCReport to confirm.
4? PCE monitors the network and may send a PCUpdate if a better path is found.
?
Glossary:
?