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

    show services pgcp terminations

    Syntax

    show services pgcp terminations gateway gateway-name<brief | h248 | count><backup | master><termination-prefix prefix>

    Release Information

    Command introduced in Junos OS Release 8.4.

    brief | h248 | count option introduced in Junos OS Release 8.5.

    termination-prefix option introduced in Junos OS Release 8.5.

    gateway option revised in Junos OS Release 9.5.

    master option introduced in Junos OS Release 9.6

    backup option introduced in Junos OS Release 9.6

    Description

    Display summary information about all Packet Gateway Control Protocol (PGCP) terminations.

    Options

    gateway gateway-name
    —

    Display information about terminations associated with this virtual border gateway fuction (BGF).

    brief | h248 | count
    —

    (Optional) Display the specified level of output.

    backup
    —

    (Optional) Display information for the backup services PIC. This option applies if you are running the virtual BGF on a services PIC or MS-DPC, and you have a primary and backup PIC configured on a virtual redundant Multiservices PIC (rms) interface.

    master
    —

    (Optional) Display information for the Routing Engine or primary services PIC. If the virtual BGF is running on the Routing Engine, the terminations on the routing engine are displayed. If the virtual BGF is running on a services PIC, the terminations on the primary services PIC are displayed. If you do not specify the master or backup options, the master option is the default.

    termination-prefix prefix
    —

    (Optional) Display information based on the termination prefix.

    Required Privilege Level

    view

    List of Sample Output

    show services pgcp terminations
    show services pgcp terminations brief
    show services pgcp terminations count
    show services pgcp terminations h248
    show services pgcp terminations termination-prefix brief
    show services pgcp terminations termination-prefix h248

    Output Fields

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

    Table 1: show services pgcp terminations Output Fields

    Field Name

    Field Description

    Level of Output

    virtual BGF configuration

    Information about the virtual BGF configuration.

    • Name—Name of the BGF.
    • IP address—IP address of the BGF.
    • Port—Port of the BGF.
    • Status—Status of the BGF.

    All levels except count

    Termination name

    Name of the termination.

    none specified and brief

    State

    State of the termination: In-service or Out-of-service.

    none specified and brief

    Duration

    Period of time that termination and gates exist, in milliseconds.

    none specified and brief

    Gate-id

    Numeric identifier of the termination.

    none specified and brief

    Direction

    • A is the termination that was created first.
    • B is the termination that was created second.

    none specified and brief

    State

    State of the gate: active, disabled, or closed.

    none specified and brief

    Action

    Action applied to the gate: forward, add, or drop.

    none specified and brief

    Gateway name

    Name of the BGF.

    none specified and brief

    Terminations count

    Number of terminations.

    count

    Termination Information

    Information about the termination in the form of an H.248 transaction.

    h248

    Sample Output

    show services pgcp terminations

    user@host> show services pgcp terminations gateway bgf-1
    Virtual BGF configuration:
    
      Name                                     :  bgf-1
      IP address                               :  3.0.0.2
      Port                                     :  2944
      Status                                   :  In-Service
    
    
    Termination name                   State           Duration(msecs)
    
    ip/4/vif-0/2            In-service      9628
    
    Gate-id         Direction       State        Action
    
    4295033088      A->B            active       forward
    4295033089      B->A            active       forward
    
     
    
    Termination name                   State           Duration(msecs)
    
    ip/4/vif-0/3            In-service      9632
    
    Gate-id         Direction       State        Action
    
    4295033088      A->B            active       forward
    4295033089      B->A            active       forward

    show services pgcp terminations brief

    user@host> show services pgcp terminations bgf-1 brief
    Virtual BGF configuration:
    
      Name                                     :  pg1
      IP address                               :  3.0.0.2
      Port                                     :  2944
      Status                                   :  In-Service
     
    
    Termination name                   State           Duration(msecs)
    ip/4/vif-0/1          In-service      109735
    Gate-id         Direction       State        Action
    4295033088      A->B            active       forward
    4295033089      B->A            active       drop
     
    
    Termination name                   State           Duration(msecs)
    ip/4/vif-0/2          In-service      109736
    Gate-id         Direction       State        Action
    4295033088      A->B            active       forward
    4295033089      B->A            active       drop

    show services pgcp terminations count

    user@host> show services pgcp terminations gateway bgf-1 count
    Virtual BGF                                Terminations Count
    bgf-1                                                       2

    show services pgcp terminations h248

    user@host> show services pgcp terminations gateway bgf-1 h248
    Termination information:
    ip/4/vif-0/2 {
          MEDIA {
            TERMINATIONSTATE { SERVICESTATES = INSERVICE },
            STREAM = 1 {
              LOCALCONTROL { MODE = SENDRECEIVE,
                             DS/DSCP = 00,
                             TMAN/MBS = 10,
                             TMAN/PDR = 0,
                             TMAN/POL = ON,
                             TMAN/SDR = 1000,
                             MGCINFO/DB = 00,
                             GM/RSB = ON,
                             GM/SAF = ON,
                             GM/SAM = "[42.0.3.11]",
                             GM/SPF = OFF,
                             GM/ESAS = OFF,
                             GM/ESPS = OFF },
              LOCAL {
    v=0
    c=IN IP4 40.1.1.100
    m=- 1024 rtp/avp -
    b=AS:0
              },
              REMOTE {
    v=0
    c=IN IP4 42.0.3.11
    m=- 10000 rtp/avp -
    b=AS:0
              }
            }
          },
          SIGNALS { IPNAPT/LATCH { STREAM = 1, NAPT = OFF, NOTIFYCOMPLETION = { TIMEOUT } } },
          EVENTS { HANGTERM/THB { TIMERX= 30 } }
    
        }
    
    Termination information:
    ip/4/vif-0/2 {
          MEDIA {
            TERMINATIONSTATE { SERVICESTATES = INSERVICE },
            STREAM = 1 {
              LOCALCONTROL { MODE = SENDRECEIVE,
                             DS/DSCP = 00,
                             TMAN/MBS = 10,
                             TMAN/PDR = 0,
                             TMAN/POL = ON,
                             TMAN/SDR = 1000,
                             MGCINFO/DB = 00,
                             GM/RSB = ON,
                             GM/SAF = ON,
                             GM/SAM = "[42.0.3.11]",
                             GM/SPF = OFF,
                             GM/ESAS = OFF,
                             GM/ESPS = OFF },
              LOCAL {
    v=0
    c=IN IP4 40.1.1.100
    m=- 1024 rtp/avp -
    b=AS:0
              },
              REMOTE {
    v=0
    c=IN IP4 42.0.3.11
    m=- 10000 rtp/avp -
    b=AS:0
              }
            }
          },
          SIGNALS { IPNAPT/LATCH { STREAM = 1, NAPT = OFF, NOTIFYCOMPLETION = { TIMEOUT } } }.
          EVENTS { HANGTERM/THB { TIMERX= 30 } }
    
    }

    show services pgcp terminations termination-prefix brief

    user@host> show services pgcp terminations brief gateway bgf-1 termination-prefix ip/4/vif-0/2
    Virtual BGF configuration:
    
      Name                                  :  bgf-1
      IP address                           :  10.50.10.100
      Port                                     :  2944
      Status                                  :  Connected
    
    Termination name                   State           Duration(msecs)
    ip/4/vif-0/2          In-service      42068
    Gate-id               Direction       State        Action
    184683659520    A->B            active        forward
    184683659521    B->A            active        forward

    show services pgcp terminations termination-prefix h248

    user@host> show services pgcp termination gateway bgf-1 termination-prefix ip/4/vif-0/2 h248
    Termination information:
    ip/4/vif-0/2 {
          MEDIA {
            TERMINATIONSTATE { SERVICESTATES = INSERVICE },
            STREAM = 1 {
              LOCALCONTROL { MODE = SENDRECEIVE,
                             DS/DSCP = 00,
                             TMAN/MBS = 10,
                             TMAN/PDR = 0,
                             TMAN/POL = ON,
                             TMAN/SDR = 1000,
                             MGCINFO/DB = 00,
                             GM/RSB = ON,
                             GM/SAF = ON,
                             GM/SAM = "[42.0.3.11]",
                             GM/SPF = OFF,
                             GM/ESAS = OFF,
                             GM/ESPS = OFF },
              LOCAL {
    v=0
    c=IN IP4 40.1.1.100
    m=- 1024 rtp/avp -
    b=AS:0
              },
              REMOTE {
    v=0
    c=IN IP4 42.0.3.11
    m=- 10000 rtp/avp -
    b=AS:0
              }
            }
          },
          SIGNALS { IPNAPT/LATCH { STREAM = 1, NAPT = OFF, NOTIFYCOMPLETION = { TIMEOUT } } },
          EVENTS { HANGTERM/THB { TIMERX= 30 } }
    
    }

    Published: 2013-03-14