Extended ACL with distribute list

From: SHARMA,MOHIT (HP-Germany,ex1) (mohit.sharma@hp.com)
Date: Tue Jun 17 2003 - 18:01:13 GMT-3


HI All,

Going thru the PArkhurst BGP book, found an example for the acl while using
BGP distribute list-
According to the book to match the aggregate 172.16.0.0 255.255.252.0, you
use-

access-list 100 permit 172.16.0.0 0.0.3.255 255.255.252.0 0.0.0.0

IS this really right????????

Can I also use -

access-list 100 permit 172.16.0.0 0.0.0.255 255.255.252.0 0.0.0.0

Why do I need a 0.0.3.255 and not a complete 0.0.0.0 to match the network??

Also will these work as well-

access-list 100 permit host 172.16.0.0 host 255.255.252.0

or

prefix-list seq 5 permit 172.16.0.0/22.

PLease do help.

Thanks as always.

Smiles,

Mohit.____________________________________________________________________

****** _/ ****** | Mohit Sharma
***** _/ ***** | Network Operations Engineer
**** _/_/_/ _/_/_/ **** | HP Operations
**** _/ _/ _/ _/ **** |
**** _/ _/ _/_/_/ **** |
***** _/ ***** |
****** ******* | email: mohit_sharma@hp.com
                              |
 i n v e n t |



This archive was generated by hypermail 2.1.4 : Fri Jul 04 2003 - 11:10:59 GMT-3