cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
341
Views
0
Helpful
2
Replies

Blocking incoming ping

john.carter
Level 1
Level 1

How do I block incoming pings to a router interface? I can not find a port # for ICMP

2 Replies 2

DALE FRANCIS
Level 3
Level 3

I have used named access-lists you can use Numbered if you have older IOS version.

ip access-list extended ICMP

deny icmp any any (replace with host/subnet entry)

Then apply to interface

int fast 2/1

ip access-group ICMP in

ip directed-broadcast

ip pim sparse-dense-mode

no ip mroute-cache

udld enable

joaopedro
Level 1
Level 1

You can create an ACL that blocks icmp (deny icmp) or if you want to use a port number, you have to disable the "echo" replies (udp port 7).