Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Debugging cPCE and cPCEP Adaptor

Troubleshooting is a systematic approach to solving a problem. The goal of troubleshooting is to determine why something does not work as expected and how to resolve the problem.

Troubleshooting Container

You can implement various docker commands to monitor and troubleshoot issues at container level when cPCE is deployed as a docker container.

  • docker ps: List out active containers and their state.

  • docker stats: Continuous monitor the resource utilization.

  • docker logs: Extract container logs in case the container terminates unexpectedly.

  • docker stop: Stop the Docker from the current state.

  • docker start: Restart the Docker container.

Verify Docker

To verify docker details:
  1. Verify the installed Docker Engine version by using the docker version command.

    root@ubuntu-vm18:~# docker version

  2. View the software and hardware information in the system.

    root@ubuntu-vm18:~# uname -a

  3. View the version of ubuntu.

    root@ubuntu-vm18:~# lsb_release -a

View Trace Files

  1. Configure the gRPC trace options.

    root@CPCE1-pce# set system services extension-service traceoptions file grpc.log

    root@CPCE1-pce# set system services extension-service traceoptions flag all

  2. Configure the programmable RPD trace options.

    root@CPCE1-pce# set routing-options programmable-rpd traceoptions file grpc-server.log

    root@CPCE1-pce# set routing-options programmable-rpd traceoptions flag te-path-compute

  3. Configure bgp trace options.

    root@CPCE1-pce# set protocols bgp traceoptions file bgp.log

    root@CPCE1-pce# set protocols bgp traceoptions file size 1m

    root@CPCE1-pce# set protocols bgp traceoptions file world-readable

    root@CPCE1-pce# set protocols bgp traceoptions flag all

  4. Configure mpls trace options.

    root@CPCE1-pce# set protocols mpls traceoptions file extctrl.log

    root@CPCE1-pce# set protocols mpls traceoptions file size 1m

    root@CPCE1-pce# set protocols mpls traceoptions file world-readable

    root@CPCE1-pce# set protocols mpls traceoptions flag externally-controlled-lsp

    root@CPCE1-pce# set protocols mpls traceoptions flag all