Focus
Focus
Table of Contents

debug flow

Use the debug flow command to create, display, or delete a filter when enabling data plane debugging to reduce the ION device load. The match criteria for the filter must be one or two host IP addresses, one or two port numbers, a specific protocol type, or a particular ether-type. The filter ID is mandatory for creating and delete options (values between 1 and 8). All are used with the view option to display all filters on the device.

Command

debug flow (create | view | delete) id= [ host1= | host2= | port1= | port2= | protocol= | ether-type= ]

Options

idEnter the filter ID.
host1Enter the source IP address.
host2Enter the destination IP address.
port1Enter the source port address.
port2Enter the destination port address.
protocolEnter the protocol for creating a filter. For example TCP, UDP, ICMP, etc.
ether-typeEnter the Ether Type value for the protocol used. For example, 0x0800 for Internet Protocol version 4 (IPv4).

Command Notes

RoleSuper
Related Commands
Introduced inRelease 4.6.1

Example

debug flow create id=1 host1=10.10.101.11 host2=192.168.22.33 debug flow view id=8 ID Host1 Host2 Port1 Port2 EtherType Protocol 8 192.168.23.2 172.168.23.2 23 17 6 9 debug flow delete id=8 Deleted:8 debug flow view all ID Host1 Host2 Port1 Port2 EtherType Protocol 2 172.20.73.191 172.20.73.183 23 80 234 17 6 172.20.73.121 172.20.73.170 23 80 289 1
debug flow view all ID Host1 Host2 Port1 Port2 EtherType Protocol 2 10.2.15.103 0 0 1 2001:10:2:15::103 0 0