86
Configure the default parameters for redistributed routes
You can configure default parameters, such as the cost, upper limit, tag and type for redistributed routes.
Tags indicate information related to protocols. For example, when redistributing BGP routes, OSPF uses
tags to identify AS IDs.
Follow these steps to configure the default parameters for redistributed routes:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
—
Configure the default
parameters for redistributed
routes (cost, route number, tag,
and type)
default
{
cost
cost
|
limit
limit
|
tag
tag
|
type
type
} *
Optional
The default cost is 1, the
default maximum number
of routes redistributed per
time is 1000, the default
tag is 1, and default type
of redistributed routes is
Type-2.
Advertising a host route
Follow these steps to advertise a host route:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter OSPF view
ospf
[
process-id
|
router-id
router-id
|
vpn-instance
vpn-instance-name
] *
—
Enter area view
area
area-id
—
Advertise a host route
host-advertise
ip-address cost
Optional
Not advertised by default.
Tuning and optimizing OSPF networks
You can optimize your OSPF network in the following ways:
•
Change OSPF packet timers to adjust the OSPF network convergence speed and network load. On
low-speed links, consider the delay time for sending LSAs.
•
Change the SPF calculation interval to reduce resource consumption caused by frequent network
changes.
•
Configure OSPF authentication to improve security.
•
Configure OSPF network management functions, such as binding OSPF MIB with a process,
sending trap information, and collecting log information.