11-09-2009 05:56 PM - edited 03-04-2019 06:39 AM
Hi,
In this below config, there are two points, I don't fully understand. Can someone provide the layman's terminology please?
Regards
Jeff
router ospf 100
log-adjacency-changes
router-id 172.31.50.2
redistribute bgp 65555 subnets route-map BGP_to_OSPF
default-information originate 250 <-- Not sure what this means
network 172.31.50.2 255.255.255.0 area 0
distribute-list Customer_Routes in
distance 10
access-list 12 permit 125.98.0.0 0.0.255.255
access-list 12 permit 11.48.178.0 0.0.0.255
ip access-list standard Customer_Routes
permit 172.30.1.0 0.0.0.255
permit 172.30.7.0 0.0.0.255
permit 172.30.8.0 0.0.0.255
permit 172.30.10.128 0.0.0.127
permit 172.30.192.0 0.0.15.255
permit 172.30.208.0 0.0.15.255
permit 172.30.224.0 0.0.15.255
permit 172.30.240.0 0.0.15.255
permit 172.30.244.0 0.0.3.255
permit 172.30.248.0 0.0.3.255
permit 172.30.252.0 0.0.3.255
permit 172.31.50.0 0.0.0.255
deny any
route-map BGP_to_OSPF deny 10 <-- Not sure what this means. Deny if a match of ACL12 and allow otherwise?
match ip address 12
route-map BGP_to_OSPF permit 20
OSPF Networks into BGP
*********************
router bgp 65555
network 172.31.50.0 mask 255.255.255.0
network 172.16.4.0 mask 255.255.255.0
network 172.30.1.0 mask 255.255.255.0
network 172.30.7.0 mask 255.255.255.0
network 172.30.8.0 mask 255.255.255.0
network 172.30.10.128 mask 255.255.255.128
network 172.30.192.0 mask 255.255.240.0
network 172.30.208.0 mask 255.255.240.0
network 172.30.224.0 mask 255.255.240.0
network 172.30.240.0 mask 255.255.240.0
network 172.30.244.0 mask 255.255.252.0
network 172.30.248.0 mask 255.255.252.0
network 172.30.252.0 mask 255.255.252.0
network 172.31.50.0 mask 255.255.255.0
11-09-2009 06:21 PM
Hi Jeff,
"default-information originate 250 <-- Not sure what this means "
"default-information originate" command followed by a numeric value is not a valid command.
This command basically enables OSPF to originate a default route (Type5) either conditionally or always.
Below are the available options,
R1(config-router)#default-information originate ?
always Always advertise default route
metric OSPF default metric
metric-type OSPF metric type for default routes
route-map Route-map reference
"route-map BGP_to_OSPF deny 10 <-- Not sure what this means. Deny if a match of ACL12 and allow otherwise?"
Yes. If a BGP prefix hits ACL 12, it will be denied and will not be redistributed into OSPF.
HTH,
Nagendra
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide