Re: Conditional Injection

From: Nick Griffin (nick.jon.griffin@gmail.com)
Date: Mon Nov 13 2006 - 01:30:33 ART


disregard, using the inject map helps. apologies

On 11/12/06, Nick Griffin <nick.jon.griffin@gmail.com> wrote:
>
> From the forum and cisco website, this config seems right, but I must be
> missing something. I can't seem to get R9 to inject the more specific /25.
> Can anyone help to point out the obvious?
>
> R9#sh ip bgp
>
> *> 80.1.1.0/24 192.168.97.7 0 0 700 i
>
> ip prefix-list INJECT seq 5 permit 80.1.1.0/25
> !
> ip prefix-list ROUTE seq 5 permit 80.1.1.0/24
> !
> ip prefix-list SOURCE seq 5 permit 192.168.97.7/32
>
> !
> route-map EXISTS permit 10
> match ip address prefix-list ROUTE
> match ip route-source prefix-list SOURCE
> !
> route-map ADVERTISE permit 10
> set ip address prefix-list INJECT
> !
> 9#sh run | i neighbor
> bgp log-neighbor-changes
> neighbor 192.168.97.7 remote-as 700
> neighbor 192.168.98.8 remote-as 800
> neighbor 192.168.98.8 advertise-map ADVERTISE exist-map EXISTS
> !
> BGP neighbor is 192.168.98.8, remote AS 800, external link
> BGP table version 2, neighbor version 2/0
> Condition-map EXISTS, Advertise-map ADVERTISE, status: Advertise
>
>
> R8#sh ip bgp
> BGP table version is 6, local router ID is 8.8.8.8
> Status codes: s suppressed, d damped, h history, * valid, > best, i -
> internal,
> r RIB-failure, S Stale
> Origin codes: i - IGP, e - EGP, ? - incomplete
>
> Network Next Hop Metric LocPrf Weight Path
> *> 80.1.1.0/24 192.168.98.9 0 900 700 i
>
> Thanks in advance



This archive was generated by hypermail 2.1.4 : Fri Dec 01 2006 - 08:05:46 ART