config redistribute
Description: Configure redistribute settings.
config router ospf
config redistribute
config [connected | static]
set status [enable | disable]
set metric-type [1 | 2]
set metric <value>
set route-map <route-map name>
Sample command:
config router ospf
config redistribute
config connected
set status enable
set metric-type 2
set metric 10
set routemap redist-local-connected
end
config static
set status enable
set metric-type 2
set metric 10
set routemap redist-static
end
| Parameter | Description | Type | Size | Default |
|---|---|---|---|---|
|
status |
Enable/disable redistributing routes. |
|
|
|
|
set metric-type |
Specify the external link type to be used for the redistributed routes. The options are E1 and E2 (default). |
|
|
E2 |
|
set metric |
Used for the redistributed routes. |
integer |
1 - 16777214 |
10 |
|
set routemap |
Route map name. |
|
|
|