cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
415
Views
0
Helpful
1
Replies

Using route maps in route replication question

jskrawczyk
Level 1
Level 1

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

1 Reply 1

Nagendra Kumar Nainar
Cisco Employee
Cisco Employee

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card