debug tcpproxy
Focus
Focus

debug tcpproxy

Table of Contents

debug tcpproxy

Use the debug tcpproxy command to create, display, or delete a filter to enable debugging for tcpproxy service and provides a mechanism to enable debugging based on functionality or category. On an ION device, the TCP proxy service is responsible for application detection, metrics, link/application reachability, application prefix management, and so on.
Categories include application detection, application reachability, link reachability, metrics, and application path prefixes. The match criteria for filters a source and destination IP addresses, one or two port numbers, a specific protocol type, a path ID, or an application ID. Specific categories and filters combine in the command for debugging the specified classes and functions.
For app-reachability and app-path-prefix category, app-id or destination prefix is required. The filter ID is mandatory for create and delete options (values between 1 and 8). All is used with the view option to display all filters on the device.

Command

debug tcpproxy (create | view | delete) [app-detection | app-reachability | linkreachability | metrics | app-path-prefix | all] + [id= srcv4= dstv4= srcport= dstport= protocol= app-id= path-id=]

Options

idEnter the filter ID.
srcv4Enter the source IP address.
dstv4Enter the destination IP address.
srcportEnter the source port.
dstportEnter the destination port.
protocolEnter the protocol for creating a filter. For example TCP, UDP, ICMP, and so on.
app-idEnter the application ID for creating a filter.
path-idEnter the path ID for creating a filter.

Command Notes

RoleSuper
Related Commands
Introduced inRelease 5.1.1

Example

debug tcpproxy create app-detection metrics id=5 dstv4=23.11.4.10/29 debug tcpproxy view all ID SrcHost DstHost SrcPort DstPort Protocol Path ID Categories 1 10.10.140.25 0 10051 0 15244250442940223 appdetection debug tcpproxy delete id=1