Command Reference OSPFv2 Commands
Use this command to redistribute the external routing information. Use the no form of this command
to restore the default setting.
redistribute { connected | ospf process-id | rip | static } [ match { internal | external [ 1|2 ]
|nssa-external [ 1|2 ] } ] [ metric metric-value ] [ metric-type { 1|2 }] [ route-map route-map-name ]
[ subnets ] [ tag tag-value ]
no redistribute {| connected | ospf process-id | rip | static } [ match { internal | external [ 1|2 ] |
nssa-external [ 1|2 ]} ] [ metric metric-value ] [ metric-type { 1|2 }] [ route-map route-map-name ]
[ subnets ] [ tag tag-value ]
Redistribution from direct routes
Redistribution from an ospf instance specified in process-id in the
range from 1 to 65,535
Redistribution from static routes
Filters specified routes for configuring OSPF route redistribution. By
default, all the OSPF routes are redistributed.
Specifies the metric of an OSPF external LSA in the range from 0 to
16777214.
Sets the external routing type as E-1 or E-2.
Redistribution filter rule
Redistributes the routes of non standard networks.
Sets the tag value of the routes redistributed to the OSPF in the range
from 0 to 4294967295.
Redistribution configuration is not supported by default.
If you configure OSPF redistribution, all subtype routes of the instance are redistributed.
In other cases, all routings of this type are redistributed.
The default value of metric-type is E-2.
No route-map is associated by default.
After the command is configured, the router will become an ASBR, and the related routing information
is imported into the OSPF domain and broadcasted to other OSPF routers through type-5 LSAs.
When you configure OSPF router distribution without the match parameter, the OSPF routes of all
sub types are redistributed by default. Then the first configured match parameter is used as the