set protocols ospf6 redistribute
Run the command set protocols ospf6 redistribute to redistribute routes from other sources and protocols through OSPFv3. 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 {bgp|connected|kernel|static|table} [route-map<route-map>]
Parameters
Parameter | Description |
vrf <vrf-name> | 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.
admin@XorPlus# set protocols ospf6 redistribute bgp route-map map1 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.