Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

show services ha statistics

Syntax

Description

Display detailed statistics for stateful sync processing for a specified interface or for all interfaces.

Options

none

Display detailed statistics for stateful sync processing for all interfaces.

interface-name

(Optional) Name of a specific interface.

Required Privilege Level

view

Output Fields

Table 1 lists the output fields for the show services ha statistics command. Output fields are listed in the approximate order in which they appear.

Table 1: show services ha statistics Output Fields

Field Name

Field Description

Interface

Interface name.

Inter-chassis

Role

Role of the interface.

  • active—Active interface.

  • backup–Backup interface.

Connection

Status of the peer connection.

  • Up

  • Down

Synchronization

Synchronization state of peers.

  • Off–Peers are not currently engaged in synchronization.

  • Cold–Peers are in a pre-synchronization state.

  • Hot—Peers are ready for synchronization.

Peers

Local

Local peer IP address.

Port

Local peer port number.

Remote

Remote peer IP address.

Port

Remote peer port number.

Connection Status

TCP connection establish

Number of times a TCP connection is established.

TCP connection teardown

Number of times a TCP connection is torn down.

UDP address exchange sent

Number of times a UDP address is sent.

Stateful sync start sent

Number of stateful sync start messages sent by the backup PIC, indicating the start of the cold sync phase.

Stateful sync start received

Number of stateful sync start messages received by active PIC, indicating the start of the cold sync phase.

Cold sync completed count

Number of times the PIC has successfully completed the cold sync phase.

Session Add Statistics

Sent

Number of session add statistics sent by the active PIC.

Received

Number of session add statistics received by the backup PIC.

Completed

Number of session adds completed on the active and backup PICs.

rate

Number of sessions currently added per second.

Nack sent

Number of times that a session add failed on the backup PIC, resulting in the sending of a Nack message to the active PIC.

Nack received

Number of Nack messages received from backup PIC due to session add failure.

Add pending

Number of sessions eligible for synchronization, but not yet synchronized.

Session Delete Statistics

Sent

Number of session deletes sent by the active PIC.

Received

Number of session deletes received by the backup PIC.

Completed

Number of session deletes completed on the active and backup PICs.

rate

Number of sessions currently deleted per second.

Nack sent

Number of times that a session add failed on the backup PIC, resulting in the sending of a Nack message to the active PIC.

Nack received

Number of Nack messages received from backup PIC due to session add failure.

Session not found

Number of sessions not found when session delete was attempted.

Session Error Statistics

Session attach failures

Number of high-availability extension creation failures on the active PIC.

Session detach failures

Number of high-availability extension deletion failures on the active PIC.

Session extension get failures

Number of times that the high-availability extension is not available when requested.

Session nullify

Number of times the high-availability session creation failed on the active PIC.

Lookup fail

Number of times session lookup failed because the session has already been released by the infrastructure.

Initiate fail

Number of times session creation failed on the backup PIC.

Activate fail

Number of times session activation failed on the backup PIC.

Illegal flow type

Number of times an illegal flow type occurred on the active and backup PICs.

Illegal service set

Number of times service set extraction failed on backup and active PICs.

Unsupported protocol

Number of times that a session was not backed up because the protocol was neither TCP or UDP.

Send overflow

Number of times buffer overflowed when the high-availability session was created on the active PIC.

Send discard

Number of sessions that not synchronized to the backup, even though they were eligible for synchronization. This occurs whe at least one plugin in the service set indicates that a session should not be synchronized.

Spurious

Number of packets received on the backup PIC for which there are no existing sessions

Process incoming failed

Number of times JMUX header processing failed.

Session ignored

Number of sessions that were eligible for synchronization, but are ignored because stateful sync is not supported for them, such as ALG sessions

JMUX Error Statistics

Synchronization statistics related to the JMUX library.

JMUX begin fail

Number of times that JMUX key verification or header creation failed.

JMUX commit fail

Number of times addition of JMUX data failed.

JMUX flush fail

Number of times a send of JMUX data failed.

Invalid plugin header

Number of times stateful sync messages were rejected due to an invalid plugin header (internal error).

Invalid plugin name

Number of times stateful sync messages were rejected due to an invalid plugin name (internal error).

Invalid plugin length

Number of times stateful sync messages were rejected due to invalid plugin length (internal error).

Plugin receive error

Number of times installation of plugin information failed on the backup.

Plugin send error

Number of times the plugin failed to pack the extension.

IDL Error Statistics

Statistics concerning encode or decode errors at the backup.

IDL encode fail

Number of times IDL encoding failed on the active and backup PICs.

IDL decode fail

Number of times IDL decoding failed on the active and backup PICs.

Sample Output

show services ha statistics

Release Information

Statement introduced in Junos OS Release 16.1.