redistribute

Syntax

redistribute {connected | static} [route-map <route-map-name>]

no redistribute {connected | static} [route-map <route-map-name>]

Description

Redistributes routes originating from other protocols to OSPFv3.

The no form of this command disables redistributing routes originating from other protocols to OSPFv3.

Command context

config-ospfv3

Parameters

connected

Specifies redistributing connected routes (directly attached subnet or host) to OSPFv3.

static

Specifies redistributing static routes to OSPFv3.

route-map <route-map-name>

Specifies the name of a route map. To create a route map, use the route-map command.

Authority

Administrators or local user group members with execution rights for this command.

Examples

Redistributing routes to OSPFv3:

switch(config)# router ospfv3 1
switch(config-ospfv3-1)# redistribute bgp
switch(config-ospfv3-1)# redistribute connected
switch(config-ospfv3-1)# redistribute static
switch(config-ospfv3-1)# redistribute route-map static_networks

Disabling redistributing routes to OSPFv3:

switch(config)# router ospfv3 1
switch(config-ospfv3-1)# no redistribute bgp
switch(config-ospfv3-1)# no redistribute connected
switch(config-ospfv3-1)# no redistribute static
switch(config-ospfv3-1)# no redistribute route-map static_networks