Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Redistributing static routes to OSPF

Hi,

i have an ospf and some static routes on my router.

int E0/0

ip 172.16.1.1 255.255.255.0

int E0/1

ip 192.168.1.1 255.255.255.0

router ospf 1

network 192.168.1.0 255.255.255.0 area 0

redistribute static metric 1

ip route 10.10.1.0 255.255.255.0 172.16.1.2

ip route 10.10.2.0 255.255.255.0 172.16.1.2

How can i summary static routes redistributed to OSPF? For example 10.10.0.0/16

p.s.I don't want to use OSPF with peer 172.16.1.2

thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Redistributing static routes to OSPF

Hi there,

Use "summary-address 10.10.0.0. 255.255.0.0", using this command for OSPF causes an OSPF autonomous system boundary router (ASBR) to advertise one external route as an aggregate for all redistributed routes that are covered by the address. For OSPF, this command summarizes only routes from other routing protocols that are being redistributed into OSPF.

HTH, please rate if it does,

Mohammed Mahmoud.

2 REPLIES

Re: Redistributing static routes to OSPF

Hi there,

Use "summary-address 10.10.0.0. 255.255.0.0", using this command for OSPF causes an OSPF autonomous system boundary router (ASBR) to advertise one external route as an aggregate for all redistributed routes that are covered by the address. For OSPF, this command summarizes only routes from other routing protocols that are being redistributed into OSPF.

HTH, please rate if it does,

Mohammed Mahmoud.

Re: Redistributing static routes to OSPF

Hi there,

Use "summary-address 10.10.0.0. 255.255.0.0", using this command for OSPF causes an OSPF autonomous system boundary router (ASBR) to advertise one external route as an aggregate for all redistributed routes that are covered by the address. For OSPF, this command summarizes only routes from other routing protocols that are being redistributed into OSPF.

HTH, please rate if it does,

Mohammed Mahmoud.

117
Views
0
Helpful
2
Replies