i have an ospf and some static routes on my router.
ip 172.16.1.1 255.255.255.0
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
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,