Reference Guide

Usage Information OS10 cannot count both packets and bytes; when you enter the count byte options, only bytes increment. The
no version of this command removes the lter.
Example
OS10(conf-ipv6-acl)# permit ipv6 any any count capture session 1
Supported Releases 10.2.0E or later
permit tcp
Congures a lter to permit TCP packets meeting the lter criteria.
Syntax
permit tcp [A.B.C.D | A.B.C.D/x | any | host ip-address [operator]] [[A.B.C.D |
A.B.C.D/x | any | host ip-address [operator] ] [ack | fin | psh | rst | syn |
urg] [capture |count [byte] | dscp value | fragment]
Parameters
A.B.C.D — Enter the IP address in dotted decimal format.
A.B.C.D/x — Enter the number of bits that must match the dotted decimal address.
any — (Optional) Set all routes which are subject to the lter:
capture — (Optional) Capture packets the lter processes.
count — (Optional) Count packets the lter processes.
byte — (Optional) Count bytes the lter processes.
dscp value — (Optional) Permit a packet based on the DSCP values, 0 to 63.
fragment — (Optional) Use ACLs to control packet fragments.
ack — (Optional) Set the bit as acknowledgement.
fin — (Optional) Set the bit as nish—no more data from sender.
psh — (Optional) Set the bit as push.
rst — (Optional) Set the bit as reset.
syn — (Optional) Set the bit as synchronize.
urg — (Optional) Set the bit set as urgent.
operator — (Optional) Enter a logical operator to match the packets on the specied port number. The
following options are available:
eq — Equal to
gt — Greater than
lt — Lesser than
neq — Not equal to
range — Range of ports, including the specied port numbers.
host ip-address — (Optional) Enter the IP address to use a host address only.
Default
Not congured
Command Mode IPV4–ACL
Usage Information OS10 cannot count both packets and bytes; when you enter the count byte options, only bytes increment. The
no version of this command removes the lter.
Example
OS10(conf-ipv4-acl)# permit tcp any any capture session 1
Supported Releases 10.2.0E or later
522 Access Control Lists