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

Page 676

Advertising
background image


37-315

<ROUTES>: Route source or protocol, including: connected, ISIS, kernel, OSPF, RIP, static, etc.

<WORD>: Name of route map.

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

Advertising
This manual is related to the following products: