echo, echo-reply and unreachable in ASA

Hi Any one can explain the difference among following three highlighted in ASA. Thank you

hostname(config)# icmp permit host outside
hostname(config)# icmp permit host echo outside
hostname(config)# icmp permit host echo-reply outside
hostname(config)# icmp permit any unreachable outside
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Paul SimmonsCommented:
The three lines are permitting 3 different ICMP messages. They basically say allow ping, affirmative ping response, and destination unreachable response.
eemoonAuthor Commented:
Thank you so much for your fast reply. What is difference among them ? and command " icmp permit host outside" also is allowed to ping. why does asa has other three commands ?
Paul SimmonsCommented:
The first three rules allow outbound ICMP traffic from one specific host (; and because rule 1 has no restriction defined, rules 2 and 3 are probably unnecessary. Rule 4 has no source host restriction (any), but only allows the destination unreachable message to pass.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.