PCEP session over TLS

To establish a PCEP session over TLS as specified in RFC 8253, the PCC sends a StartTLS message to the PCE to initiate the TLS negotiation. The PCC activates the StartTLS timer and waits for the StartTLS message from the PCE. The timer is configured using the configure router pcep pcc peer tls-wait-timer command; the default timer is 60 seconds.

If the PCE is TLS-capable and sends back a StartTLS message before the StartTLS timer expires, the TLS handshake is initiated. If the PCE sends an Open message or does not send back a StartTLS message, the PCC responds with an error message, closes the TCP connection, and retries to establish the connection. The PCEP Message-Type field of the PCEP common header for the StartTLS message is set to 13, as specified in RFC 8253. The following figure shows the establishment of a PCEP session over TLS.

Figure: PCEP session over TLS

TLS supports both in-band and out-of-band PCE connections. The following figure shows the PCE and PCC TLS support.

Note: SRĀ OS does not support PCES strict mode.
Figure: PCE and PCC TLS support
Note: PCEP over TLS does not support CPM redundancy. After an activity switch, the PCEP over TLS connection goes down and is reestablished.