Correct.  While IGPs can be more flexible in the masking because they 
are just tagging interfaces, BGP cannot.  it must specifically match 
what you see with "show ip route (ip)".
HTH,
 
*Scott Morris*, CCIE/x4/ (R&S/ISP-Dial/Security/Service Provider) #4713,
JNCIE-M #153, JNCIS-ER, CISSP, et al.
JNCI-M, JNCI-ER
smorris_at_internetworkexpert.com
Internetwork Expert, Inc.
http://www.InternetworkExpert.com
Toll Free: 877-224-8987
Outside US: 775-826-4344
Knowledge is power.
Power corrupts.
Study hard and be Eeeeviiiil......
marish shah wrote:
> Thanks Mr.Scott and Mr.Bryan for ur reply.As I understand Network 
> command in bgp different then IGP in bgp we should match our network 
> command with interface.mean if I have interface loopback with /24 then 
> in network command mask should be 255.255.255.0 other wise it will 
> work.I'm right ?
> Because BGP import routes from RIB to its Local RIB ..
>
>
> Thanks.
>
> On Tue, May 12, 2009 at 5:35 PM, Scott Morris 
> <smorris_at_internetworkexpert.com 
> <mailto:smorris_at_internetworkexpert.com>> wrote:
>
>     Just to further clarify...  Even if you used the network command
>     with a /16 mask in other protocols it would not create an
>     all-inclusive route either.  That's the job of
>     summarization/aggregation to do that.
>     HTH,
>
>     Scott
>
>
>     marish shah wrote:
>
>         HI Expert,
>                        One Q, I'm doing one lab of bgp in this lab
>         there is one
>         task ( Advertise 155.1.0.0 with ,mask 255.255.0.0 to external
>         ebgp router)
>         now he did this thing through aggregate-address
>
>         R6 which is connected with BB1 .R1 in bgp 100 and BB1 in bgp 54
>         So on R6 configuration for advertise 155.1.0.0 255.255.0.0 to BB1
>
>         R6
>
>         neighbor 54.1.1.254 remote-as 54
>         aggregate-address 155.1.0.0 mask 255.255.0.0
>
>
>         So my Q is why he use this aggregate to advertise subnet .Y he
>         didn't use
>         network command ( network 155.1.0.0 mask 255.255.0.0 ) .
>
>         If this Q is silly  so plz forgive me but I really want to
>         know y he did'nt
>         do through this why.
>
>         Thanks.
>
>
>         Blogs and organic groups at http://www.ccie.net
>
>         _______________________________________________________________________
>         Subscription information may be found at:
>         http://www.groupstudy.com/list/CCIELab.html
Blogs and organic groups at http://www.ccie.net
Received on Tue May 12 2009 - 11:11:36 ART
This archive was generated by hypermail 2.2.0 : Mon Jun 01 2009 - 07:04:42 ART