Monitoring Flows
You can view flows with the show services pgcp flows gateway gateway-name command. You can view information for all flows, or you can include keywords to limit the number of flows displayed or to display flows for a particular:
- Gate
- Source or destination port
- Source or destination prefix
- Source or destination routing instance
- Protocol
- Service set
This topic consists of the following:
Displaying All Flows
Purpose
Display standard information about all flows using the show services pgcp flows gateway gateway-name command.
Action
user@host> show services pgcp flows gateway bgf-1Interface: 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
Displaying Extensive Information About All Flows
Purpose
Display extensive information about all flows, using the show services pgcp flows gateway gateway-name extensive command.
Action
user@host> show services pgcp flows gateway bgf-1 extensiveInterface: sp-1/2/0, Service set: bgf-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 bytesDisplaying Extensive Information About Flows for a Specific Gate
Purpose
Display extensive information about flows for a specific gate using the show services pgcp flows gateway gateway-name gate-id gate-id extensive command.
Action
user@host> show services pgcp flows gateway bgf-1 gate-id 4295033088
extensiveInterface: 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 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
