cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
305
Views
4
Helpful
2
Replies

Access-list statement

Just Kennie
Level 1
Level 1

Whats the difference bwt the following access-list commiand.

permit tcp host 132.1.3.100 eq smtp any, and....

permit tcp host 132.1.3.100 any eq smtp

2 Replies 2

Giuseppe Larosa
Hall of Fame
Hall of Fame

Hello Just,

in the first case is traffic from smtp server 132.1.3.100 to any

in the second case is traffic from client 132.1.3.100 to an smtp server with arbitrary address.

In extended ACL there is the capacity to specify protocol, source and destination address and in the case of TCP or UDP you can specify the source port (if after the source address) or the destination port (if after the destination address).

if 132.1.3.100 is an smtp server the right formulation can be the first one if the ACL is applied in a direction that sees packets with source 132.1.3.100.

Hope to help

Giuseppe

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:

Review Cisco Networking products for a $25 gift card