The default-route-advertise summary cost command is applicable only to VPN, and the default route
is redistributed in a Type-3 LSA. The PE router will advertise the default route to the CE router.
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 are used to 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...
Enter system view
Enter OSPF view
Configure the default
parameters for
redistributed routes
(cost, route number, tag
and type)
Advertising a Host Route
Follow these steps to advertise a host route:
To do...
Enter system view
Enter OSPF view
Enter area view
Advertise a host route
Configuring OSPF Network Optimization
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, you need to consider the delay time for sending LSAs on interfaces.
Change the interval for SPF calculation to reduce resource consumption caused by frequent
network changes.
Use the command...
system-view
ospf [ process-id | router-id router-id |
vpn-instance instance-name ] *
default { cost cost | limit limit | tag tag
| type type } *
Use the command...
system-view
ospf [ process-id | router-id
router-id | vpn-instance
instance-name ] *
area area-id
host-advertise ip-address
cost
1-32
Remarks
—
—
Optional
By default, the default cost is 1,
default upper limit of routes
redistributed per time is 1000,
default tag is 1 and default type
of redistributed routes is
Type-2.
Remarks
—
—
—
Optional
Not advertised by default.