You can view PGCP flows with the show services pgcp flows command. You can view information for all PGCP flows, or you can include keywords to limit the number of flows displayed or to display flows for a particular:
Purpose
Display standard information about all PGCP flows using the show services pgcp flows command.
Action
user@host> show services pgcp flows
Interface: sp-0/3/0, Service set: pgcp-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
Purpose
Display extensive information about all PGCP flows, using the show services pgcp flows extensive command.
Action
user@host> show services pgcp flows
extensive
Interface: sp-1/2/0, Service set: pgcp-svc-set
Flow State Dir Frm count
Gate id: 4295033088
UDP :::0 -> 222::99:99:20:5060 Forward I 0
NAT source :::0 -> 4::99:99:20:5060
NAT dest 222::99:99:20:5060 -> 4::1:1:3:5060
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 :::0 -> 4::99:99:20:5060 Forward I 0
NAT source :::0 -> 222::99:99:20:5060
NAT dest 4::99:99:20:5060 -> 222::6:5060
Byte count: 0
Flow role: Responder, Timeout: 429496728
Tman Policing: ON
SDR : 500 bytes per second
SDR MBS: 1000 bytes
PDR : 500 bytes per second
PDR MBS: 1000 bytes
Purpose
Display extensive information about PGCP flows for a specific gate using the show services pgcp flows gateway-name gate-id gate-id extensive command.
Action
user@host> show services pgcp flows
vpg-1 gate-id 4295033088 extensive
Interface: rsp1, Service set: pgcp-svc-set-1
Flow State Dir Frm count
Gate id: 4295033088
UDP 4.0.0.102:0 -> 10.50.100.1:1024 Forward I 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
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 I 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
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