Next: , Previous: , Up: OSPFv2   [Contents][Index]


7.6 Redistribute routes to OSPF

OSPF Command: redistribute (kernel|connected|static|rip|bgp)
OSPF Command: redistribute (kernel|connected|static|rip|bgp) route-map
OSPF Command: redistribute (kernel|connected|static|rip|bgp) metric-type (1|2)
OSPF Command: redistribute (kernel|connected|static|rip|bgp) metric-type (1|2) route-map word
OSPF Command: redistribute (kernel|connected|static|rip|bgp) metric <0-16777214>
OSPF Command: redistribute (kernel|connected|static|rip|bgp) metric <0-16777214> route-map word
OSPF Command: redistribute (kernel|connected|static|rip|bgp) metric-type (1|2) metric <0-16777214>
OSPF Command: redistribute (kernel|connected|static|rip|bgp) metric-type (1|2) metric <0-16777214> route-map word
OSPF Command: no redistribute (kernel|connected|static|rip|bgp)

Redistribute routes of the specified protocol or kind into OSPF, with the metric type and metric set if specified, filtering the routes using the given route-map if specified. Redistributed routes may also be filtered with distribute-lists, see ospf distribute-list.

Redistributed routes are distributed as into OSPF as Type-5 External LSAs into links to areas that accept external routes, Type-7 External LSAs for NSSA areas and are not redistributed at all into Stub areas, where external routes are not permitted.

Note that for connected routes, one may instead use passive-interface, see OSPF passive-interface.

OSPF Command: default-information originate
OSPF Command: default-information originate metric <0-16777214>
OSPF Command: default-information originate metric <0-16777214> metric-type (1|2)
OSPF Command: default-information originate metric <0-16777214> metric-type (1|2) route-map word
OSPF Command: default-information originate always
OSPF Command: default-information originate always metric <0-16777214>
OSPF Command: default-information originate always metric <0-16777214> metric-type (1|2)
OSPF Command: default-information originate always metric <0-16777214> metric-type (1|2) route-map word
OSPF Command: no default-information originate

Originate an AS-External (type-5) LSA describing a default route into all external-routing capable areas, of the specified metric and metric type. If the ’always’ keyword is given then the default is always advertised, even when there is no default present in the routing table.

OSPF Command: distribute-list NAME out (kernel|connected|static|rip|ospf
OSPF Command: no distribute-list NAME out (kernel|connected|static|rip|ospf

Apply the access-list filter, NAME, to redistributed routes of the given type before allowing the routes to redistributed into OSPF (see OSPF redistribute).

OSPF Command: default-metric <0-16777214>
OSPF Command: no default-metric
OSPF Command: distance <1-255>
OSPF Command: no distance <1-255>
OSPF Command: distance ospf (intra-area|inter-area|external) <1-255>
OSPF Command: no distance ospf

Next: , Previous: , Up: OSPFv2   [Contents][Index]