Specifying a Candidate Server for a PCE Client

Candidate servers can be specified for a PCE client to provide redundancy, which improves network reliability.

Usage Scenario

PCE+ devices are classified as servers and clients. A client sends a request to the server to calculate a path, and the server calculates a path. To specify a candidate PCE server for a PCE client, run the connect-server command.

Multiple candidate PCE servers can be specified for a PCE client.

Procedure

  1. Run system-view

    The system view is displayed.

  2. Run pce-client

    The PCE client view is displayed.

  3. Run connect-server ip-address

    A candidate server is specified for the PCE client.

    The ip-address value is set to the source IP address of a PCE server. Repeat this step to specify multiple candidate servers to provide redundancy.

  4. (Optional) Run preference preference

    A preference value is assigned to a candidate PCE server.

    The preference value is an integer ranging from 0 to 7. The greater the value, the higher the preference.

    When multiple candidate servers are specified for a single client, they can be prioritized. A candidate server with the highest preference is selected to calculate paths.

    If no preference value is set, the default value 0 is used, indicating the lowest preference. If candidate servers have the same preference, the server with the smallest IP address is selected to calculate paths.

  5. (Optional) Run bind ssl-policy ssl-policy-name

    A PCEP session is bound to an SSL policy.

    A PCEP session is created over a TCP connection, posing security risks. After the PCEP session is bound to an SSL policy, a secure SSL connection can be established between the PCE client and server.

    Before performing this step, create an SSL policy.

  6. (Optional) Run source-interface port-type port-num

    The source IP address of a PCEP session is configured.

    By default, the PCEP session is established using the MPLS LSR-ID as the source IP address. In some special cases, the MPLS LSR-ID is unreachable. You can run this command to borrow the IP address of other local interfaces as the source IP address.

  7. (Optional) Run dscp dscp-val

    The DSCP value is set for PCEP packets.

    When network data transmission is stable, the PCE client does not need to change the DSCP value of the data packets to be sent to the PCE server. If packet loss occurs due to a delay during data transmission, you can set a DSCP value for the packets to be sent to the PCE server to increase the packet transmission priority and ensure the quality of network data transmission.

  8. Run commit

    The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >