cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
236
Views
5
Helpful
2
Replies

Ip access-list

pmpesha
Level 1
Level 1

What is the different between these two lines:

permit tcp any any eq 0000

permit tcp any eq 0000 any

Thank you.

2 Replies 2

Edison Ortiz
Hall of Fame
Hall of Fame

On the first line, you are permitting traffic on tcp based on the destination port (whatever value that is) while on the 2nd line, you are permitting traffic based on the source port.

HTH,

__

Edison.

Richard Burts
Hall of Fame
Hall of Fame

Philipe

The difference is whether you are examining the destination port or examining the source port. So the line:

permit tcp any any eq 0000

is checking for the destination port in the IP packet. the line:

permit tcp any eq 0000 any

is examining the source port of the IP packet.

HTH

Rick

HTH

Rick
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:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco