For example, the following rule is defined to capture all TCP packets:
Gxxx-001(super)# ip capture-list 520
Gxxx-001(super-Capture 520)# ip-rule 20
Gxxx-001(super-Capture 520/ip rule 20)# composite-operation capture
Done!
Gxxx-001(super-Capture 520/ip rule 20)# ip-protocol tcp
Done!
Gxxx-001(super-Capture 520/ip rule 20)#