3com 5500-ei pwr Installation Instruction
4-21
Configuring OSPF to Redistribute External Routes
Follow these steps to configure OSPF to redistribute external routes:
To do...
Use the command...
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf [ process-id [ router-id
router-id ] ]
router-id ] ]
—
Configure OSPF to
redistribute routes from
another protocol
redistribute routes from
another protocol
import-route protocol [ process-id ]
[ cost value | type value | tag value |
route-policy route-policy-name ] *
[ cost value | type value | tag value |
route-policy route-policy-name ] *
Required
By default, OSPF does not
import the routing information
of other protocols.
import the routing information
of other protocols.
Configure OSPF to filter
outgoing routes
outgoing routes
filter-policy { acl-number | ip-prefix
ip-prefix-name } export [ protocol ]
ip-prefix-name } export [ protocol ]
Optional
By default, OSPF does not filter
advertised routes.
advertised routes.
Enable OSPF to import
the default route
the default route
default-route-advertise [ always |
cost value | type type-value |
route-policy route-policy-name ]*
cost value | type type-value |
route-policy route-policy-name ]*
Optional
By default, OSPF does not
import the default route.
import the default route.
Configure the default
parameters for
redistributed routes,
including cost, interval,
limit, tag, and type
parameters for
redistributed routes,
including cost, interval,
limit, tag, and type
default { cost value | interval
seconds | limit routes | tag tag | type
type } *
seconds | limit routes | tag tag | type
type } *
Optional
These parameters respectively
default to:
default to:
z
Cost: 1
z
Interval: 1 (second)
z
Limit: 1000
z
Tag: 1
z
Type: 2
z
The import-route command cannot import the default route. To import the default route, you must
use the default-route-advertise command.
z
The filtering of advertised routes by OSPF means that OSPF only converts the external routes
meeting the filter criteria into Type-5 or Type-7 LSAs and advertises them.
z
When enabling OSPF to import external routes, you can also configure the defaults of some
additional parameters, such as cost, limit, tag, and type. A route tag can be used to identify
protocol-related information.
OSPF Network Adjustment and Optimization
You can adjust and optimize an OSPF network in the following aspects:
z
By changing the OSPF packet timers, you can adjust the convergence speed of the OSPF network
and the network load brought by OSPF packets. On some low-speed links, you need to consider
the delay experienced when the interfaces transmit LSAs.