Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

show services alg statistics

 

Syntax

Release Information

Command introduced in Junos OS Release 10.4.

h323 option introduced in Junos OS Release 17.1.

ike-esp-nat option introduced in Junos OS Release 17.1.

Support added in Junos OS Release 19.3R2 for Next Gen Services on MX Series routers MX240, MX480 and MX960 with the MX-SPC3 services card.

Description

Display ALG statistics for Junos OS extension-provider packages.

Note

In Junos OS releases earlier than 12.3, the extension-provider packages were variously referred to as Junos Services Framework (JSF), MP-SDK, and eJunos.

Options

application-protocol(Optional) Display statistics for one of the following application protocols:
dce-rpcDistributed Computing Environment-Remote Procedure Call protocols
dce-rpc-portmapDistributed Computing Environment-Remote Procedure Call protocols portmap service
dnsDomain Name System protocol
ftpFile Transfer Protocol
h323H323 protocol
ike-esp-natIKE ALG
pptpPoint-to-Point Tunneling Protocol
rpcRemote Procedure Call protocol
rpc-portmapRemote Procedure Call protocol portmap service
rtspReal-Time Streaming Protocol
rshRemote Shell
sipSession Initiation Protocol
sqlSQLNet
talkTalk Program
tftpTrivial File Transfer Protocol
interface interface-name(Optional) Display information about a particular interface.

Required Privilege Level

view

List of Sample Output

show services alg statistics application-protocol

show services alg statistics interface

Output Fields

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

Table 1: show services alg statistics Output Fields

Field Name

Field Description

Interface

Name of the interface.

ALG statistics

Name of the ALG for which the statistics are displayed.

Packets with wrong header

Number of packets with wrong header.

Non epm 3.0 packets

Number of non epm 3.0 packets.

Packets with type mismatch

Number of packets with type mismatch.

Packets with id mismatch

Number of packets with id mismatch.

Packets with call mismatch

Number of packets with call mismatch.

Packets fragmented

Number of packets fragmented.

Packets queued

Number of packets queued.

Packets dropped

Number of packets dropped.

Packets released

Number of packets released.

Invalid packets received

Number of invalid packets received.

Reply packets received

Number of reply packets received.

Oversized packets received

Number of oversized packets received.

ALG parser errors

Number of parsing failed errors.

Packets translated

Number of packets translated.

H323 total calls

Total number of audio/video calls that have been established.

H323 active calls

Current number of active H.323 calls.

H323 gate install failed

Number of gate installation failures for child sessions.

H323 pinhole opened too late

Number of H323 parent sessions that released the resources before pinhole creation.

H323 pinhole hit dropped

Number of H323 gate hits that have been dropped.

H323 gate timeout failed

Number of gate timeout failures due to an error.

H323 packets dropped

Number of packets dropped.

H323 get virtual ctx failed

Number of failures to get the session virtualization ctx information.

H323 obj alloc failed

Number of memory allocation failures for H323 session cookie.

H323 group alloc failed

Number of H323 session resource/group memory allocation failures.

H323 ce alloc failed

Number of H323 session call entity object memory allocation failures.

H323 Q931 decode error

Number of errors in decoding Q931 packets.

H323 H245 decode error

Number of errors in decoding H245 packets.

H323 Q931 process error

Number of errors in processing Q931 packets.

H323 H245 process error

Number of errors in processing H245 packets.

H323 do nat failed

Number of NAT translation failures after packet decode.

H323 do rm failed

Number of H323 vsip table creation failures.

H323 dscp marked

Number of Differentiated Services code point (DSCP) packets marked.

H323 dscp marked error

Number of Differentiated Services code point (DSCP) packets marked as errors.

RAS obj alloc failed

Number of RAS session object memory allocation failures.

RAS group alloc failed

Number of RAS session group memory allocation failures.

RAS packets dropped

Number of RAS packets dropped.

RAS packet exists in cookie error

Number of times that some packets exist in existing RAS sessions cookie.

RAS decode error

Number of errors in decoding RAS packets.

RAS flood error

Number of gatekeeper requests that were dropped because of too many RAS request messages.

RAS do nat failed

Number of RAS session payload IP translation errors.

PPTP Objects Active

Number of PPTP objects active.

PPTP Objects Total

Number of PPTP objects in total.

PPTP Objects Error

Number of PPTP objects having errors.

PPTP ASL Group Active

Number of PPTP groups active.

PPTP ASL Group Total

Number of PPTP groups in total.

PPTP ASL Group Error

Number of PPTP groups having errors.

PPTP Packets received

Number of PPTP packets received.

PPTP Packets Discarded

Number of PPTP packets discarded.

PPTP Packets Free

Number of PPTP packets freed.

PPTP OCRQ Received

Number of Outgoing Call Requests received.

PPTP OCRQ Discarded

Number of Outgoing Call Requests discarded.

PPTP OCRP Received

Number of Outgoing Call Packets received.

PPTP OCRP Discarded

Number of Outgoing Call Packets discarded.

PPTP WEN(SLI) Received

Number of WEN (SLI) packets received.

PPTP WEN(SLI) Discarded

Number of WEN (SLI) packets discarded.

PPTP CCRQ-CDSN Received

