- show services stateful-firewall flows
- <brief | extensive | summary | terse>
- <application-protocol protocol>
- <count>
- <destination-port destination-port>
- <destination-prefix destination-prefix>
- <interface interface-name>
- <limit number>
- <pgcp>
- <protocol protocol>
- <service-set service-set>
- <source-port source-port>
- <source-prefix source-prefix>
Command introduced before JUNOS Release 7.4.
pgcp option introduced in JUNOS Release 8.4.
Display stateful firewall flow table entries.
none — Display standard information about all stateful firewall flows.
brief | extensive | summary | terse — (Optional) Display the specified level of output.
application-protocol protocol — (Optional) Display information about one of the following application protocols:
count — (Optional) Display a count of the matching entries.
destination-port destination-port — (Optional) Display information for a particular destination port. The range of values is from 0 to 65535.
destination-prefix destination-prefix — (Optional) Display information for a particular destination prefix.
interface interface-name — (Optional) Display information about a particular interface. On M Series and T Series routers, interface-name can be sp-fpc/pic/port or rspnumber. On the J Series routers, interface-name is sp-pim/0/port.
limit number — (Optional) Maximum number of entries to display.
pgcp — (Optional) Display stateful firewall information for Packet Gateway Control Protocol (PGCP) flows.
protocol protocol — (Optional) Display information about one of the following IP protocol types:
service-set service-set — (Optional) Display information for a particular service set.
source-port source-port — (Optional) Display information for a particular source port. The range of values is from 0 to 65535.
source-prefix source-prefix — (Optional) Display information for a particular source prefix.
view
clear services stateful-firewall flows
Table 283 lists the output fields for the show services stateful-firewall flows command. Output fields are listed in the approximate order in which they appear.
Table 283: show services stateful-firewall flows Output Fields
show services stateful-firewall flows
user@host> show services stateful-firewall flows Interface: sp-1/3/0, Service set: green Flow Prot Source Dest State Dir Frm count TCP 10.58.255.178:23 -> 10.59.16.100:4000 Forward O TCP 10.58.255.50:33005-> 10.58.255.178:23 Forward I 1 Source NAT 10.58.255.50:33005-> 10.59.16.100:4000 Destin NAT 10.58.255.178:23 -> 0.0.0.0:4000
show services stateful-firewall flows brief
The output for the show services stateful-firewall flows brief command is identical to that for the show services stateful-firewall flows command. For sample output, see show services stateful-firewall flows.
show services stateful-firewall flows extensive
user@host> show services stateful-firewall flows
extensive Interface: sp-0/3/0, Service set: ss_nat
Flow State Dir Frm count
TCP 16.1.0.1:2330 -> 16.49.0.1:21 Forward I 8
NAT source 16.1.0.1:2330 -> 16.41.0.1:2330
NAT dest 16.49.0.1:21 -> 16.99.0.1:21
Byte count: 455, TCP established, TCP window size: 57344
TCP acknowledge: 3251737524, TCP tickle enabled, tcp_tickle: 0
Flow role: Master, Timeout: 720
TCP 16.99.0.1:21 -> 16.41.0.1:2330 Forward O 5
NAT source 16.99.0.1:21 -> 16.49.0.1:21
NAT dest 16.41.0.1:2330 -> 16.1.0.1:2330
Byte count: 480, TCP established, TCP window size: 57344
TCP acknowledge: 463128048, TCP tickle enabled, tcp_tickle: 0
Flow role: Responder, Timeout: 720show services stateful-firewall flows count
user@host> show services stateful-firewall flows
count Interface Service set Flow Count sp-1/3/0 green 2
show services stateful-firewall flows destination port
user@router> show services stateful-firewall
flows destination-port 21Interface: sp-0/3/0, Service set: svc_set_trust
Flow
State Dir Frm count
Interface: sp-0/3/0, Service set: svc_set_untrust
Flow State Dir Frm count
TCP 10.50.10.2:2143 -> 10.50.20.2:21 Watch O 0
show services stateful-firewall flows source port
user@router> show services stateful-firewall
flows source-port 2143Interface: sp-0/3/0, Service set: svc_set_trust
Flow
State Dir Frm count
Interface: sp-0/3/0, Service set: svc_set_untrust
Flow State Dir Frm count
TCP 10.50.10.2:2143 -> 10.50.20.2:21 Watch O 0
show services stateful-firewall flows (Twice NAT)
user@router> show services stateful-firewall
flowsFlow State Dir Frm count
UDP 40.0.0.8:23439 -> 80.0.0.1:16485 Watch I 20
NAT source 40.0.0.8:23439 -> 172.16.1.10:1028
NAT dest 80.0.0,1:16485 -> 192.16.1.10:22415
UDP 192.16.1.10:22415 -> 172.16.1.10:1028 Watch O 20
NAT source 192.16.1.10:22415 -> 80.0.0.1:16485
NAT dest 172.16.1.10:1028 -> 40.0.0.8:23439