show services ha statistics
Syntax
show services ha statistics <interface interface-name>
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.
Field Name |
Field Description |
---|---|
Interface |
Interface name. |
Inter-chassis | |
Role |
Role of the interface.
|
Connection |
Status of the peer connection.
|
Synchronization |
Synchronization state of peers.
|
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
user@host> show services ha statistics Interface: ms-5/0/0 Inter-chassis: Role: active, Connection: Up, Synchronization: Hot Peers: Local: 192.0.2.2 Port: 4001, Remote: 192.0.2.1 Port: 4001 Connection Status: TCP connection establish: 8, Teardown: 8 UDP address exchange sent: 8, Received: 8 Stateful sync start sent: 0, Received: 8 Cold sync completed count: 0 Session Add Statistics: Sent: 255, Received: 0 Completed: 255, Rate: 0 Nack sent: 0, Nack received: 0 Add pending: 0 Session Delete Statistics: Sent: 255, Received: 0 Completed: 255, Rate: 0 Nack sent: 0, Nack received: 0 Session not found: 0 Session Error Statistics: Session attach failures: 0, Session detach failures: 0 Session extension get failures: 0, Session nullify: 0 Lookup fail: 0, Initiate fail: 0, Activate fail: 0 Illegal flow type: 0, Illegal service set: 0 Unsupported protocol: 0, Send overflow: 0, Send discard: 0 Spurious: 0, Process incoming failed: 0, Session ignored: 0 JMUX Error Statistics: JMUX begin fail: 0, JMUX commit fail: 0, JMUX flush fail: 0 Invalid plugin header: 0, Invalid plugin name: 0 Invalid plugin length: 0, Plugin receive error: 0, Plugin send error: 0 IDL Error Statistics: IDL encode fail: 0, IDL decode fail: 0
Release Information
Statement introduced in Junos OS Release 16.1.