05-13-2002 02:13 AM - edited 03-01-2019 09:42 PM
How do I block incoming pings to a router interface? I can not find a port # for ICMP
05-13-2002 02:35 AM
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
05-21-2002 08:38 AM
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).
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