3Com 10014299 Network Router User Manual


 
Configuring OSPF 437
Table 503 Configure Route Import for OSPF
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 Importing
External Routes
When the routes found by other routing protocols on the router are received by
OSPF as the external routing information of its own AS, some other parameters
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 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 ]
Operation Command
Configure the default cost value when
OSPF importing external routes
default import-route cost cost
Return to the default cost value when
OSPF importing external routes
undo default import-route cost
Configure the interval for OSPF importing
external routes
default import-route interval
seconds
Return to the default interval value for
OSPF importing external routes
undo default import-route interval
seconds
Configure the upper limit of routes that
OSPF can import
default import-route limit routes
Restore default value of routes that OSPF
can import
undo default import-route limit
Configure the default tag value when
OSPF importing external routes
default import-route tag tag
Return to the default tag value when OSPF
importing external routes
undo default import-route tag
Configure the default type when OSPF
importing external routes
default import-route type { 1 | 2 }
Return to the default route type when
OSPF importing external routes
undo default import-route type