Use a prefix list and attach this to your route map
ip prefix list PERMITDEFAULT permit 0.0.0.0/0
HTH
Marc
On Tue, Aug 2, 2011 at 8:29 AM, Joe Astorino <joeastorino1982_at_gmail.com>wrote:
> try this
>
> access-list 1 permit 0.0.0.0
>
>
> On Tue, Aug 2, 2011 at 7:35 AM, Kiran Parashare <kiran.ccie_at_gmail.com
> >wrote:
>
> > Hello Guys,
> >
> > Below config i made on the N7K-A , ebgp peering with N7K-B and N7K-B shd
> > receive only default routes but i can see default routes along with other
> > routes as well, dont know if any different config needs to do under ACL,
> > please suggest.
> >
> > N7K-A
> > router bgp 64522
> > template peer N7K
> > address-family ipv4 unicast
> > send-community
> > route-map B out
> > default-originate
> > next-hop-self
> > neighbor 10.10.120.4 remote-as 64521
> > inherit peer N7K
> > address-family ipv4 unicast
> >
> > !
> > route-map B
> > match ip address A
> > !
> > ip access-list A
> > permit ip host 0.0.0.0 host 0.0.0.0
> >
> > I tried deny any any also at end above.
> >
> > Under neighbor statement, there Address-family, can i config the
> route-map
> > over there??
> >
> > Regards, /Kiran
> >
> >
> > Blogs and organic groups at http://www.ccie.net
> >
> > _______________________________________________________________________
> > Subscription information may be found at:
> > http://www.groupstudy.com/list/CCIELab.html
> >
> >
> >
> >
> >
> >
> >
> >
>
>
> --
> Regards,
>
> Joe Astorino
> CCIE #24347
> Blog: http://astorinonetworks.com
>
> "He not busy being born is busy dying" - Dylan
>
>
> 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 Aug 02 2011 - 08:46:26 ART
This archive was generated by hypermail 2.2.0 : Thu Sep 01 2011 - 06:05:56 ART