Number of Call Clear Requests received.

PPTP CDSN Received

Number of Call Disconnection Notifications received.

PPTP CCRQ-CDSN Discarded

Number of Call Clear Requests discarded.

PPTP Session Create

Number of PPTP sessions created.

PPTP Session Destroy

Number of PPTP sessions destroyed.

PPTP Gate Create

Number of PPTP gates created.

PPTP Gate Hit

Number of PPTP gates hit.

PPTP Gate Timeout

Number of PPTP gates timed out.

PPTP NAT Events

Number of NAT events.

PPTP DO-NAT Total

Number of DO NATs in total.

PPTP DO-NAT Ok

Number of DO NATs okay.

PPTP DO-NAT Pending

Number of DO NATs pending.

PPTP DO-NAT Fail

Number of DO NATs failed.

PPTP DO-RM Total

Number of DO RMs in total.

PPTP DO-RM Ok

Number of DO RMs okay.

PPTP DO-RM Pending

Number of DO RMs pending.

PPTP DO-RM Fail

Number of DO RMs failed.

PPTP NAT-ASYNC Total

Number of NAT-ASYNCs in total.

PPTP NAT-ASYNC Invalid

Number of NAT-ASYNCs invalid.

PPTP NAT-ASYNC Error1

Number of NAT-ASYNCs error1.

PPTP NAT-ASYNC Error2

Number of NAT-ASYNCs error2.

PPTP ASL Hole Ok

Number of ASYNC holes okay.

PPTP ASL Hole Error

Number of ASYNC hole errors.

PPTP ASL First Hit

Number of ASYNC holes first hit.

PPTP ASL Hole Timeout

Number of ASYNC holes timed out.

PPTP ASL Invalid

Number of ASYNC holes invalid.

PPTP NAT Ctx Free

Number of NAT Ctxs free.

PPTP Create Resource Error

Number of create resource errors.

PPTP set S2C hole error

Number of server-to-client hole errors.

PPTP set C2S hole error

Number of client-to-server hole errors.

PPTP lnbrk error

Number of PPTP lnbrk errors.

PPTP Mpool Create Error

Number of Mpool create errors.

PPTP RM register client Error

Number of client registration errors.

Call packet with rpcbind2

Number of call packets with rpcbind2.

Call packet with rpcbind3

Number of call packets with rpcbind3.

Call packet with rpcbind4

Number of call packets with rpcbind4.

Invalid rpcbind call

Number of invalid rpcbind calls.

Reply packet with rpcbind2

Number of reply packets with rpcbind2.

Reply packet with rpcbind3

Number of reply packets with rpcbind3.

Reply packet with rpcbind4

Number of reply packets with rpcbind4.

Invalid rpcbind reply

Number of invalid rpcbind replies.

Packets exceeded maximum length

Number of packets exceeding maximum length.

Packets dropped by ALG

Number of packets dropped by the ALG.

Number of describe messages received

Number of describe messages received.

Number of setup messages received

Number of setup messages received.

Number of teardown messages received

Number of teardown messages received.

Total packets dropped

Total number of SIP packets dropped.

Unexpected requests dropped

Number of unexpected requests dropped.

Unexpected responses dropped

Number of unexpected responses dropped.

Packets DSCP marked

Number of Differentiated Services code point (DSCP) packets marked.

Packets DSCP marked error

Number of Differentiated Services code point (DSCP) packets marked as error.

NAT errors

Number of Network Address Translation errors.

RR headers exceeded maximum limits

Number of RR headers exceeded maximum limits.

Contact headers exceeded maximum limits

Number of contact headers exceeded maximum limits.

Invite dropped due to call limit

Number of invites dropped due to call limit.

Messages not processed by sip stack

Number of messages not processed by sip stack.

Unknown packets dropped

Number of unknown packets dropped.

Decoding Errors

Number of decoding errors.

Packets received in out of state

Number of packets received in out of state.

Packets received

Number of packets received.

Packets freed by ALG

Number of packets freed by ALG.

Gate fail errors

Number of gate fail errors.

Lookup packets

Number of lookup packets.

Announce packets

Number of announce packets.

Delete packets

Number of delete packets.

Number of packets received

Number of packets received.

Number of Invalid packets

Number of invalid packets.

Total number of sessions

Total number of sessions.

Number of actives sessions

Number of active sessions.

Sample Output

show services alg statistics application-protocol

While the statistics are the same for dce-rpc and dce-rpc-portmap, both rpc and rpc-portmap have the same output too.

user@router> show services alg statistics application-protocol dce-rpc
user@router> show services alg statistics application-protocol dns
user@router> show services alg statistics application-protocol ftp
user@router> show services alg conversations application-protocol h323
user@router> show services alg statistics application-protocol ike-esp-nat
user@router> show services alg statistics application-protocol pptp
user@router> show services alg statistics application-protocol rpc
user@router> show services alg statistics application-protocol rtsp
user@router> show services alg statistics application-protocol rsh
user@router> show services alg statistics application-protocol sip
user@router> show services alg statistics application-protocol sql
user@router> show services alg statistics application-protocol talk
user@router> show services alg statistics application-protocol tftp

show services alg statistics interface

user@router> show services alg statistics interface ms-1/1/0