04-27-2010 04:26 PM - edited 03-06-2019 10:50 AM
Hi, i hava a cisco 2960. I set an acl to block icmp but i can not conect using ssh now.
Solved! Go to Solution.
04-27-2010 04:38 PM
Hi Damian,
Remember that there is a default deny ip any any at the end of any access list.
So you need to add:
"access-list xxx permit IP any any" at the end of your access list to allow every thing else
HTH
Reza
04-27-2010 04:38 PM
Hi Damian,
Remember that there is a default deny ip any any at the end of any access list.
So you need to add:
"access-list xxx permit IP any any" at the end of your access list to allow every thing else
HTH
Reza
04-27-2010 04:40 PM
Hi,
Perhaps the ACL is not just blocking ICMP.
If the ACL blocks SSH as well, that might be the problem.
Check out that the statement is something like this:
access-list 101 deny icmp any host x.x.x.x
The above ACL will only block ICMP.
Another important thing is that if you only have the above line, all subsequent connections are going to be blocked (because there's an implicit deny everything else at the end of the ACL).
So, if your goal is to deny only ICMP, enter the above line and then:
access-list 101 permit ip any any
Hope it helps.
Federico.
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: