Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Junos CLI Reference
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

show services alg statistics

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services alg statistics
<application-protocol protocol> 
<interface interface-name>

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-rpc

Distributed Computing Environment-Remote Procedure Call protocols

dce-rpc-portmap

Distributed Computing Environment-Remote Procedure Call protocols portmap service

dns

Domain Name System protocol

ftp

File Transfer Protocol

h323

H323 protocol

ike-esp-nat

IKE ALG

pptp

Point-to-Point Tunneling Protocol

rpc

Remote Procedure Call protocol

rpc-portmap

Remote Procedure Call protocol portmap service

rtsp

Real-Time Streaming Protocol

rsh

Remote Shell

sip

Session Initiation Protocol

sql

SQLNet

talk

Talk Program

tftp

Trivial File Transfer Protocol

interface interface-name

(Optional) Display information about a particular interface.

Required Privilege Level

view

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.

content_copy zoom_out_map
user@router> show services alg statistics application-protocol dce-rpc
Interface name: ms-1/1/0
  DCE-RPC ALG statistics:
    Packets with wrong header : 0
    Non epm 3.0 packets       : 0
    Packets with type mismatch: 0
    Packets with id mismatch  : 0
    Packets with call mismatch: 0
    Packets fragmented        : 0
    Packets queued            : 0
    Packets dropped           : 0
    Packets released          : 0

user@router> show services alg statistics application-protocol dns
Interface name: ms-2/0/0
  DNS ALG statistics:
    Invalid packets received   : 0
    Reply packets received     : 3509
    Oversized packets received : 0

user@router> show services alg statistics application-protocol ftp
Interface name: ms-1/1/0
FTP ALG statistics:
Packets dropped           : 0
ALG parser errors         : 0
Packets translated        : 0

user@router> show services alg statistics  application-protocol h323
Interface name: ms-1/0/0
H323 ALG statistics:
  H323 total calls: 1
  H323 active calls: 1
  H323 gate install failed: 0
  H323 pinhole opened too late: 0
  H323 pinhole hit dropped: 0
  H323 gate timeout failed: 0
  H323 packets dropped: 0
  H323 get virtual ctx failed: 0
  H323 obj alloc failed: 0
  H323 group alloc failed: 0
  H323 ce alloc failed: 0
  H323 Q931 decode error: 0
  H323 H245 decode error: 0
  H323 Q931 process error: 0
  H323 H245 process error: 0
  H323 do nat failed: 0
  H323 do rm failed: 0
  H323 dscp marked: 0
  H323 dscp marked error: 0
  RAS obj alloc failed: 0
  RAS group alloc failed: 0
  RAS packets dropped: 0
  RAS packet exists in cookie error: 0
  RAS decode error: 0
  RAS flood error: 0
  RAS do nat failed: 0
user@router> show services alg statistics application-protocol ike-esp-nat
Interface name: ms-4/1/0
  IKE ESP ALG statistics:
    Session interests processed: 2
    Sessions created: 2
    Sessions destroyed: 1
    Control sessions created: 2
    Control sessions destroyed: 1
    Data sessions created: 0
    Data sessions destroyed: 0
    Gates created: 4
    Gate hits: 0
    Gates timedout: 4
