GroupStudy.com GroupStudy.com - 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.
Bit.

r5(config)#access-list 1 deny 255.255.255.255 255.255.255.255

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 0.0.0.0 255.255.255.255" and "access-list 1
> deny 255.255.255.255 255.255.255.255" 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
to
> this message are intended for the exclusive use of the addressee(s) and
may
> contain proprietary, confidential or privileged information. If you are
not
> the intended recipient, you should not disseminate, distribute or copy
this
> e-mail. Please notify the sender immediately and destroy all copies of
this
> message and any attachments.
>
> WARNING: Computer viruses can be transmitted via email. The recipient
should
> check this email and any attachments for the presence of viruses. The
company
> accepts no liability for any damage caused by any virus transmitted by
this
> email.
>
> www.wipro.com
>
> _______________________________________________________________________
> Subscription information may be found at:
> http://www.groupstudy.com/list/CCIELab.html