inspect connection
Focus
Focus

inspect connection

Table of Contents

inspect connection

Use the inspect connection command to inspect the established connections and to debug connections that match user-specified options. It displays the protocol, time after which connection times out, source IP, destination IP, source port, and destination port.

Command

inspect connection (all | srcv4=src-ipv4 | destv4=dst-ipv4 | srcv6=src-ipv6 | destv6=dst-ipv6 | srcport=src-port | dstport=dst-port | proto= ( udp | tcp | icmp | other ))

Options

srcv4Enter the source IPv4 address.
dstv4Enter the destination IPv4 address.
srcv6Enter the source IPv6 address.
dstv6Enter the destination IPv6 address.
srcportEnter the source port.
dstportEnter the destination port.
protoTab to select UDP, TCP, or ICMP. Or, enter a protocol number ranging from 0 - 255.

Command Notes

RoleSuper, Read Only
Related Commands
Introduced in Release 5.0.1

Example

inspect connection proto=udp PROTO TIMEOUT SRC DST SPORT DPORT t-src t-dst tsport tdport udp 6 127.0.0.1 127.0.0.1 51884 53 127.0.0.1 127.0. 0.1 51884 53 udp 12 0.0.0.0 255.255.255.255 68 67 0.0.0.0 255.255.255.255 68 67 udp 29 10.24.18.20 210.24.18.101 51409 3784 10.24.18.20 210.24.18.101 51409 3784
inspect connection all PROTO TIMEOUT SRC DST SPORT DPORT t-src t-dst t-sport t-dport tcp 3524 fd13::2 2001:800::2 52754 9999 2001:800::1 2001:800::2 52754 9999 udp 29 100.64.0.36 100.64.0.37 52634 3784 100.64.0.36 100.64.0.37 52634 3784 udp 29 100.64.0.38 100.64.0.39 62944 3784 100.64.0.38 100.64.0.39 62944 3784