cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
320
Views
0
Helpful
2
Replies

Redistributing static routes to OSPF

Leo_Stobbe
Level 1
Level 1

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

mohammedmahmoud
Level 11
Level 11

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.

View solution in original post

2 Replies 2

mohammedmahmoud
Level 11
Level 11

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.

mohammedmahmoud
Level 11
Level 11

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.

Review Cisco Networking products for a $25 gift card