Run the command set protocols ospf6 redistribute to redistribute routes from other sources and protocols through OSPF.The optional parameter vrf can be used to specify OSFPv3 instance in a particular VRF. If VRF is not defined then OSPFv2 instance takes effect for the default VRF. You can optionally specify OSPF metric for the routesOSPFv3. Users can add the route-map parameter to include a route map to filter routes before redistribution.
To delete this configuration, run the command delete protocols ospf6 redistribute.
...
Command Syntax
set protocols ospf6 [vrf <vrf-name>] redistribute {bgp|connected|kernel|static|table} [route-map<route-map>]
delete protocols ospf6 [vrf <vrf-name>] redistribute redistribute {bgp|connected|kernel|static|table} [route-map<route-map>]
Parameters
Parameter | Description |
Optional. Specifies the name of the VRF for the OSPFv3 instance.
bgp | Specify BGP routes for redistribution into OSPF. |
connected | Specifies the directly connected routes for redistribution. |
kernel | Specifies the kernel routes for redistribution. |
static | Specifies the static routes for redistribution. |
table |
Redistribute routes from table. | |
route-map<route-map> | Optional. Specifies a route map for filtering routes before redistribution. |
Example
- Configure OSPFv3 to redistribute BGP routes into OSPFv3 and apply route-map map1 for route filtering.
Code Block |
---|
admin@XorPlus# set protocols ospf6 vrfredistribute BLUEbgp redistributeroute-map bgpmap1 admin@Xorplus# commit |