cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
340
Views
0
Helpful
2
Replies

What is the exact difference between the two ACLs?

jegan1234
Beginner
Beginner

Hi

Please find the below the ACLs, would like to know the exact difference between the two ACLs.

permit tcp any gt 1023 A.B.C.3D/32 eq 80

permit tcp any eq 80 A.B.C.3D/32 gt 1023 TcpEstablished

Please help            

2 Replies 2

Peter Paluch
Hall of Fame Cisco Employee Hall of Fame Cisco Employee
Hall of Fame Cisco Employee

Hi,

permit tcp any gt 1023 A.B.C.3D/32 eq 80

This entry matches any TCP segment whose destination is A.B.C.3D, source port number is 1024 or more and the destination port number is 80. In other words, this entry matches all TCP traffic sent from a client to a webserver at A.B.C.3D.

permit tcp any eq 80 A.B.C.3D/32 gt 1023 TcpEstablished

This entry matches any TCP segment whose sender is A.B.C.3D, source port is 80, destination port is 1024 or more, and has any of these flags set: ACK, FIN, RST. In other words, this entry matches all return traffic from the webserver at A.B.C.3D sent to a client in a response to its request.

Best regards,

Peter

Thanks Peter

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Recognize Your Peers