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

    show services pgcp flows

    Syntax

    show services pgcp flows gateway gateway-name<brief | extensive | terse><backup | master><count> <destination-port destination-port><destination-prefix destination-prefix><destination-routing-instance vrf><gate-id gate-id><gateway-name><protocol protocol> <service-set service-set> <source-port source-port> <source-prefix source-prefix> <source-routing-instance vrf>

    Release Information

    Command introduced in Junos OS Release 8.4.

    gate-id option added in Release 9.2.

    gateway-name option added in Junos OS Release 9.2.

    destination-routing-instance option added in Junos OS Release 9.3.

    source-routing-instance option added in Junos OS Release 9.3.

    master option introduced in Junos OS Release 9.6

    backup option introduced in Junos OS Release 9.6

    Description

    Display information for Packet Gateway Control Protocol (PGCP) flows.

    Options

    gateway gateway-name
    —

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

    none
    —

    Display standard information about all PGCP flows.

    brief | extensive | terse
    —

    (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 flows on the routing engine are displayed. If the virtual BGF is running on a services PIC, the flows on the primary services PIC are displayed. If you do not specify the master or backup options, the master option is the default.

    count
    —

    (Optional) Display a count of the matching entries.

    destination-port destination-port
    —

    (Optional) Display information for a particular destination port.

    destination-prefix destination-prefix
    —

    (Optional) Display information for a particular destination prefix.

    destination-routing-instance vrf
    —

    (Optional) Display information for a particular destination VPN routing and forwarding instance (VRF).

    gate gate-id
    —

    (Optional) Display information about a particular gate.

    gateway-name
    —

    (Optional) Display information about a particular virtual BGF.

    protocol protocol
    —

    (Optional) Display information about one of the following IP protocol types:

    • number—Numeric protocol value from 0 to 255
    • ah—IPsec Authentication Header protocol
    • egp—An exterior gateway protocol
    • esp—IPsec Encapsulating Security Payload protocol
    • gre—A generic routing encapsulation protocol
    • icmp—Internet Control Message Protocol
    • igmp—Internet Group Management Protocol
    • ipip—IP-within-IP Encapsulation Protocol
    • ospf—Open Shortest Path First protocol
    • pim—Protocol Independent Multicast protocol
    • rsvp—Resource Reservation Protocol
    • sctp—Stream Control Protocol
    • tcp—Transmission Control Protocol
    • udp—User Datagram Protocol
    service-set service-set
    —

    (Optional) Display information for a particular service set.

    source-port source-port
    —

    (Optional) Display information for a particular source port.

    source-prefix source-prefix
    —

    (Optional) Display information for a particular source prefix.

    source-routing-instance vrf
    —

    (Optional) Display information for a particular source VPN routing and forwarding instance (VRF).

    Required Privilege Level

    view

    List of Sample Output

    show services pgcp flows
    show services pgcp flows extensive

    Output Fields

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

    Table 1: show services pgcp flows Output Fields

    Field Name

    Field Description

    Level of Output

    Interface

    Name of the services interface.

    All levels

    Service set

    Name of a service set. Individual empty service sets are not displayed. If no service set has any flows, a flow table header is displayed for each service set.

    All levels

    Flow

    Protocol used for this flow.

    All levels

    Source

    Source prefix of the flow in the format source-prefix:port.

    All levels

    Dest

    Destination prefix of the flow.

    All levels

    State

    Status of the flow:

    • Drop—Drop all packets in the flow without response.
    • Forward—Forward the packet in the flow without looking at it.
    • Reject—Drop all packets in the flow with response.
    • Watch—Inspect packets in the flow.

    All levels

    Dir

    Direction of the flow: input (I), output (O), or unknown (U).

    All levels

    Frm count

    Number of frames in the flow.

    All levels

    Gate id

    Numeric identifier of the gate.

    All levels

    NAT source

    Original and translated source IPv4 or IPv6 addresses are displayed if Network Address Translation (NAT) is configured on this particular flow or conversation.

    All levels

    NAT dest

    Original and translated destination IPv4 or IPv6 addresses are displayed if NAT is configured on this particular flow or conversation.

    All levels

    VRF

    If you have VPN aggregation configured, shows the source (ingress) VRF and the destination (egress) VRF.

    extensive

    Byte count

    Number of bytes forwarded in the flow.

    extensive

    Flow role

    Role of the flow that is under evaluation: Initiator, Master, Responder, or Unknown.

    extensive

    Timeout

    Lifetime of the flow, in seconds.

    extensive

    Tman Policing

    Whether traffic-management policing is ON or OFF

    extensive

    SDR

    Sustained data rate being enforced for the gate.

    extensive

    SDR MBS

    Sustained data rate maximum burst size being enforced for the gate.

    extensive

    PDR

    Peak data rate being enforced for the gate.

    extensive

    PDR MBS

    Peak data rate maximum burst size being enforced for the gate.

    extensive

    Sample Output

    show services pgcp flows

    user@host> show services pgcp flows gateway VBGF1
    Interface: sp-0/3/0, Service set: bgf-svc-set-1
    Flow                                                State    Dir       Frm count
    UDP          4.0.0.102:0     ->    4.99.99.100:1024  Forward  I           21531
    Gate id: 8590000385
        NAT source       4.0.0.102:0       ->     3.99.99.100:1024
        NAT dest       4.99.99.100:1024    ->       3.0.0.101:49174
    UDP            0.0.0.0:0     ->    3.99.99.100:1024  Forward  I           20999
    Gate id: 8590000384
        NAT source         0.0.0.0:0       ->     4.99.99.100:1024
        NAT dest       3.99.99.100:1024    ->       4.0.0.102:49234
    UDP          4.0.0.102:0     ->    4.99.99.100:5060  Forward  I               3
    Gate id: 4295033089
        NAT source       4.0.0.102:0       ->     3.99.99.100:5060
        NAT dest       4.99.99.100:5060    ->       3.0.0.101:5060
    UDP          3.0.0.101:0     ->    3.99.99.100:5060  Forward  I               2
    Gate id: 4295033088
        NAT source       3.0.0.101:0       ->     4.99.99.100:5060
        NAT dest       3.99.99.100:5060    ->       4.0.0.102:5060
    UDP            0.0.0.0:0     ->    3.99.99.100:1025  Forward  I               0
    Gate id: 8590000384
        NAT source         0.0.0.0:0       ->     4.99.99.100:1025
        NAT dest       3.99.99.100:1025    ->       4.0.0.102:49235
    UDP          4.0.0.102:0     ->    4.99.99.100:1025  Forward  I               0
    Gate id: 8590000385
        NAT source       4.0.0.102:0       ->     3.99.99.100:1025
        NAT dest       4.99.99.100:1025    ->       3.0.0.101:49175

    show services pgcp flows extensive

    user@host> show services pgcp flows bgf-1 extensive
    Interface: rsp1, Service set: bgf-svc-set-1
    Flow                                                State    Dir       Frm count
    Gate id: 4295033088
    UDP          4.0.0.102:0     ->    10.50.100.1:1024  Forward  U               0
        NAT source       4.0.0.102:0       ->     20.50.100.1:1024
        NAT dest       10.50.100.1:1024    ->       4.0.0.101:10000
    VRF:  vrf1 —> vrf2  
      Byte count: 0
      Flow role: Master, Timeout: 429496728
      Tman Policing: ON
      SDR    : 10000 bytes per second
      SDR MBS: 1000 bytes
      PDR    : 10000 bytes per second
      PDR MBS: 1000 bytes
    Gate id: 4295033088
    UDP          4.0.0.102:0     ->    10.50.100.1:1025  Forward  U               0
        NAT source       4.0.0.102:0       ->     20.50.100.1:1025
        NAT dest       10.50.100.1:1025    ->       4.0.0.101:10001
    VRF:  vrf1 —> vrf2
      Byte count: 0
      Flow role: Initiator, Timeout: 429496728
      Tman Policing: ON
      SDR    : 500 bytes per second
      SDR MBS: 1000 bytes
      PDR    : 500 bytes per second
      PDR MBS: 1000 bytes
    Gate id: 4295033089
    UDP          4.0.0.101:0     ->    20.50.100.1:1024  Forward  U               0
        NAT source       4.0.0.101:0       ->     10.50.100.1:1024
        NAT dest       20.50.100.1:1024    ->       4.0.0.102:10000
    VRF:  vrf1 —> vrf2
      Byte count: 0
      Flow role: Responder, Timeout: 6000
      Tman Policing: OFF
    Gate id: 4295033089
    UDP          4.0.0.101:0     ->    20.50.100.1:1025  Forward  U               0
        NAT source       4.0.0.101:0       ->     10.50.100.1:1025
        NAT dest       20.50.100.1:1025    ->       4.0.0.102:10001
    VRF:  vrf1 —> vrf2
      Byte count: 0
      Flow role: Responder, Timeout: 429496728
      Tman Policing: OFF

    Published: 2013-03-14