[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 429
  • Last Modified:

How do I stop my Cisco 837 replying to Pings?

Hi,
   I've just setup my first Cisco router. It's an 837 ADSL router. I've got it up and running ok but I want to stop it replying to ICMP requests although I want to allow ICMP requests out. It's the first time I've touched a Cisco router although I'm aware that to set advanced settings you have to telnet into the router and use commands. I have managed to get into the privileged command sets but don't know the exact command I need to deny ICMP coming in. Any help would be greatly appreciated.

Thanks.
0
leehewson
Asked:
leehewson
1 Solution
 
zubijalalCommented:
Hi lee
See what you need to do is to apply an access list which will deny all your icmp traffic.
give this command in the config mode.you can enter the config mode by typing 'config ter' at the priviledged mode.
once you are in config mode give this command
access-list 101 deny icmp any any echo.
see if that works
regards

zubair
0
 
roddieCommented:
Lee,

You'll also need to apply the ACL that Zubair specified to the interface that you want to block pings on (assuming it's Dialer1 for this post) - More importantly, make sure you have a "permit ip any any" at the end, otherwise you'll deny everything.  This you're not denying "echo-reply", outbound pings should still work.

conf t
access-list 101 deny icmp any any echo
access-list 101 permit

interface Dialer 1
ip access-group 101 in

Good luck!

Roddie
0
 
leehewsonAuthor Commented:
That's done the trick! Thanks a lot for your time and thoughts guys.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now