Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACL problem

Status
Not open for further replies.

McCisco

Technical User
Oct 29, 2006
81
US
I created the following ACL
~ access-list 102 deny icmp any any
~ I want to deny ICMP ping to my 2621 router on the public interface f0/0.
~~~~~~~
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#access-list 102 deny icmp any any
Router(config)#
~~~~~~
~ The ACL shows up in the running config.
~ When I try to apply the ACL to interface f0/0 I get an error.

~~~~~
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#access-list 102 deny icmp any any
Router(config)#int f0/0
Router(config-if)#access-group 102 in
^
% Invalid input detected at '^' marker.

Router(config-if)#
~~~~~

suggestions
 
Hello
That's simple!You are miss the "ip" key word in the command.

Router(config-if)#ip access-group 102 in

Regards
 
thank you, I feel pretty simple right now. :)
 
Don't worry---it took me 1/2 hour once to see that same mistake!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top