DGS-6604
m
redistribute
redistribute PROTOCOL [route-map MAP-NAME]
no redistribute PROTOCOL
Syntax Description
PROTOCOL
route-map MAP-
NAME
Default
Command Mode.
Usage Guideline
Example
Switch(config)# router bgp 8001
Switch(config-router)# redistribute ospf
Switch(config-router)# end
Switch#
You can verify your settings by entering the show ip protocols bgp command.
CLI Reference Guide
Use redistribute to redistribute routes from one routing domain into BGP. Use no
command to disable route redistribution.
Specifies the protocol whose routes are to be redistributed. It can be one of the
following keywords connected, ospf, rip static.
The static keyword means to redistribute IP static routes.
The connected keyword refers to routes that are established automatically by
virtue of having enabled IP on an interface.
(Optional) Specify the identifier of a route map used to filter the networks to be
redistributed. If not specified, all networks are advertised.
Route redistribution is disabled.
Router configuration
Address family configuration
The user can use the command to redistribute prefix from different
Note:
sources to BGP protocol.
The following example redistributes the OSPF process routes into BGP process.
redistribute
517