On Tue, Oct 21, 2008 at 10:36:04PM +, Marko Milivojevic wrote:
Here, I had a few minutes to play in the lab:
router bgp 100
address-family ipv4
redistribute connected route-map rc
no auto-summary
no synchronization
exit-address-family
!
ip prefix-list AAA seq 5 permit
i believe the OP wants to advertise these prefixes to his eBGP neighbors
w/ no-export set. this way, his provider(s) have the more specifics for
each site and his larger prefix is advertised to the world at large.
``A Framework for Inter-Domain Route Aggregation''
Is there a way to automatically match local (static, connected) IP
subnets and deny ospf/bgp routes? Something like:
route-map name permit 10
match connected
I use soft SHX or SXF.
We tried something like:
1. match route-type external
2. permit any
but it did not work. Thanks in advance
-nsp-
[EMAIL PROTECTED] On Behalf Of Grzegorz Janoszka
Sent: Tuesday, October 21, 2008 9:29 AM
To: cisco-nsp@puck.nether.net
Subject: [c-nsp] How to match local IP address?
Is there a way to automatically match local (static, connected) IP
subnets and deny ospf/bgp routes? Something like
David Prall wrote:
What exactly are you trying to do?
Redistribute connected and redistribute static only match those, no need for
a route-map. Or are you attempting to advertise these to a particular BGP
peer?
Announce connected network with no-export community - it may be lot of
smaller
Marko Milivojevic wrote:
How about something like this?
route-map Connected-Routes
set community no-export
!
router bgp XXX
address-family ipv4
redistribute connected route-map Connected-Routes
!
If you wish to assign community for only specific interfaces only, you
can do something like:
If you need to cover all ports, just apply the first route-map I
listed. That one will cover all connected routes...
Another approach, if your connected routes can be summarized is to
match based on that (prefix-lists, for example).
On Tue, Oct 21, 2008 at 15:14, Grzegorz Janoszka [EMAIL
To: David Prall
Cc: cisco-nsp@puck.nether.net
Subject: Re: [c-nsp] How to match local IP address?
David Prall wrote:
What exactly are you trying to do?
Redistribute connected and redistribute static only match those, no
need for
a route-map. Or are you attempting to advertise
David Prall wrote:
How are the connected prefixes getting into BGP?
Is it redis connected, network statements, or redis of IGP?
Should be able to set a community via route-map on a redistribution, I've
never tried NO-EXPORT though.
Is the below possible?
route-map redistribute-connected
Is the below possible?
route-map redistribute-connected permit 10
match ip address prefix-list ABC
set community no-export
!
router bgp XYZ
redistribute connected subnets route-map redistribute-connected
Is it possible to set the bgp community in the redistribute route-map?
It is
Here, I had a few minutes to play in the lab:
interface Loopback0
ip address 10.0.0.1 255.255.255.0
!
interface Loopback1
ip address 10.1.0.1 255.255.255.0
!
interface Loopback2
ip address 10.2.0.1 255.255.255.0
!
interface Loopback3
ip address 10.3.0.1 255.255.255.0
!
router bgp 100
bgp
11 matches
Mail list logo