cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
1996
Views
0
Helpful
2
Replies
damianrodriguez
Beginner

Deny ICMP, Allow SSH

Hi, i hava a cisco 2960. I set an acl to block icmp but i can not conect using ssh now.

1 ACCEPTED SOLUTION

Accepted Solutions
Reza Sharifi
Hall of Fame Expert

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

View solution in original post

2 REPLIES 2
Reza Sharifi
Hall of Fame Expert

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

View solution in original post

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.