Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

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.

Everyone's tags (1)
1 ACCEPTED SOLUTION

Accepted Solutions
VIP Super Bronze

Re: Deny ICMP, Allow SSH

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

2 REPLIES
VIP Super Bronze

Re: Deny ICMP, Allow SSH

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

Re: Deny ICMP, Allow SSH

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.

1816
Views
0
Helpful
2
Replies
CreatePlease login to create content