Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation

show path-computation-client statistics

Syntax

show path-computation-client statistics<brief | detail><all>

Release Information

Command introduced in Junos OS Release 12.3.

Description

Display statistics about the Path Computation Element (PCE).

Options

none

Display statistics about the primary PCE.

brief | detail

(Optional) Display the specific level of output.

all

(Optional) Display the statistics about all PCEs configured on the PCC.

Required Privilege Level

view

List of Sample Output

show path-computation-client statistics all
show path-computation-client statistics detail

Output Fields

Table 1 describes the output fields for the show path-computation-client statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show path-computation-client statistics Output Fields

Field Name

Field Description

Level of Output

IP address

IP address of the PCE.

All levels

Priority

PCE priority.

All levels

PCE status

PCE state:

  • PCE_STATE_NEW— Initial PCEP session state.
  • PCE_STATE_RECONNECT—Trying to re-establish TCP connection with the PCEP peer.
  • PCE_STATE_CONNECTING—Establishing TCP connection with the PCEP peer.
  • PCE_STATE_CONNECTED—TCP connection established with the PCEP peer.
  • PCE_STATE_SYNC—Open messages exchanged with the PCEP peer and entering SYNC state.
  • PCE_STATE_UP—PCEP session established.

All levels

Session type

Active PCE type:

  • PCE_TYPE_STATELESS—Does not learn LSP state information form PCC.
  • PCE_TYPE_STATEFUL—Uses LSP state information learned from PCCs to optimize path computations, but does not actively update LSP state. A PCC maintains synchronization with the PCE.
  • PCE_TYPE_STATEFULACTIVE—Uses LSP state information learned from PCCs to optimize path computations, and actively updates LSP parameters in those PCCs that delegate control of their LSPs to the PCE.

All levels

PCE-mastership

PCE mastership state:

  • main
  • primary
  • backup

All levels

PCRpts

Number of PC report (PCRpt) messages sent by PCC to a stateful PCE to report current state of LSP(s).

All levels

PCUpdates

Number of PC update (PCUpd) messages sent by a PCE to a PCC to update LSP parameters.

All levels

Local Keepalive timer

Keepalive timer used by or for the PCC.

All levels

Local Dead timer

Dead timer used by or for the PCC.

All levels

Remote Keepalive timer

Keepalive timer used by or for the PCE.

All levels

Remote Dead timer

Dead timer used by or for the PCE.

All levels

PCErr-recv

Information about type, value, and number of PC Error messages received.

All levels

PCErr-sent

Information about type, value, and number of PC Error messages sent.

All levels

Max unknown messages

Maximum number of unknown messages received for a PCEP session. Recommended value is 5. If the number of unknown messages received by a PCC or PCE is greater than or equal to the maximum number, the PCEP session is closed.

detail

Keepalives received

Number of Keepalive messages received by a PCC from a PCE.

detail

Keepalives sent

Number of Keepalive messages sent by a PCC to a PCE.

detail

Elapsed as main current

Time (in seconds) the PCE is in the main mastership state.

detail

Elapsed as main total

Time (in seconds) the PCE became main from the last PCCD restart.

detail

Unknown msgs/min rate

Number of unknown messages received per minute.

detail

Session failures

Number of PCEP session failures with the PCE.

detail

Delegation timeout in

Time (in seconds) left for LSP delegation to timeout.

detail

Delegation failures

Number of LSP delegation failures.

detail

Connection down

Time (in seconds) since the PCEP session is down.

detail

Sample Output

show path-computation-client statistics all

user@host> show path-computation-client statistics all
PCE pce1

General
    IP address               : 10.209.57.166
    Priority                 : 2
    PCE status               : PCE_STATE_NEW
    Session type             : PCE_TYPE_STATEFULACTIVE
    PCE-mastership           : main

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        

Timers
    Local             Keepalive timer:         0 [s]   Dead timer:         0 [s]
    Remote            Keepalive timer:         0 [s]   Dead timer:         0 [s]

Errors
    PCErr-recv
    PCErr-sent
    PCE-PCC-NTFS
    PCC-PCE-NTFS

PCE pce2

General
    IP address               : 10.31.32.1
    Priority                 : 10
    PCE status               : PCE_STATE_NEW
    Session type             : PCE_TYPE_STATEFULACTIVE
    PCE-mastership           : backup

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        
  
Timers
    Local             Keepalive timer:         0 [s]   Dead timer:         0 [s]
    Remote            Keepalive timer:         0 [s]   Dead timer:         0 [s]

Errors
    PCErr-recv
    PCErr-sent
    PCE-PCC-NTFS
    PCC-PCE-NTFS

show path-computation-client statistics detail

user@host> show path-computation-client statistics detail
PCE pce1
General
    IP address               : 10.209.57.166
    Priority                 : 2
    PCE status               : PCE_STATE_NEW
    Session type             : PCE_TYPE_STATEFULACTIVE
    PCE-mastership           : main
    Max unknown messages     : 5
    Keepalives received      : 0
    Keepalives sent          : 0
    Dead timer               : 0 [s]
    Elapsed as main current  : 294 [s]
    Elapsed as main total    : 294 [s]
    Unknown msgs/min rate    : 0
    Session failures         : 0
    Replies timedout         : 0
    Delegation timeout in    : 26 [s]
    Delegation failures      : 0
    Connection down          : 4 [s]

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        

Timers
    Local             Keepalive timer:         0 [s]   Dead timer:         0 [s]
    Remote            Keepalive timer:         0 [s]   Dead timer:         0 [s]

Errors
    PCErr-recv
    PCErr-sent
    PCE-PCC-NTFS
    PCC-PCE-NTFS

Published: 2013-03-18

Supported Platforms

Published: 2013-03-18