From: Dmitry Volkov (dmitry.volkov@rogers.com)
Date: Tue Jan 25 2005 - 03:31:58 GMT-3
Is anybody see any issues with the config below ?
My point of intereset "route-map bgp-to-ospf permit 50"
First 4 instances of this bgp-to-ospf work fine
last one (50) I tried various matching: to match on community, as-path alone
and with prefix-list matching any -
it doesn't work well... tried 12.2.24a & 12.2.27 JS - maybe bug..
AGGREGATE is actualy matches aggregated prefix and only difference between
aggregates and other prefixes that should be matched on instance 50 -
aggegate originated from differnet AS and it's has Origin IGP
Is it legitimate at all to match on as-path or community when redistributing
BGP into OSPF ???
(irrelevant details are omitted, BGP is only external)
router ospf 4
log-adjacency-changes
redistribute bgp 4 subnets route-map bgp-to-ospf
!
router bgp 4
no synchronization
bgp log-neighbor-changes
neighbor 34.34.34.3 remote-as 2
neighbor 34.34.34.3 route-map test in
neighbor 34.34.34.23 remote-as 2
neighbor 34.34.34.23 default-originate
no auto-summary
!
ip community-list 1 permit 4:1
ip community-list 2 permit 4:2
ip community-list 3 permit 4:3
ip community-list 4 permit 4:4
ip community-list 5 permit 4:5
ip as-path access-list 1 permit _65030$
!
!
ip prefix-list AGGREGATE seq 5 permit 10.192.0.0/11 ge 16 le 16
!
ip prefix-list PERMIT-ANY seq 5 permit 0.0.0.0/0 le 32
route-map test permit 10
match community 2
set local-preference 300
!
route-map test permit 20
match community 1
set local-preference 250
!
route-map test permit 30
!
route-map bgp-to-ospf permit 10
match ip address prefix-list AGGREGATE
match community 2
set metric 1000
!
route-map bgp-to-ospf permit 20
match ip address prefix-list AGGREGATE
match community 1
set metric 2000
!
route-map bgp-to-ospf permit 30
match ip address prefix-list AGGREGATE
match community 3
set metric 3000
!
route-map bgp-to-ospf permit 40
match ip address prefix-list AGGREGATE
match community 4
set metric 4000
!
route-map bgp-to-ospf permit 50 <<----------------
match ip address prefix-list PERMIT-ANY
match as-path 1
match community 5
set metric 5000
What does this "debug ip ospf monitor" output mean ?
00:58:03: OSPF: Start redist-scanning
00:58:03: OSPF: Scan the RIB for both redistribution and translation
00:58:03: OSPF: End scanning, Elapsed time 28ms
Thanks
Dmitry
This archive was generated by hypermail 2.1.4 : Wed Feb 02 2005 - 22:10:25 GMT-3