vMX

 View Only
last person joined: 3 days ago 

Ask questions and share experiences about vMX.
  • 1.  Starting PCEP session

    Posted 05-18-2021 16:01
    I am trying to start a PCEP session with a vMX router as the PCC and an external device as the PCE.  I have set up the following configuration piece on the vMX router:
    packet@LAX-P-101> show configuration protocols pcep 
    pce 1 {
        local-address 10.74.0.101;
        destination-ipv4-address 192.168.123.67;
        destination-port 4189;
        pce-type active stateful;
        lsp-provisioning;
        traceoptions {
            file pce1;
        }
    }​

    However the session state stays in PCE_STATE_NEW without any attempt to set anything up:

    PCE 1
    --------------------------------------------
    General
        PCE IP address           : 192.168.123.67
        Local IP address         : 10.74.0.101
        Priority                 : 0
        PCE status               : PCE_STATE_NEW
        Session type             : PCE_TYPE_STATEFULACTIVE
        LSP provisioning allowed : On
        P2MP LSP report allowed  : Off
        P2MP LSP update allowed  : Off
        P2MP LSP init allowed    : Off
        PCE-mastership           : main
        PCE Traffic Steering     : Off

    Is there a command I'm missing to start the session establishment?



    ------------------------------
    Todd Defilippi
    ------------------------------


  • 2.  RE: Starting PCEP session

    Posted 05-19-2021 05:54
    Your client side configuration looks complete.  Using Northstar as a controller I have the same configuration without the lsp-provisioning flag and all is active on our client nodes.

    Check your controller status and logs.

    On the client see if there are clues in these

    show path-computation-client active-pce
    show path-computation-client status extensive


    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------



  • 3.  RE: Starting PCEP session

    Posted 05-19-2021 11:13
    I am not seeing anything being sent to my PCE from PCC at all.

    packet@LAX-P-101> show path-computation-client active-pce 
    
    PCE 1
    --------------------------------------------
    General
        PCE IP address           : 192.168.123.67
        Local IP address         : 10.74.0.101
        Priority                 : 0
        PCE status               : PCE_STATE_NEW
        Session type             : PCE_TYPE_STATEFULACTIVE
        LSP provisioning allowed : On
        P2MP LSP report allowed  : Off
        P2MP LSP update allowed  : Off
        P2MP LSP init allowed    : Off
        PCE-mastership           : main
        PCE Traffic Steering     : Off
    
    Counters
        PCReqs              Total: 0            last 5min: 0            last hour: 0        
        PCReps              Total: 0            last 5min: 0            last hour: 0        
        PCRpts              Total: 0            last 5min: 0            last hour: 0        
        PCUpdates           Total: 0            last 5min: 0            last hour: 0        
        PCCreates           Total: 0            last 5min: 0            last hour: 0        
    
    Timers
        Local  Keepalive timer:    0 [s]  Dead timer:    0 [s]  LSP cleanup timer:    - [s]
        Remote Keepalive timer:    0 [s]  Dead timer:    0 [s]  LSP cleanup timer:    - [s]
    
    Errors
        PCErr-recv
        PCErr-sent
        PCE-PCC-NTFS
        PCC-PCE-NTFS
    
    Pcupdate empty ero action counters
        Send-err               : 0
        Tear down path         : 0          
        Routing decision       : 0
        Routing decision failed: 0​
    packet@LAX-P-101> show path-computation-client status extensive 
    
    Session              Type                        Provisioning   Status         Uptime
      1                  Stateful Active             On             New             0           
    
    LSP Summary
      Total number of LSPs        : 0        
      Static LSPs                 : 0        
          P2P                     : 0        
    			      : 0/0 (primary/bypass)	
          P2MP                    : 0/0 (branches/trees)
      Externally controlled LSPs  : 0        
          P2P                     : 0        
    			      : 0/0 (primary/bypass)
          P2MP                    : 0/0 (branches/trees)
      Externally provisioned LSPs : 0/16000 (current/limit)
          P2P                     : 0        
    			      : 0/0 (primary/bypass)
          P2MP                    : 0/0 (branches/trees)
      Orphaned LSPs               : 0        
    
    1 (main)
      Delegated              : 0               
          P2P                : 0               
                             : 0/0 (primary/bypass)
          P2MP               : 0/0 (branches/trees)
      Externally provisioned : 0               
          P2P                : 0               
                             : 0/0 (primary/bypass)
          P2MP               : 0/0 (branches/trees)


    ------------------------------
    Todd Defilippi
    ------------------------------



  • 4.  RE: Starting PCEP session

    Posted 05-20-2021 05:13
    This seems the controller is not communicating with the client request, are there logs on your controller to check?

    Or do you have a protect re firewall filter applied on the client that is blocking communications?

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------



  • 5.  RE: Starting PCEP session

    Posted 05-20-2021 10:09
    A tcpdump on the PCE does not show any PCEP Open messages being received, though the PCE does get ping messages.  Is there a way to check on vMX if any Open messages have been sent for a session?

    ------------------------------
    Todd Defilippi
    ------------------------------



  • 6.  RE: Starting PCEP session

    Posted 05-20-2021 19:25
    Are you sourcing the ping from the same address as the pcep session?
    Does ping from the controller to the pcep ip address also transit?

    ------------------------------
    Steve Puluka BSEET - Juniper Ambassador
    IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP)
    http://puluka.com/home
    ------------------------------



  • 7.  RE: Starting PCEP session

    Posted 05-20-2021 19:38
    Yes, ping is from the same source address:

    packet@LAX-P-101> ping 192.168.123.67 interface 10.74.0.101    
    PING 192.168.123.67 (192.168.123.67): 56 data bytes
    64 bytes from 192.168.123.67: icmp_seq=0 ttl=63 time=0.772 ms
    64 bytes from 192.168.123.67: icmp_seq=1 ttl=63 time=1.163 ms
    64 bytes from 192.168.123.67: icmp_seq=2 ttl=63 time=0.805 ms
    64 bytes from 192.168.123.67: icmp_seq=3 ttl=63 time=0.825 ms
    64 bytes from 192.168.123.67: icmp_seq=4 ttl=63 time=0.731 ms
    64 bytes from 192.168.123.67: icmp_seq=5 ttl=63 time=1.002 ms
    64 bytes from 192.168.123.67: icmp_seq=6 ttl=63 time=0.900 ms
    64 bytes from 192.168.123.67: icmp_seq=7 ttl=63 time=0.871 ms
    64 bytes from 192.168.123.67: icmp_seq=8 ttl=63 time=1.950 ms
    64 bytes from 192.168.123.67: icmp_seq=9 ttl=63 time=0.861 ms
    ^C
    --- 192.168.123.67 ping statistics ---
    10 packets transmitted, 10 packets received, 0% packet loss
    round-trip min/avg/max/stddev = 0.731/0.988/1.950/0.342 ms​


    ------------------------------
    Todd Defilippi
    ------------------------------



  • 8.  RE: Starting PCEP session

    Posted 05-21-2021 19:39
    Looks like the issue was I had not configured pccd.  With that configured, the session starts up!

    ------------------------------
    Todd Defilippi
    ------------------------------