Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    show services alg conversations

    Syntax

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

    Release Information

    Command introduced in Junos OS Release 10.4.

    Description

    Display ALG information for JSF.

    Options

    none

    Display standard information about all JSF 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
    • 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
    interface interface-name

    (Optional) Display information about a particular interface.

    Required Privilege Level

    view

    List of Sample Output

    show services alg conversations
    show services alg conversations brief
    show services alg conversations application-protocol
    show services alg conversations interface

    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.

    Protocol

    Protocol used for the child session.

    Sample Output

    show services alg conversations

    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 application-protocol

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

    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 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 : {15.15.15.10:1511 -> 40.40.40.10:1723}
          Reverse Flow : {40.40.40.10:1723 -> 15.15.15.10:1511}
          Child session : 1, protocol: GRE
            Forward Flow : {15.15.15.10:0 -> 40.40.40.10:49913}
            Reverse Flow : {40.40.40.10:49913 -> 15.15.15.10:65001}
          Child session : 2, protocol: GRE
            Forward Flow : {40.40.40.10:0 -> 15.15.15.10:0}
            Reverse Flow : {15.15.15.10:0 -> 40.40.40.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 : {9.0.0.2:3985 -> 3.1.2.1:554}
          Reverse Flow : {9.1.0.2:554 -> 9.0.0.2:3985}
        Child session : 1, protocol: UDP
          Forward Flow : {9.1.0.2:35859 -> 9.0.0.2:38159}
          Reverse Flow : {9.0.0.2:38159 -> 3.1.2.1:35859}
        Child session : 2, protocol: UDP
          Forward Flow : {9.1.0.2:35859 -> 9.0.0.2:37391}
          Reverse Flow : {9.0.0.2:37391 -> 3.1.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 : {9.0.0.2:3985 -> 3.1.2.1:554}
          Reverse Flow : {9.1.0.2:554 -> 9.0.0.2:3985}
        Child session : 1, protocol: UDP
          Forward Flow : {9.1.0.2:35859 -> 9.0.0.2:38159}
          Reverse Flow : {9.0.0.2:38159 -> 3.1.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 : {20.1.1.2:5060 -> 30.1.1.2:5060}
          Reverse Flow : {30.1.1.2:5060 -> 70.1.1.2:5060}
        Child session : 1, protocol: UDP
            Forward Flow : {20.1.1.2:6000 -> 30.1.1.2:12442}
            Reverse Flow : {30.1.1.2:12442 -> 70.1.1.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 : {50.50.50.2:19099 -> 40.40.40.10:32773}
          Reverse Flow : {40.40.40.10:32773 -> 1.1.1.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 : {9.0.0.2:3985 -> 3.1.2.1:554}
          Reverse Flow : {9.1.0.2:554 -> 9.0.0.2:3985}
        Child session : 1, protocol: UDP
          Forward Flow : {9.1.0.2:35859 -> 9.0.0.2:38159}
          Reverse Flow : {9.0.0.2:38159 -> 3.1.2.1:35859}
    

    show services alg conversations interface

    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}

    Published: 2012-07-02