Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Webcast-Catalyst9k
New Member

Ip access-list

What is the different between these two lines:

permit tcp any any eq 0000

permit tcp any eq 0000 any

Thank you.

2 REPLIES
Hall of Fame Super Bronze

Re: Ip access-list

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.

Hall of Fame Super Gold

Re: Ip access-list

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

101
Views
5
Helpful
2
Replies
CreatePlease to create content