Redistributing static routes to OSPF

Answered Question
Apr 24th, 2007
User Badges:

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

Correct Answer by mohammedmahmoud about 10 years 6 days ago


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.

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
mohammedmahmoud Tue, 04/24/2007 - 06:35
User Badges:
  • Green, 3000 points or more


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.

Correct Answer
mohammedmahmoud Tue, 04/24/2007 - 06:37
User Badges:
  • Green, 3000 points or more


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.

Actions

This Discussion