11-26-2009 01:53 AM - edited 03-06-2019 08:44 AM
Dear All,
We having Cat 4000 series Switch ,switch ip address 10.66.1.60,Gigabit eth 2/5 ip 10.66.88.200.in this port connected to ips ip 10.66.88.100,
IPS connected to L2 switch, L2 switch connected to FTP server ip 10.68.9.100 ,i want to block ftp port trough L3 switch.any access list required on L3 switch.
11-26-2009 08:47 AM
ramnetcommunications wrote:
Dear All,
We having Cat 4000 series Switch ,switch ip address 10.66.1.60,Gigabit eth 2/5 ip 10.66.88.200.in this port connected to ips ip 10.66.88.100,
IPS connected to L2 switch, L2 switch connected to FTP server ip 10.68.9.100 ,i want to block ftp port trough L3 switch.any access list required on L3 switch.
In order to filter a port, an ACL is required. Per your description, you must place an inbound ACL on port GE 2/5.
For instance
access-list 101 deny host 10.68.9.100 eq ftp any
access-list 101 deny host 10.68.9.100 eq ftp-data any
access-list 101 permit any any
interface g2/5
ip access-group 101 in
Regards
Edison.
11-27-2009 01:10 AM
Dear Edison,
Thanks for support its working fine and same thing i want to block all ports and access given to only http port tell me the acl command.
11-27-2009 10:10 AM
ramnetcommunications wrote:
Dear Edison,
Thanks for support its working fine and same thing i want to block all ports and access given to only http port tell me the acl command.
If you only want HTTP instead of FTP, the syntax is:
access-list 101 permit tcp host 10.68.9.100 eq http any
access-list 101 deny ip host 10.68.9.100 any
access-list 101 permit ip any any
interface g2/5
ip access-group 101 in
Regards,
Edison.
Please, make sure to rate helpful posts - thanks !
11-29-2009 09:25 PM
Dear Edison
Thanks for support i nead only HTTP Port allow any other ports are not allow .like this configuration i required.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide