Configuring rule criteria for a capture list

Last Updated : May 08, 2023 |

Procedure

Use the composite-operation command to include a composite operation in a rule for a capture list.

For example, the following commands create a rule (rule 10 in capture list 510) that determines that TCP packets are not captured:

Gxxx-001(super)# ip capture-list 510
Gxxx-001(super-Capture 510)# ip-rule 10
Gxxx-001(super-Capture 510/ip rule 10)# composite-operation no-capture
Done!
Gxxx-001(super-Capture 510/ip rule 10)# ip-protocol tcp
Done!
Gxxx-001(super-Capture 510/ip rule 10)#