Use a route policy to define how the switch Redistribute external routes from a specified source into an OSPF domain. The policy defines which route types the switch accepts and Redistribute.
accept adv-rtr {A.B.C.D}
accept adv-rtr {A.B.C.D} enable
accept adv-rtr {A.B.C.D} metric-type { type1 | type2 | any }
accept adv-rtr {A.B.C.D} route-map WORD<0-64>
default accept adv-rtr {A.B.C.D}
default accept adv-rtr {A.B.C.D} enable
default accept adv-rtr {A.B.C.D} metric-type
default accept adv-rtr {A.B.C.D} route-map
no accept adv-rtr {A.B.C.D}
no accept adv-rtr {A.B.C.D} enable
None
OSPF Router Configuration