- A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
Re: Acess List question posted 07/26/2007
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]

Hi Subodh,
I think they are the same and indeed the router converts the second form
into the first one once you type it in.
But the meaning is not to deny traffic for any host but to deny traffic FROM
any host as this is a standard ACL.

r5(config)#access-list 1 deny

r5(config)#do show ip access-list
Standard IP access list 1
    10 deny   any

----- Original Message ----- 
From: <subodh.rawat@xxxxxxxxx>
To: <ccielab@xxxxxxxxxxxxxx>
Sent: Thursday, July 26, 2007 8:35 AM
Subject: Acess List question

> Just a question out of curiosity:
> Does "access-list 1 deny" and "access-list 1
> deny" has same effect? and they both
> will deny traffic for any host.
> I know in wild card 0 means match and 1 means ignore. Ideally they
> should be same statement.
> BR
> Subodh
> The information contained in this electronic message and any attachments
> this message are intended for the exclusive use of the addressee(s) and
> contain proprietary, confidential or privileged information. If you are
> the intended recipient, you should not disseminate, distribute or copy
> e-mail. Please notify the sender immediately and destroy all copies of
> message and any attachments.
> WARNING: Computer viruses can be transmitted via email. The recipient
> check this email and any attachments for the presence of viruses. The
> accepts no liability for any damage caused by any virus transmitted by
> email.
> _______________________________________________________________________
> Subscription information may be found at: