redistribute static subnets command is used to redistribute static routes in OSPF, However static default route (ip route 0.0.0.0 0.0.0.0…) is not injected in to OSPF topology database. IF you want to redistribute static route in OSPF, following command should be used with in the router ospf configuration.
default-information originate always
Incase you issue above command without static route being configured, router will inject type 5 LSA for the default route in OSPF topology database.
When there is a major net that is subnetted, you need to use the
keyword subnet to redistribute protocols into OSPF. Without this keyword, OSPF
only redistributes major nets that are not subnetted.
留言列表