OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

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 [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 filter:
    • 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.
    • 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.
  • 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.
  • host ip-address — (Optional) Enter the IP address to use a host address only.
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

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\