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 conversations

date_range 19-Nov-23

Syntax

content_copy zoom_out_map
show services alg conversations
<brief >
<application-protocol protocol> 
<extensive>
<interface interface-name>

Description

Display ALG information 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

none

Display standard information about all Junos OS extension-provider packages ALG sessions.

brief

(Optional) Display the specified level of output.

application-protocol

(Optional) Display information about 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

extensive

Display extensive information

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 conversations command. Output fields are listed in the approximate order in which they appear.

Table 1: show services alg conversations Output Fields

Field Name

Field Description

Interface

Name of the interface.

ALG

Name of the ALG in use.

Number of conversations

Number of ALG conversations open. A conversation is a group of parent and child sessions.

Group ID

Numeric identifier for the session.

Parent session status

Status of the parent session:

  • Active

  • Closed

Parent session ID

Numeric identifier for the parent session.

Protocol

Protocol used for the parent session.

Forward Flow

The source and destination prefixes for forward flow.

Reverse Flow

The source and destination prefixes for reverse flow.

Child session status

Status of the child session:

  • Active

  • Closed

Child session ID

Numeric identifier for the child session.

Number of Resources

Total number of active child sessions associated with the parent session.

Resource ID

Numeric identifier for the resources associated with the parent session.

Protocol

Protocol used for the child session.

Sample Output

show services alg conversations

content_copy zoom_out_map
user@host> show services alg conversations  
Interface name: ms-2/1/0
ALG : SQLV2 ALG, State : active 
Number of conversations: 1
Parent session status: closed
Child session : 1, protocol: TCP
Forward Flow : {10.50.50.2:37244 -> 10.40.40.10:4334}
Reverse Flow : {10.40.40.10:4334 -> 10.11.11.10:37244}

show services alg conversations brief

The output for the show services alg conversations brief command is identical to that for the show services alg conversations command. For sample output, see show services alg conversations.

show services alg conversations extensive

content_copy zoom_out_map
user@host> show services alg conversations extensive 
Interface name: ms-1/0/0
ALG : H323 ALG, State : active
Number of conversations: 1
Group ID : 3499913712, State : active
Parent session state: active
Parent session ID: 33554433, protocol : TCP
Forward Flow : {198.51.100.2:30000 -> 192.0.2.2:1720}
Reverse Flow : {192.0.2.2:1720 -> 203.0.113.1:57730}
Number of resources: 4
Resource ID: 3499927656, State: active
Number of sessions: 1
Child session ID: 33554436, protocol : UDP
Forward Flow : {198.51.100.2:5086 -> 192.0.2.2:5090}
Reverse Flow : {192.0.2.2:5090 -> 203.0.113.3:55916}
Resource ID: 3499927376, State: active
Number of sessions: 1
Child session ID: 67108867, protocol : UDP
Forward Flow : {192.0.2:5091 -> 203.0.113.3:55917}
Reverse Flow : {198.51.100.2:5087 -> 192.0.2.2:5091}
Resource ID: 3499926816, State: active
Number of sessions: 1
Child session ID: 33554438, protocol : UDP
Forward Flow : {198.51.100.2:5089 -> 192.0.2.2:5093}
Reverse Flow : {192.0.2.2:5093 -> 203.0.113.2:63435}
Resource ID: 3499926536, State: active
Number of sessions: 1
Child session ID: 33554437, protocol : UDP
Forward Flow : {198.51.100.2:5088 -> 192.0.2.2:5092}
Reverse Flow : {192.0.2.2:5092 -> 203.0.113.2:63434}
ALG : RAS ALG, State : active
Number of conversations: 1
Group ID : 799037592, State : active
Parent session state: closed
Number of resources: 0

show services alg conversations application-protocol

This command has the same output for the rpc, dce-rpc, rpc-portmap and dce-rpc-portmap ALGs.

content_copy zoom_out_map
user@router> show services alg conversations application-protocol rpc 
Interface name: ms-1/1/0
ALG : SUNRPC ALG, State : active
  Number of conversations: 2
    Parent session status: closed
      Child session : 1, protocol: UDP
        Forward Flow : {192.168.203.198:1019 -> 192.168.203.194:2049}
        Reverse Flow : {192.168.203.194:2049 -> 192.168.203.198:1019}
      Child session : 2, protocol: UDP
        Forward Flow : {192.168.203.198:36595 -> 192.168.203.194:2049}
        Reverse Flow : {192.168.203.194:2049 -> 192.168.203.198:36595}
    Parent session status: closed
      Child session : 1, protocol: UDP
        Forward Flow : {192.168.203.198:954 -> 192.168.203.194:613}
        Reverse Flow : {192.168.203.194:613 -> 192.168.203.198:954}
      Child session : 2, protocol: UDP
        Forward Flow : {192.168.203.198:53836 -> 192.168.203.194:613}
        Reverse Flow : {192.168.203.194:613 -> 192.168.203.198:53836}

user@router> show services alg conversations application-protocol dns
Interface name: ms-1/1/0
ALG : DNS ALG, State : active
  Number of conversations: 1
    Parent session status: closed
      Child session : 1, protocol: UDP
        Forward Flow : {192.168.203.198:1019 -> 192.168.203.194:2049}
        Reverse Flow : {192.168.203.194:2049 -> 192.168.203.198:1019}
      
