Configuring PCEP on a PE Router (from CLI)
A Path Computation Client (PCC) supports the configurations related to the Path Computation Element (PCE) and communicates with the CSD-Topology, which by default is configured to accept a Path Computation Element Protocol (PCEP) connection from any source address. However, you must configure PCEP on each PE router to configure the router as a PCC and establish a connection between the PCC and the CSD-Topology. A PCC initiates path computation requests, which are then executed by the CSD-Topology.
The following requirements apply for each PCC in the network that the CSD-Topology can access:
The corresponding JSDN package (with PCEP support) is installed on the router.
You must boot the PCC router with the Junos OS 14.2X1.1 image, and then boot the router a second time with the JSDN image. After the router boots up a second time, the router (functioning as a PCC) is able to support the configurations related to the PCE and communicate with the CSD-Topology.
For a PCEP connection, the PCC can connect to the CSD-Topology using an in-band or out-of-band management network, provided that IP connectivity is established between the Path Computation Server (PCS) and the specified PCEP local address. In some cases, an additional static route might be required from the CSD-Topology to reach the PCC, if the IP address is unreachable from the CSD-Topology default gateway.
To configure a PE router as a PCC:
- Enable external control of LSPs from the PCC router to
the CSD-Topology.[edit protocols]user@PE1# set mpls lsp-external-controller pccd
- Specify the loopback address of the PCC router as the
local address, for example:[edit protocols]user@PE1# set pcep pce csdtopology local-address 10.0.0.101
Note As a best practice, the router ID is usually the loopback address, but is not necessarily configured this way.
- Specify the CSD-Topology (csdtopology) as the PCE that the PCC connects to, and specify the CSD-Topology
host external IP address as the destination address.[edit protocols]user@PE1# set pcep pce csdtopology destination-ipv4-address 10.99.99.1
- Configure the destination port for the PCC router that
connects to the CSD-Topology (PCE server) using the TCP-based PCEP.[edit protocols]user@PE1# set pcep pce csdtopology destination-port 4189
- Configure the PCE type.[edit protocols]user@PE1# set pcep pce csdtopology pce-type activeuser@PE1# set pcep pce csdtopology pce-type stateful
- Enable LSP provisioning.[edit protocols]user@PE1# set pcep pce csdtopology lsp-provisioning
- To verify that PCEP has been configured on the router,
open a telnet session to access the router, and run the following
commands:user@PE1> show configuration protocols mpls
Sample output:
lsp-external-controller pccd;user@PE1> show configuration protocols pcepSample output:
pce csdtopology {local-address 10.0.0.101;destination-ipv4-address 10.99.99.1;destination-port 4189;pce-type active-stateful;lsp-provisioning;}