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

Creating ACL to allow only ftp traffic from specific host to specific host

I am trying to allow host 1.2.3.4 to ftp to host 10.5.0.1 and block all other traffic.

access-list 101 permit tcp host 1.2.3.4 host 10.5.0.1 eg ftp

access-list 101 deny 1.2.0.0 0.0.255.255 10.5.0.2 eq ftp

does this look right?

1 REPLY
New Member

Re: Creating ACL to allow only ftp traffic from specific host to

In truth you don't need the deny statement at the end, access list are such that there is an implict deny already. But other then that if you change the eg to eq then it should work.

254
Views
0
Helpful
1
Replies
CreatePlease to create content