user@router> show services alg statistics application-protocol pptp
Interface name: ms-2/0/0
  PPTP ALG statistics:
    PPTP Objects Active  : 1
    PPTP Objects Total  : 1
    PPTP Objects Error  : 0
    PPTP ASL Group Active  : 1
    PPTP ASL Group Total  : 1
    PPTP ASL Group Error  : 0
    PPTP Packets received  : 11
    PPTP Packets Discarded  : 0
    PPTP Packets Free  : 0
    PPTP OCRQ Received  : 1
    PPTP OCRQ Discarded  : 0
    PPTP OCRP Received  : 1
    PPTP OCRP Discarded  : 0
    PPTP WEN(SLI) Received  : 3
    PPTP WEN(SLI) Discarded  : 0
    PPTP CCRQ-CDSN Received  : 0
    PPTP CDSN Received  : 0
    PPTP CCRQ-CDSN Discarded  : 0
    PPTP Session Create  : 3
    PPTP Session Destroy  : 0
    PPTP Gate Create  : 0
    PPTP Gate Hit  : 2
    PPTP Gate Timeout  : 0
    PPTP NAT Events  : 0
    PPTP DO-NAT Total  : 1
    PPTP DO-NAT Ok  : 1
    PPTP DO-NAT Pending  : 0
    PPTP DO-NAT Fail  : 0
    PPTP DO-RM Total  : 1
    PPTP DO-RM Ok  : 2
    PPTP DO-RM Pending  : 0
    PPTP DO-RM Fail  : 0
    PPTP NAT-ASYNC Total  : 0
    PPTP NAT-ASYNC Invalid  : 0
    PPTP NAT-ASYNC Error1  : 0
    PPTP NAT-ASYNC Error2  : 0
    PPTP ASL Hole Ok  : 2
    PPTP ASL Hole Error  : 0
    PPTP ASL First Hit  : 2
    PPTP ASL Hole Timeout  : 0
    PPTP ASL Invalid  : 0
    PPTP NAT Ctx Free  : 0
    PPTP Create Resource Error  : 0
    PPTP set S2C hole error  : 0
    PPTP set C2S hole error  : 0
    PPTP lnbrk error  : 0
    PPTP Mpool Create Error  : 0
    PPTP RM register client Error  : 0

user@router> show services alg statistics application-protocol rpc
Interface name: ms-1/1/0
  RPC ALG statistics:
    Call packet with rpcbind2 : 2
    Call packet with rpcbind3 : 0
    Call packet with rpcbind4 : 0
    Invalid rpcbind call      : 0
    Reply packet with rpcbind2: 2
    Reply packet with rpcbind3: 0
    Reply packet with rpcbind4: 0
    Invalid rpcbind reply     : 0
    Packets fragmented        : 0
    Packets dropped           : 0
    Packets released          : 0

user@router> show services alg statistics application-protocol rtsp
Interface name: ms-0/1/0
  RTSP ALG statistics:
    Packets exceeded maximum length : 0
    Packets dropped by ALG : 0
    Number of describe messages received : 8
    Number of setup messages received : 30
    Number of teardown messages received : 7
user@router> show services alg statistics application-protocol rsh
Interface name: ms-2/0/0
  RSH ALG statistics:
    Invalid packets received   : 0
    Packets dropped by ALG   : 0
    ALG parser errors  : 0
    Packets freed by ALG     : 0
    
user@router> show services alg statistics application-protocol sip
Interface name: ms-2/0/0
  SIP ALG statistics:
    Total packets dropped	 : 0
    Unexpected requests dropped : 0
    Unexpected responses dropped : 0
    Packets DSCP marked	 : 0
    Packets DSCP marked error	 : 0
    NAT errors : 0
    RR headers exceeded maximum limits : 0
    Contact headers exceeded maximum limits	 : 0
    Invite dropped due to call limit : 0
    Messages not processed by sip stack : 0
    Unknown packets dropped	 : 0
    Decoding Errors : 0
    Packets received in out of state	 : 0

user@router> show services alg statistics application-protocol sql
Interface name: ms-2/0/0
  SQLNET ALG statistics:
    Packets received	 : 5
    ALG parser errors	 : 0
    Packets freed by ALG : 0
    Gate fail errors	 : 0

user@router> show services alg statistics application-protocol talk
Interface name: ms-2/0/0
  TALK ALG statistics:
    Lookup packets	 : 5
    Announce packets	 : 0
    Delete packets : 0
    
user@router> show services alg statistics application-protocol tftp
Interface name: ms-0/0/0
  TFTP ALG statistics:
    Number of packets received : 0
    Number of Invalid packets	 : 0
    Total number of sessions :   0
    Number of active sessions:   0
    

show services alg statistics interface

content_copy zoom_out_map
user@router> show services alg statistics interface ms-1/1/0 
Interface name: ms-1/1/0
FTP ALG statistics:
Packets dropped           : 0
ALG parser errors         : 0
Packets translated        : 0

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.

footer-navigation