protocols ospfv3 redistribute bgp
Sets the parameters for redistribution of Border Gateway Protocol (BGP) routes into OSPFv3.
Connected routes being redistributed into OSPFv3 are assigned a routing metric of 1 and a metric-type of 2. By default, no route map is applied to redistributed connected routes. The default tag value is 0.
- process-id
- An OSPFv3 process ID. Enter alphanumeric characters.
- metric
- The specified metric to connected routes being redistributed into OSPFv3. The range is 1 to 16. The default is 1.
- type
- The type of calculated cost. Supported values are 1 (internal cost is added to external cost) and 2 (only external cost is used). The default is 2.
- map-name
- A route map for which routes are redistributed.
- tag-value
- Tag value to use as a “match” value for controlling redistribution via route maps. Set a tag value. The tag value ranges from 0 to 2147483647. The default is 0.
Configuration mode
protocols {
ospfv3 {
process process-id {
redistribute {
bgp {
metric metric
metric-type type
route-map map-name
tag tag-value
}
}
}
}
}
Use this command to define the parameters for redistribution of BGP routes into OSPFv3.
Use the set form of this command to set BGP route redistribution parameters.
Use the delete form of this command to remove BGP route redistribution parameters.
Use the show form of this command to display BGP route redistribution configuration.