84 redistribute ospf, Redistribute ospf – PLANET XGS3-24042 User Manual
Page 676

37-315
Command Mode:
BGP Route Mode.
Usage Guide:
Route from other ways will be distributed into the BGP route table with this command and
transmitted to the neighbors.
Example:
The static route is introduced into BGP with this configuration and advertised to the neighbors.
Example:
Switch(config-router)# redistribute static
37.84 redistribute ospf
Command:
redistribute ospf [<process-id>] [route-map<word>]
no redistribute ospf [<process-id>]
Function:
To redistribute routing information form OSPF to BGP. The no form of this command will remove the
configuration.
Parameters:
process-id is the process ID of the OSPF, limited between 1 and 65535. If no process id is
specified, the default process id will be used.
route-map<word> is the pointer to the introduced routing map.
Default:
Not redistributed by default.
Command Mode:
BGP Configuration Mode.
Example:
To redistribute routing of OSPF v2 to BGP (as number is 1).
Switch(config)#router bgp 1
Switch (config-router)#redistribute ospf 2