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.
bgpSpecify BGP routes for redistribution into OSPF.
connectedSpecifies the directly connected routes for redistribution.
kernelSpecifies the kernel routes for redistribution.
staticSpecifies the static routes for redistribution.
tableRedistribute 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.