Users Guide

Table Of Contents
permit tcp
Configures a filter to permit TCP packets meeting the filter 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 | dscp value | fragment | log]
Parameters
A.B.C.D — Enter the IPv4 address in dotted decimal format.
A.B.C.D/x — Enter the number of bits that must match the dotted decimal address.
any — (Optional) Enter the keyword any to specify any source or destination IP address.
NOTE: The control-plane ACLs do not support the any parameter.
host ip-address — (Optional) Enter the IPv4 address to use a host address only.
ack — (Optional) Set the bit as acknowledgement.
fin — (Optional) Set the bit as finish—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.
capture — (Optional) Capture packets the filter processes.
count — (Optional) Count packets the filter processes.
byte — (Optional) Count bytes the filter processes.
dscp value — (Optional) Permit a packet based on the DSCP values, 0 to 63.
fragment — (Optional) Use ACLs to control packet fragments.
log — (Optional) Enables ACL logging. Information about packets that match an ACL rule are logged.
operator — (Optional) Enter a logical operator to match the packets on the specified 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 specified port numbers.
NOTE: The control-plane ACLs support only the eq operator.
Default Not configured
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 filter.
Example
OS10(conf-ipv4-acl)# permit tcp any any capture session 1
Supported
Releases
10.2.0E or later
permit tcp (IPv6)
Configures a filter to permit TCP packets meeting the filter criteria.
Syntax
permit tcp [A::B | A::B/x | any | host ipv6-address [eq | lt | gt | neq |
range]] [A::B | A:B/x | any | host ipv6-address [eq | lt | gt | neq | range]]
[ack | fin | psh | rst | syn | urg] [capture | count | dscp value | fragment |
log]
Parameters
A::B — Enter the IPv6 address in hexadecimal format separated by colons.
A::B/x — Enter the number of bits that must match the IPv6 address.
Access Control Lists 1053