Link to home
Start Free TrialLog in
Avatar of nocinfospan
nocinfospan

asked on

how to create an ACl on cisco router to accept icmp from particular host and deny all others

I want to set an ACL on Gigabit Interface on the router to accept icmp from only one host and deny all request of ICMP from all others.

Thanks and regards

Saqib
ASKER CERTIFIED SOLUTION
Avatar of Craig Beck
Craig Beck
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of nocinfospan
nocinfospan

ASKER

i have set "ip access-group 100 in" because i do not have any other option under my int gig0/0 .. But after applying all the above lines do not work it still able to ping from other hosts as well.
apply these under the vty lines
for instance

line vty 0-4
access-class 100 in

the number of vty lines are platform dependant. To cover all lines type line vty 0 ?
in this case the last vty line is 807
R2(config)#line vty 0 ?
  <1-807>  Last Line number
its not a complete solution i have to do some more things to acheive that functionality