user@router> show services alg conversations application-protocol ftp
Interface name: ms-1/1/0
ALG : DNS ALG, State : active
  Number of conversations: 1
    Parent session status: closed
      Child session : 1, protocol: UDP
        Forward Flow : {192.168.203.198:53836 -> 192.168.203.194:613}
        Reverse Flow : {192.168.203.194:613 -> 192.168.203.198:53836}
user@router> show services alg conversations application-protocol ike-esp-nat
Interface name: ms-2/2/0
ALG : IKE ALG, State : active
  Number of conversations: 1
    Parent session status: closed
    Child session : 1, protocol: ESP
      Forward Flow : {198.51.100.101:2623 -> 203.0.113.1:46838}
      Reverse Flow : {192.0.2.101:46838 -> 198.51.10.101:2623}
    Child session : 2, protocol: ESP
      Forward Flow : {192.0.2.101:2666 -> 198.51.10.101:57882}
      Reverse Flow : {198.51.10.101:57882 -> 203.0.113.1:2666}
user@router> show services alg conversations application-protocol pptp
Interface name: ms-2/0/0
ALG : PPTP ALG, State : active 
  Number of conversations: 1
    Parent session status: active
    Parent session : 1, protocol : TCP
      Forward Flow : {192.0.2.10:1511 -> 198.51.100.10:1723}
      Reverse Flow : {198.51.100.10:1723 -> 192.0.2.10:1511}
      Child session : 1, protocol: GRE
        Forward Flow : {192.0.2.10:0 -> 198.51.100.10:49913}
        Reverse Flow : {198.51.100.10:49913 -> 192.0.2.10:65001}
      Child session : 2, protocol: GRE
        Forward Flow : {198.51.100.10:0 -> 192.0.2.10:0}
        Reverse Flow : {192.0.2.10:0 -> 198.51.100.10:65000}

user@router> show services alg conversations application-protocol rtsp
Interface name: ms-0/1/0
ALG : RTSP ALG, State : active 
  Number of conversations: 1
    Parent session : 1, protocol : TCP
      Forward Flow : {198.51.100.2:3985 -> 192.0.2.1:554}
      Reverse Flow : {203.0.113.2:554 -> 198.51.100.2:3985}
    Child session : 1, protocol: UDP
      Forward Flow : {203.0.113.2:35859 -> 198.51.100.2:38159}
      Reverse Flow : {198.51.100.2:38159 -> 192.0.2.1:35859}
    Child session : 2, protocol: UDP
      Forward Flow : {203.0.113.2:35859 -> 198.51.100.2:37391}
      Reverse Flow : {198.51.100.2:37391 -> 192.0.2.1:35859}
user@router> show services alg conversations application-protocol rsh
Interface name: ms-0/1/0
ALG : RSH ALG, State : active 
  Number of conversations: 1
    Parent session : 1, protocol : TCP
      Forward Flow : {198.51.100.2:3985 -> 192.0.2.1:554}
      Reverse Flow : {203.0.113.2:554 -> 198.51.100.2:3985}
    Child session : 1, protocol: UDP
      Forward Flow : {203.0.113.2:35859 -> 198.51.100.2:38159}
      Reverse Flow : {198.51.100.2:38159 -> 192.0.2.1:35859}

user@router> show services alg conversations application-protocol sip
Interface name: ms-1/1/0
ALG : SIP ALG, State : active 
  Number of conversations: 1
    Parent session status: active
    Parent session : 1, protocol : UDP
      Forward Flow : {192.0.2.2:5060 -> 198.51.100.2:5060}
      Reverse Flow : {198.51.100.2:5060 -> 203.0.113.2:5060}
    Child session : 1, protocol: UDP
        Forward Flow : {192.0.2.2:6000 -> 198.51.100.2:12442}
        Reverse Flow : {198.51.100.2:12442 -> 203.0.113.2:6000}

user@router> show services alg conversations application-protocol sql
Interface name: ms-2/0/0
ALG : SQLV2 ALG, State : active 
  Number of conversations: 1
    Parent session : 1, protocol : 0
      Forward Flow : {0.0.0.0:0 -> 0.0.0.0:0}
      Reverse Flow : {0.0.0.0:0 -> 0.0.0.0:0}
    Child session : 1, protocol: TCP
      Forward Flow : {203.0.113.2:19099 -> 198.51.100.10:32773}
      Reverse Flow : {198.51.100.10:32773 -> 192.0.2.1:19099}
user@router> show services alg conversations application-protocol talk
Interface name: ms-0/1/0
ALG : TALK ALG, State : active 
  Number of conversations: 1
    Parent session : 1, protocol : TCP
      Forward Flow : {198.51.2:3985 -> 192.0.2.1:554}
      Reverse Flow : {203.0.113.2:554 -> 198.51.2:3985}
    Child session : 1, protocol: UDP
      Forward Flow : {203.0.113.2:35859 -> 198.51.2:38159}
      Reverse Flow : {198.51.2:38159 -> 192.0.2.1:35859}

show services alg conversations interface

content_copy zoom_out_map
user@router> show services alg conversations interface ms-1/1/0

ALG : FTP ALG, State : active 
Number of conversations: 1
Parent session status: active
Parent session : 1, protocol : TCP
Forward Flow : {10.20.20.10:47164 -> 10.30.30.30:21}

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.

footer-navigation