Configuring OSPF 437

Table 503 Configure Route Import for OSPF

 

 

Operation

Command

 

 

Configure route import for OSPF

import-route protocol [ cost cost ] [

 

type 1 2 ] [ tag tag-value] [

 

route-policy policy-name]

 

 

Cancel route distribution for OSPF

undo import-route protocol [ cost

 

cost ] [ type 1 2 ] [ tag tag-value

 

] [ route-policy policy-name]

 

 

By default, OSPF does not import routes from other domains into the routing table.

The protocol attribute specifies the source routing domain that can be imported.

At present, OSPF can import routes domain such as connected, static, RIP, and

BGP.

See“Configuring Route Import for OSPF” for the details of routing import.

Configuring Parameters When the routes found by other routing protocols on the router are received by when Importing OSPF as the external routing information of its own AS, some other parameters External Routes are needed, including the default cost and default tag of the route. Router tag can

be used to identify the information related to the protocol, such as the number OSPF uses as the AS number when receiving BGP protocol.

OSPF specifies two types of cost selection modes of external routing information in the protocol. You can configure receiving the default cost type of the route.

Perform the following configurations in OSPF view.

Table 504 Configure Parameters When Importing External Routes

Operation

Command

 

 

Configure the default cost value when

default import-route cost cost

OSPF importing external routes

 

 

 

Return to the default cost value when

undo default import-route cost

OSPF importing external routes

 

 

 

Configure the interval for OSPF importing

default import-route interval

external routes

seconds

 

 

Return to the default interval value for

undo default import-route interval

OSPF importing external routes

seconds

 

 

Configure the upper limit of routes that

default import-route limit routes

OSPF can import

 

 

 

Restore default value of routes that OSPF

undo default import-route limit

can import

 

 

 

Configure the default tag value when

default import-route tag tag

OSPF importing external routes

 

 

 

Return to the default tag value when OSPF

undo default import-route tag

importing external routes

 

 

 

Configure the default type when OSPF

default import-route type { 1 2 }

importing external routes

 

 

 

Return to the default route type when

undo default import-route type

OSPF importing external routes

 

 

 

Page 441
Image 441
3Com 10014299 manual Configure Route Import for Ospf, Configure Parameters When Importing External Routes